[INFO] fetching crate py-spy-for-datakit 0.3.16... [INFO] testing py-spy-for-datakit-0.3.16 against 1.90.0 for beta-1.91-3 [INFO] extracting crate py-spy-for-datakit 0.3.16 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config [INFO] started tweaking crates.io crate py-spy-for-datakit 0.3.16 [INFO] finished tweaking crates.io crate py-spy-for-datakit 0.3.16 [INFO] tweaked toml for crates.io crate py-spy-for-datakit 0.3.16 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate py-spy-for-datakit 0.3.16 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate py-spy-for-datakit 0.3.16 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fastrand v1.8.0 [INFO] [stderr] Downloaded termios v0.3.3 [INFO] [stderr] Downloaded ryu v1.0.10 [INFO] [stderr] Downloaded bytemuck v1.11.0 [INFO] [stderr] Downloaded serde_derive v1.0.140 [INFO] [stderr] Downloaded crossbeam-channel v0.5.6 [INFO] [stderr] Downloaded rgb v0.8.33 [INFO] [stderr] Downloaded os_str_bytes v6.2.0 [INFO] [stderr] Downloaded clap_complete v3.2.3 [INFO] [stderr] Downloaded crossbeam-utils v0.8.11 [INFO] [stderr] Downloaded ipnet v2.5.1 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.42.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.42.0 [INFO] [stderr] Downloaded libc v0.2.126 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.42.0 [INFO] [stderr] Downloaded h2 v0.3.15 [INFO] [stderr] Downloaded libm v0.2.2 [INFO] [stderr] Downloaded goblin v0.5.3 [INFO] [stderr] Downloaded inferno v0.11.7 [INFO] [stderr] Downloaded tokio-util v0.7.4 [INFO] [stderr] Downloaded mach_o_sys v0.1.1 [INFO] [stderr] Downloaded nix v0.24.2 [INFO] [stderr] Downloaded quick-xml v0.23.0 [INFO] [stderr] Downloaded rustls v0.20.7 [INFO] [stderr] Downloaded hyper v0.14.23 [INFO] [stderr] Downloaded object v0.29.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.42.0 [INFO] [stderr] Downloaded webpki-roots v0.22.5 [INFO] [stderr] Downloaded bumpalo v3.11.1 [INFO] [stderr] Downloaded futures-util v0.3.25 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.42.0 [INFO] [stderr] Downloaded mio v0.8.5 [INFO] [stderr] Downloaded reqwest v0.11.12 [INFO] [stderr] Downloaded socket2 v0.4.7 [INFO] [stderr] Downloaded proc-macro2 v1.0.42 [INFO] [stderr] Downloaded clap v3.2.15 [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded unicode-ident v1.0.2 [INFO] [stderr] Downloaded ctrlc v3.2.2 [INFO] [stderr] Downloaded console v0.15.1 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.42.0 [INFO] [stderr] Downloaded tokio v1.21.2 [INFO] [stderr] Downloaded indicatif v0.16.2 [INFO] [stderr] Downloaded clap_derive v3.2.15 [INFO] [stderr] Downloaded addr2line v0.18.0 [INFO] [stderr] Downloaded libproc v0.12.0 [INFO] [stderr] Downloaded memmap v0.7.0 [INFO] [stderr] Downloaded web-sys v0.3.60 [INFO] [stderr] Downloaded glob v0.3.0 [INFO] [stderr] Downloaded clang-sys v1.3.3 [INFO] [stderr] Downloaded read-process-memory v0.1.4 [INFO] [stderr] Downloaded futures-channel v0.3.25 [INFO] [stderr] Downloaded windows_i686_gnu v0.42.0 [INFO] [stderr] Downloaded dashmap v5.3.4 [INFO] [stderr] Downloaded num-format v0.4.0 [INFO] [stderr] Downloaded scroll_derive v0.11.0 [INFO] [stderr] Downloaded which v4.2.5 [INFO] [stderr] Downloaded libproc v0.10.0 [INFO] [stderr] Downloaded mach2 v0.4.1 [INFO] [stderr] Downloaded futures-io v0.3.25 [INFO] [stderr] Downloaded futures-sink v0.3.25 [INFO] [stderr] Downloaded hyper-rustls v0.23.1 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.33 [INFO] [stderr] Downloaded anyhow v1.0.58 [INFO] [stderr] Downloaded libloading v0.7.3 [INFO] [stderr] Downloaded proc-maps v0.2.1 [INFO] [stderr] Downloaded futures-core v0.3.25 [INFO] [stderr] Downloaded once_cell v1.13.0 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] [stderr] Downloaded serde v1.0.140 [INFO] [stderr] Downloaded serde_json v1.0.82 [INFO] [stderr] Downloaded miniz_oxide v0.5.3 [INFO] [stderr] Downloaded either v1.7.0 [INFO] [stderr] Downloaded remoteprocess v0.4.10 [INFO] [stderr] Downloaded futures-task v0.3.25 [INFO] [stderr] Downloaded itoa v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2a2822323e114390889d14867eccc06ba945fb63db0705abdbe30410ec98fc9 [INFO] running `Command { std: "docker" "start" "-a" "b2a2822323e114390889d14867eccc06ba945fb63db0705abdbe30410ec98fc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2a2822323e114390889d14867eccc06ba945fb63db0705abdbe30410ec98fc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2a2822323e114390889d14867eccc06ba945fb63db0705abdbe30410ec98fc9", kill_on_drop: false }` [INFO] [stdout] b2a2822323e114390889d14867eccc06ba945fb63db0705abdbe30410ec98fc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41920b0142667f73a0b823ca2453889ce055f2eb8619f91282b80c47e9ca0bcd [INFO] running `Command { std: "docker" "start" "-a" "41920b0142667f73a0b823ca2453889ce055f2eb8619f91282b80c47e9ca0bcd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rustls v0.20.7 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling os_str_bytes v6.2.0 [INFO] [stderr] Compiling cpp_demangle v0.3.5 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling sys-info v0.9.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling proc-maps v0.2.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling remoteprocess v0.4.10 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling bytemuck v1.11.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling nix v0.24.2 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling console v0.15.1 [INFO] [stderr] Compiling rgb v0.8.33 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling dashmap v5.3.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling read-process-memory v0.1.4 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Compiling num-format v0.4.0 [INFO] [stderr] Compiling quick-xml v0.23.0 [INFO] [stderr] Compiling py-spy-for-datakit v0.3.16 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling ipnet v2.5.1 [INFO] [stderr] Compiling str_stack v0.1.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling ctrlc v3.2.2 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling clap_derive v3.2.15 [INFO] [stderr] Compiling scroll_derive v0.11.0 [INFO] [stderr] Compiling webpki-roots v0.22.5 [INFO] [stderr] Compiling scroll v0.11.0 [INFO] [stderr] Compiling addr2line v0.18.0 [INFO] [stderr] Compiling lru v0.7.8 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling goblin v0.5.3 [INFO] [stderr] Compiling clap v3.2.15 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling clap_complete v3.2.3 [INFO] [stderr] Compiling inferno v0.11.7 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling hyper-rustls v0.23.1 [INFO] [stderr] Compiling reqwest v0.11.12 [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/lib.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/lib.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/config.rs:155:15 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/config.rs:344:15 [INFO] [stdout] | [INFO] [stdout] 344 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/config.rs:346:15 [INFO] [stdout] | [INFO] [stdout] 346 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/config.rs:348:15 [INFO] [stdout] | [INFO] [stdout] 348 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/config.rs:350:15 [INFO] [stdout] | [INFO] [stdout] 350 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/config.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | if cfg!(unwind) { [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/binary_parser.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(all(target_os="linux", unwind))] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(all(target_os="linux", unwind))] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:358:38 [INFO] [stdout] | [INFO] [stdout] 358 | #[cfg(all(target_os="linux", not(unwind)))] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:363:34 [INFO] [stdout] | [INFO] [stdout] 363 | #[cfg(all(target_os="linux", unwind))] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:439:34 [INFO] [stdout] | [INFO] [stdout] 439 | #[cfg(all(target_os="linux", unwind))] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:279:19 [INFO] [stdout] | [INFO] [stdout] 279 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/utils.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_python_version` is never used [INFO] [stdout] --> src/python_spy.rs:537:8 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn resolve_python_version(pid: Pid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/python_interpreters.rs:412:36 [INFO] [stdout] | [INFO] [stdout] 412 | let line_delta: i8 = unsafe { std::mem::transmute(table[i + 1]) }; [INFO] [stdout] | -------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/config.rs:155:15 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/config.rs:344:15 [INFO] [stdout] | [INFO] [stdout] 344 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/config.rs:346:15 [INFO] [stdout] | [INFO] [stdout] 346 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/config.rs:348:15 [INFO] [stdout] | [INFO] [stdout] 348 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/config.rs:350:15 [INFO] [stdout] | [INFO] [stdout] 350 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/config.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | if cfg!(unwind) { [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/binary_parser.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(all(target_os="linux", unwind))] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(all(target_os="linux", unwind))] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:358:38 [INFO] [stdout] | [INFO] [stdout] 358 | #[cfg(all(target_os="linux", not(unwind)))] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:363:34 [INFO] [stdout] | [INFO] [stdout] 363 | #[cfg(all(target_os="linux", unwind))] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:439:34 [INFO] [stdout] | [INFO] [stdout] 439 | #[cfg(all(target_os="linux", unwind))] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/python_spy.rs:279:19 [INFO] [stdout] | [INFO] [stdout] 279 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unwind` [INFO] [stdout] --> src/utils.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(unwind)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `panic = "unwind"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unwind)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unwind)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `channel_sender` is never read [INFO] [stdout] --> src/main.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | channel_sender = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filename` and `offset` are never read [INFO] [stdout] --> src/binary_parser.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BinaryInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 12 | pub filename: std::path::PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub offset: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `python_filename` and `version_string` are never read [INFO] [stdout] --> src/python_spy.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct PythonSpy { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub python_filename: std::path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | pub version_string: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/python_interpreters.rs:412:36 [INFO] [stdout] | [INFO] [stdout] 412 | let line_delta: i8 = unsafe { std::mem::transmute(table[i + 1]) }; [INFO] [stdout] | -------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcy0zTWJ/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libenv_logger-16d884974f7c596b,libhumantime-05b80b6cd1fafc41,libtempfile-7253c2b638dd018d,libfastrand-1bc7c4ceb01665bd,libremove_dir_all-1d320067d79b994a,libctrlc-233178abdcff1574,libsys_info-fc2a69cb261de23f,libclap_complete-a3d4ebaca37a7684,libindicatif-97bfef61e052e64f,libnumber_prefix-3e2f4c7b9fa4f802,libreqwest-3e9069fcfb0c4cdf,librustls_pemfile-3e6f6faac744678c,libhyper_rustls-9c0d404dc683d2cc,libwebpki_roots-7dedf702e04058c6,libipnet-fc86eb427a1f2d66,libtokio_rustls-8735ddaee1332b89,libserde_urlencoded-4dd7981e52889bff,libencoding_rs-d9651613fed21a82,libbase64-d808d36ac308abb0,libmime_guess-55553aa4623afce1,libunicase-ec4b785b64214873,libmime-087a549b9e579a63,librustls-efafd2cad3320819,libsct-032754d4ed3ec575,libwebpki-61ccea1934717651,libring-b1d6ce4d938e07de,libspin-6113108d3fa2f8ba,libuntrusted-6400285ed815eed6,libhyper-d60cc8eb6669cf5b,libwant-05f77327a1832aeb,libtry_lock-cced3256de414948,libhttparse-3b2cd78e2f069b11,libh2-32225e1489909ff5,libtokio_util-23275325bf1bb110,libfutures_sink-6a229273749d0526,libtower_service-3d53522805590912,libtracing-1a36cb4e8e8c74f9,libtracing_core-ed8124b3392e2364,libfutures_channel-12f24e05c1f66033,libtokio-b979fc1a1b97ec6e,libsocket2-49424fdbf10dea33,libmio-2eb0cae5acc1d42f,libhttp_body-95eb3d0f92bfee0c,libfutures_util-859d07d6a3416336,libfutures_io-b4acc6471c8028c2,libslab-63f2b64df68c69d5,libpin_project_lite-b698864a218e1545,libfutures_task-80e97adbb7bbe18f,libpin_utils-45ba7e7cff7aa459,libfutures_core-2fafd9bc11478e91,liburl-05fe0340c2ce1b85,libidna-758b52716c84ea12,libunicode_normalization-76e12a16785ec0a5,libtinyvec-38ac420739842d93,libtinyvec_macros-86c344b117a07e9b,libunicode_bidi-2a57135a1984eeb9,libform_urlencoded-710af7f14b2a9d5a,libpercent_encoding-4aedcef6ac1270cc,libhttp-fe52ad75fffd2879,libbytes-86af73f0666a15c0,libfnv-773757b135178300,libchrono-2589f95db1cfc3a5,libnum_integer-91e5615d4d696bf9,libtime-380b1939976c8d43,librand_distr-0391d83d75217fd5,libnum_traits-1095e240aabbbe19,liblibm-04caa5491d83ec12,librand-45b1d998e265c90a,librand_chacha-9f20aef6eb9bc9a9,libppv_lite86-414d844012b69e5c,librand_core-0026e128981b8cd6,libserde_json-5680ca4c2c34f85f,libryu-8d294ce01c48a01c,libserde-5725781c80eccbbc,libinferno-5476304dea0a76ed,libitoa-82e10f81f95b1372,libnum_cpus-c8cb2ddfebe4a0c5,libcrossbeam_channel-1bf0cbbd4ad986c4,libcrossbeam_utils-b79aab64738e8e56,libnum_format-0039fb22775d1478,libitoa-bd2ce4d4f7978244,libarrayvec-3eee2c33c7741dfc,libnodrop-7ead28b11613fbda,libstr_stack-86d46f9ea0a1112a,libquick_xml-4eb8f23aa7f4a1b6,librgb-d7ca193115b7773a,libbytemuck-d71da1e4d3a14668,libdashmap-f9e97fdf9339551e,liblock_api-653c6edcedea062f,libscopeguard-ff6c05979f5d3a08,libparking_lot_core-031613edfee89b3c,libtermios-a9028b2c8165f0c0,liblru-1bc1f121bcbce9de,libconsole-670849d27d640c85,libunicode_width-d0b0b3b6903738b9,libremoteprocess-b550d9c460d99013,libregex-0be3fc9450f765b6,libaho_corasick-c2ccfb3315903bd7,libregex_syntax-934611cebb717876,libproc_maps-e4795e274bab76c3,libread_process_memory-6d8f22ad7dd23989,libnix-d1df3bdd9a73ee4a,liblazy_static-ab9a3dc8def9ba85,libgoblin-47bb8b8da328f5de,libplain-38e8da250b2c69f0,libscroll-ee6f04cb155659db,libaddr2line-261318b23f33b954,libsmallvec-43ec19cf2a1ec9c3,librustc_demangle-dcbf7e20d32064ca,libgimli-28d4d383cf8f543b,libstable_deref_trait-0ed3f71e58712363,libfallible_iterator-3ec5b38cc61c2e63,libcpp_demangle-d782069d56dc46df,libobject-fc590e6126d2561b,libflate2-4a9d2b873cb9495c,libminiz_oxide-12309ff73464f1ac,libadler-2dca53ea7e04a2af,libcrc32fast-b517e1e1bff57ec0,libmemchr-233a2862461d83c1,libmemmap-63e951e4f508d25a,libclap-af4d658952bccdb3,libatty-39155c2cff51c7bc,libstrsim-d159bff5f9d8c305,libtermcolor-252b8acee0601bf1,libtextwrap-2d8acf540186be0a,libterminal_size-ad2077263b239bfe,libindexmap-536965161c47b3f6,libhashbrown-40fc93d19a8abe02,libahash-a45b0992e5a9d029,libgetrandom-a2a140d0d75b5dcb,liblibc-aa5baf952c7deac2,libclap_lex-ffc44fc0da01a862,libos_str_bytes-772e75b58a4e0465,libbitflags-3333d968e5f279ee,libonce_cell-a11e76f2e6ede7f8,liblog-bccb58a67ea7a60c,libcfg_if-3183e62f61f23a61,libanyhow-51bad137a82cf123}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lc" "-lunwind" "-lunwind-ptrace" "-lunwind-x86_64" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcy0zTWJ/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/ring-bdd12a3498a2465f/out" "-L" "/opt/rustwide/target/debug/build/sys-info-42928a79b563b10a/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/py_spy_for_datakit-bb41630a2c2ad244" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined reference: lzma_stream_buffer_decode [INFO] [stdout] >>> referenced by /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libunwind-ptrace.so (disallowed by --no-allow-shlib-undefined) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined reference: lzma_index_uncompressed_size [INFO] [stdout] >>> referenced by /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libunwind-ptrace.so (disallowed by --no-allow-shlib-undefined) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined reference: lzma_index_end [INFO] [stdout] >>> referenced by /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libunwind-ptrace.so (disallowed by --no-allow-shlib-undefined) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined reference: lzma_index_buffer_decode [INFO] [stdout] >>> referenced by /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libunwind-ptrace.so (disallowed by --no-allow-shlib-undefined) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined reference: lzma_stream_footer_decode [INFO] [stdout] >>> referenced by /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libunwind-ptrace.so (disallowed by --no-allow-shlib-undefined) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined reference: lzma_index_size [INFO] [stdout] >>> referenced by /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libunwind-ptrace.so (disallowed by --no-allow-shlib-undefined) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `py-spy-for-datakit` (bin "py-spy-for-datakit") due to 1 previous error; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "41920b0142667f73a0b823ca2453889ce055f2eb8619f91282b80c47e9ca0bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41920b0142667f73a0b823ca2453889ce055f2eb8619f91282b80c47e9ca0bcd", kill_on_drop: false }` [INFO] [stdout] 41920b0142667f73a0b823ca2453889ce055f2eb8619f91282b80c47e9ca0bcd