[INFO] fetching crate py-spy-for-datakit 0.3.16... [INFO] testing py-spy-for-datakit-0.3.16 against 1.91.0 for beta-1.92-2 [INFO] extracting crate py-spy-for-datakit 0.3.16 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate py-spy-for-datakit 0.3.16 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.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.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sys-info v0.9.1 [INFO] [stderr] Downloaded termios v0.3.3 [INFO] [stderr] Downloaded ryu v1.0.10 [INFO] [stderr] Downloaded itoa v1.0.2 [INFO] [stderr] Downloaded memmap v0.7.0 [INFO] [stderr] Downloaded cc v1.0.73 [INFO] [stderr] Downloaded time v0.1.44 [INFO] [stderr] Downloaded peeking_take_while v0.1.2 [INFO] [stderr] Downloaded console v0.15.1 [INFO] [stderr] Downloaded either v1.7.0 [INFO] [stderr] Downloaded which v4.2.5 [INFO] [stderr] Downloaded libproc v0.10.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.36.1 [INFO] [stderr] Downloaded bytemuck v1.11.0 [INFO] [stderr] Downloaded scroll_derive v0.11.0 [INFO] [stderr] Downloaded scroll v0.11.0 [INFO] [stderr] Downloaded os_str_bytes v6.2.0 [INFO] [stderr] Downloaded lru v0.7.8 [INFO] [stderr] Downloaded ctrlc v3.2.2 [INFO] [stderr] Downloaded clap_complete v3.2.3 [INFO] [stderr] Downloaded parking_lot_core v0.9.3 [INFO] [stderr] Downloaded flate2 v1.0.24 [INFO] [stderr] Downloaded anyhow v1.0.58 [INFO] [stderr] Downloaded rustls-pemfile v1.0.1 [INFO] [stderr] Downloaded serde_derive v1.0.140 [INFO] [stderr] Downloaded cpp_demangle v0.3.5 [INFO] [stderr] Downloaded indicatif v0.16.2 [INFO] [stderr] Downloaded clap_derive v3.2.15 [INFO] [stderr] Downloaded lock_api v0.4.7 [INFO] [stderr] Downloaded windows-sys v0.36.1 [INFO] [stderr] Downloaded num-format v0.4.0 [INFO] [stderr] Downloaded rgb v0.8.33 [INFO] [stderr] Downloaded reqwest v0.11.12 [INFO] [stderr] Downloaded str_stack v0.1.0 [INFO] [stderr] Downloaded inferno v0.11.7 [INFO] [stderr] Downloaded clap v3.2.15 [INFO] [stderr] Downloaded webpki-roots v0.22.5 [INFO] [stderr] Downloaded web-sys v0.3.60 [INFO] [stderr] Downloaded windows_i686_gnu v0.36.1 [INFO] [stderr] Downloaded smallvec v1.9.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.36.1 [INFO] [stderr] Downloaded miniz_oxide v0.5.3 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] [stderr] Downloaded slab v0.4.7 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.33 [INFO] [stderr] Downloaded rustls v0.20.7 [INFO] [stderr] Downloaded nom v7.1.1 [INFO] [stderr] Downloaded mach_o_sys v0.1.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.21 [INFO] [stderr] Downloaded windows_i686_msvc v0.36.1 [INFO] [stderr] Downloaded addr2line v0.18.0 [INFO] [stderr] Downloaded plain v0.2.3 [INFO] [stderr] Downloaded nix v0.24.2 [INFO] [stderr] Downloaded quick-xml v0.23.0 [INFO] [stderr] Downloaded libproc v0.12.0 [INFO] [stderr] Downloaded indexmap v1.9.1 [INFO] [stderr] Downloaded tokio-rustls v0.23.4 [INFO] [stderr] Downloaded once_cell v1.13.0 [INFO] [stderr] Downloaded winreg v0.10.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.42 [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded unicode-ident v1.0.2 [INFO] [stderr] Downloaded terminal_size v0.1.17 [INFO] [stderr] Downloaded textwrap v0.15.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.11 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.36.1 [INFO] [stderr] Downloaded dashmap v5.3.4 [INFO] [stderr] Downloaded gimli v0.26.2 [INFO] [stderr] Downloaded libloading v0.7.3 [INFO] [stderr] Downloaded encoding_rs v0.8.31 [INFO] [stderr] Downloaded goblin v0.5.3 [INFO] [stderr] Downloaded regex-syntax v0.6.27 [INFO] [stderr] Downloaded futures-util v0.3.25 [INFO] [stderr] Downloaded tokio v1.21.2 [INFO] [stderr] Downloaded glob v0.3.0 [INFO] [stderr] Downloaded object v0.29.0 [INFO] [stderr] Downloaded clang-sys v1.3.3 [INFO] [stderr] Downloaded env_logger v0.9.0 [INFO] [stderr] Downloaded shlex v1.1.0 [INFO] [stderr] Downloaded bindgen v0.59.2 [INFO] [stderr] Downloaded mach v0.3.2 [INFO] [stderr] Downloaded read-process-memory v0.1.4 [INFO] [stderr] Downloaded regex v1.6.0 [INFO] [stderr] Downloaded futures-channel v0.3.25 [INFO] [stderr] Downloaded futures-io v0.3.25 [INFO] [stderr] Downloaded getrandom v0.2.7 [INFO] [stderr] Downloaded tokio-util v0.7.4 [INFO] [stderr] Downloaded h2 v0.3.15 [INFO] [stderr] Downloaded http v0.2.8 [INFO] [stderr] Downloaded tracing-core v0.1.30 [INFO] [stderr] Downloaded hyper v0.14.23 [INFO] [stderr] Downloaded hyper-rustls v0.23.1 [INFO] [stderr] Downloaded ipnet v2.5.1 [INFO] [stderr] Downloaded bytes v1.2.1 [INFO] [stderr] Downloaded mio v0.8.5 [INFO] [stderr] Downloaded libc v0.2.126 [INFO] [stderr] Downloaded futures-task v0.3.25 [INFO] [stderr] Downloaded mach2 v0.4.1 [INFO] [stderr] Downloaded remoteprocess v0.4.10 [INFO] [stderr] Downloaded serde_json v1.0.82 [INFO] [stderr] Downloaded libm v0.2.2 [INFO] [stderr] Downloaded serde v1.0.140 [INFO] [stderr] Downloaded proc-maps v0.2.1 [INFO] [stderr] Downloaded fastrand v1.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13a77636e0f4d3d950e91a98bb93c80a9769ad6f9716c656ed8ee90b7fa4ad6c [INFO] running `Command { std: "docker" "start" "-a" "13a77636e0f4d3d950e91a98bb93c80a9769ad6f9716c656ed8ee90b7fa4ad6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13a77636e0f4d3d950e91a98bb93c80a9769ad6f9716c656ed8ee90b7fa4ad6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13a77636e0f4d3d950e91a98bb93c80a9769ad6f9716c656ed8ee90b7fa4ad6c", kill_on_drop: false }` [INFO] [stdout] 13a77636e0f4d3d950e91a98bb93c80a9769ad6f9716c656ed8ee90b7fa4ad6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a60ee52a86f98860998bf5bcee92268768aa8f1a793db29c104c922e86633652 [INFO] running `Command { std: "docker" "start" "-a" "a60ee52a86f98860998bf5bcee92268768aa8f1a793db29c104c922e86633652", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling cc v1.0.73 [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 indexmap v1.9.1 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling bytes v1.2.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 proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rustls v0.20.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling cpp_demangle v0.3.5 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling os_str_bytes v6.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling clap_derive v3.2.15 [INFO] [stderr] Compiling scroll_derive v0.11.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling sys-info v0.9.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-maps v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling tower-service v0.3.2 [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 scopeguard v1.1.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling clap v3.2.15 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling scroll v0.11.0 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling nix v0.24.2 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling bytemuck v1.11.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling remoteprocess v0.4.10 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Compiling num-format v0.4.0 [INFO] [stderr] Compiling console v0.15.1 [INFO] [stderr] Compiling goblin v0.5.3 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling addr2line v0.18.0 [INFO] [stderr] Compiling rgb v0.8.33 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling hyper-rustls v0.23.1 [INFO] [stderr] Compiling dashmap v5.3.4 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling webpki-roots v0.22.5 [INFO] [stderr] Compiling read-process-memory v0.1.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling quick-xml v0.23.0 [INFO] [stderr] Compiling ipnet v2.5.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling str_stack v0.1.0 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling py-spy-for-datakit v0.3.16 (/opt/rustwide/workdir) [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling inferno v0.11.7 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling reqwest v0.11.12 [INFO] [stderr] Compiling ctrlc v3.2.2 [INFO] [stderr] Compiling clap_complete v3.2.3 [INFO] [stderr] Compiling lru v0.7.8 [INFO] [stderr] Compiling termios v0.3.3 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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/rustcCqrNy0/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libenv_logger-ec2cb5886396010b,libhumantime-c76e32c317139601,libtempfile-85811820bda64497,libfastrand-e17549b1d99c4e27,libremove_dir_all-f9db9e87c9235f9d,libctrlc-b34aa339de6d9463,libsys_info-fdce73ea90d3e393,libclap_complete-f93213c4146eec2a,libindicatif-197cf44249efcbbb,libnumber_prefix-3ee113992e9f31d2,libreqwest-f2291cd6c9cd8389,librustls_pemfile-a8ace893cf5ed489,libhyper_rustls-258b54710e758f79,libwebpki_roots-85714399332a5e04,libipnet-913326b588d8ca3a,libtokio_rustls-3924a02cb08efcc8,libserde_urlencoded-5369719214f737d7,libencoding_rs-e61f5f3bc2800349,libbase64-c16ae2ade0729b07,libmime_guess-ab96a4f9098788ed,libunicase-3149b8cb36130489,libmime-444e29022858902d,librustls-f74c2d8cf4f167ba,libsct-5a51581776650001,libwebpki-c9c0d25cd84b9bee,libring-4b4f939dea22d9e5,libspin-0122b63eca74e16b,libuntrusted-89c47c20f52e0729,libhyper-106377cba1578eda,libwant-8eb409799be627d9,libtry_lock-d26d205d8d90ee23,libhttparse-eb75650ee8a14aee,libh2-ffe835ae67b909da,libtokio_util-6592405363a50d5d,libfutures_sink-ede015f8d7087558,libtower_service-8bbf3f92e1df9475,libtracing-c5a38a6fd4f14934,libtracing_core-7525e6d7d141a648,libfutures_channel-662077f1686cdbea,libtokio-9ce9cea99a456245,libsocket2-a29d60c681a8e8ed,libmio-c77ff4a3366b453c,libhttp_body-5c0307f56a4aeb77,libfutures_util-023816eb65a73d62,libfutures_io-6a5bc0cd9d7356d9,libslab-f94f94821ddb032a,libpin_project_lite-79e40908f8d46d85,libfutures_task-5859c9edc472556e,libpin_utils-fbb4663921dd3b6f,libfutures_core-fa6bc6263edbe607,liburl-b19c204183967a2c,libidna-fddd68e4f8df08ee,libunicode_normalization-d1379a400aeea608,libtinyvec-9f61f426ac22b57b,libtinyvec_macros-c4fd8fad5cbe7140,libunicode_bidi-de8312bd7c1b709b,libform_urlencoded-45fd02b10beaa687,libpercent_encoding-e3264b390c2733a4,libhttp-9d9c75ebf9d2d668,libbytes-6bb410b5fadfcee1,libfnv-440a3b349835519e,libchrono-3ce6f3cda99a850a,libnum_integer-22fa664a18c9f84f,libtime-59f7cc333c6ec467,librand_distr-c01aa0c010ecdd4e,libnum_traits-528ef3f78f393d20,liblibm-5b760df81cd3418f,librand-90a0ae3d935dc3a7,librand_chacha-1f2b4df1aa3ddccc,libppv_lite86-30c4d0bc247bcdde,librand_core-0cce00565c6962e2,libserde_json-ddbd164ea88b2e22,libryu-22f4c0a827dae77f,libserde-072eb3fd08d79457,libinferno-ddb71f63186f03a8,libitoa-d8e1ae2317c40f7f,libnum_cpus-4cf0649445424465,libcrossbeam_channel-8fd1a9eb2adae916,libcrossbeam_utils-5ce96e1d18a4a165,libnum_format-18f9165341b9187c,libitoa-4e51e92defe5ddca,libarrayvec-9d666941b97ae746,libnodrop-a154482bfe58f815,libstr_stack-b68b083ccc952a8b,libquick_xml-60ae863ef1608810,librgb-a53eab9fc09f8410,libbytemuck-3032bda4a5a3ce33,libdashmap-888153a439326202,liblock_api-b27271b93d1cd28f,libscopeguard-47bb29cb00f6f525,libparking_lot_core-0c820b2b242067a3,libtermios-a0a076c8fa9a890d,liblru-2078062dde1129c4,libconsole-72f9c02f2639e9f5,libunicode_width-4af29cbc7ea895e9,libremoteprocess-9d5dbd480b5172db,libregex-2d860d6a2fe765df,libaho_corasick-103978976ef63784,libregex_syntax-d4e74dc11955d2d5,libproc_maps-fe9b91640a7ffc18,libread_process_memory-d86a0114817f1448,libnix-1e8aaaab25f6ccfc,liblazy_static-7d7e4d59d48eac89,libgoblin-146b391e88af8fe0,libplain-c1e15124b434e9af,libscroll-45ee8a869a460430,libaddr2line-ac4b3fea9797eaee,libsmallvec-75305b246c6dd9ba,librustc_demangle-cb5c9d0a512abf73,libgimli-1d2727300a719369,libstable_deref_trait-fa4da60d3378c96b,libfallible_iterator-aea8541ba049f19f,libcpp_demangle-286c456d2672cd16,libobject-40aab8127a542323,libflate2-307a94c3088ce5b7,libminiz_oxide-c4f20636e60629f3,libadler-b4175ab842d2ed22,libcrc32fast-392fef61f9a7b203,libmemchr-8076cc4024ded11d,libmemmap-1bd51f0a0a5ca194,libclap-8a31ed578659be9a,libatty-b6477208ba946867,libstrsim-7a8b18582996fed1,libtermcolor-38561206b8c6f0a3,libtextwrap-8f0ea896d2b78fe1,libterminal_size-b663343439e9391d,libindexmap-7b65679fd5a2f199,libhashbrown-834540027f8ba608,libahash-cc51e2b5e9a5249a,libgetrandom-db46e05f7b27c88d,liblibc-a9e2fe4143315182,libclap_lex-65f97e3395d4b93f,libos_str_bytes-e39184390439de07,libbitflags-a56917bef97924b7,libonce_cell-1dce04377df34c51,liblog-f50dd647447bdbe2,libcfg_if-6a7eff3bb9b3cc11,libanyhow-e9733d4969febe1f}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,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/rustcCqrNy0/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-61ccf86e68fd56d2/out" "-L" "/opt/rustwide/target/debug/build/sys-info-6c70f9c5ce6a13a7/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/py_spy_for_datakit-73795e458b6afabb" "-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" "a60ee52a86f98860998bf5bcee92268768aa8f1a793db29c104c922e86633652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a60ee52a86f98860998bf5bcee92268768aa8f1a793db29c104c922e86633652", kill_on_drop: false }` [INFO] [stdout] a60ee52a86f98860998bf5bcee92268768aa8f1a793db29c104c922e86633652