Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to parse compiler artifact output on Rust 1.48.0 #212

Closed
messense opened this issue Nov 20, 2022 · 1 comment · Fixed by #213
Closed

Failed to parse compiler artifact output on Rust 1.48.0 #212

messense opened this issue Nov 20, 2022 · 1 comment · Fixed by #213

Comments

@messense
Copy link
Contributor

{
  "reason": "compiler-artifact",
  "package_id": "pyo3-ffi 0.17.3 (path+file:///home/runner/work/pyo3/pyo3/pyo3-ffi)",
  "target": {
    "kind": [
      "lib"
    ],
    "crate_types": [
      "lib"
    ],
    "name": "pyo3-ffi",
    "src_path": "/home/runner/work/pyo3/pyo3/pyo3-ffi/src/lib.rs",
    "edition": "2018",
    "doctest": true,
    "test": true
  },
  "profile": {
    "opt_level": "0",
    "debuginfo": 2,
    "debug_assertions": true,
    "overflow_checks": true,
    "test": false
  },
  "features": [
    "default",
    "extension-module"
  ],
  "filenames": [
    "/home/runner/work/pyo3/pyo3/target/x86_64-unknown-linux-gnu/debug/deps/libpyo3_ffi-20b19129a10dabc9.rlib",
    "/home/runner/work/pyo3/pyo3/target/x86_64-unknown-linux-gnu/debug/deps/libpyo3_ffi-20b19129a10dabc9.rmeta"
  ],
  "executable": null,
  "fresh": false
}

The above json doesn't contain the manifest-path field, after #195 it can't be parsed into a Message::Artifact and becomes Message::TextLine.

bors bot added a commit to PyO3/maturin that referenced this issue Nov 20, 2022
1279: Downgrade cargo_metadata to 0.15.0 r=messense a=messense

See oli-obk/cargo_metadata#212

Co-authored-by: messense <messense@icloud.com>
@oli-obk
Copy link
Owner

oli-obk commented Nov 21, 2022

published as 0.15.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants