[INFO] fetching crate pyscan 0.1.7... [INFO] testing pyscan-0.1.7 against beta-2025-04-13 for beta-1.87-1 [INFO] extracting crate pyscan 0.1.7 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate pyscan 0.1.7 on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pyscan 0.1.7 [INFO] finished tweaking crates.io crate pyscan 0.1.7 [INFO] tweaked toml for crates.io crate pyscan 0.1.7 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate pyscan 0.1.7 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" "+beta-2025-04-13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecfc8f84f7091f503f4414eff0c77d0e72f2a323487f5b03e0a08f3f13bdd9c7 [INFO] running `Command { std: "docker" "start" "-a" "ecfc8f84f7091f503f4414eff0c77d0e72f2a323487f5b03e0a08f3f13bdd9c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecfc8f84f7091f503f4414eff0c77d0e72f2a323487f5b03e0a08f3f13bdd9c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecfc8f84f7091f503f4414eff0c77d0e72f2a323487f5b03e0a08f3f13bdd9c7", kill_on_drop: false }` [INFO] [stdout] ecfc8f84f7091f503f4414eff0c77d0e72f2a323487f5b03e0a08f3f13bdd9c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 240b7cf9509b649ed2941c9f1d8c315713d3605a7f795b397d94aceafc6950c9 [INFO] running `Command { std: "docker" "start" "-a" "240b7cf9509b649ed2941c9f1d8c315713d3605a7f795b397d94aceafc6950c9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.57 [INFO] [stderr] Compiling quote v1.0.27 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling tokio v1.28.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.52 [INFO] [stderr] Compiling syn v2.0.16 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.7 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling openssl-sys v0.9.87 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling lenient_semver_version_builder v0.4.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling anstyle-parse v0.2.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling anstyle v1.0.0 [INFO] [stderr] Compiling lenient_semver_parser v0.4.2 [INFO] [stderr] Compiling clap_lex v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling winnow v0.4.6 [INFO] [stderr] Compiling lenient_version v0.4.2 [INFO] [stderr] Compiling aho-corasick v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling ipnet v2.7.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Compiling iana-time-zone v0.1.56 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling chumsky v1.0.0-alpha.4 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling console v0.15.5 [INFO] [stderr] Compiling lenient_semver v0.4.2 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling clap_builder v4.2.7 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.2.0 [INFO] [stderr] Compiling regex v1.8.1 [INFO] [stderr] Compiling clap v4.2.7 [INFO] [stderr] Compiling pep-508 v0.3.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.19 [INFO] [stderr] Compiling serde_spanned v0.6.1 [INFO] [stderr] Compiling toml_datetime v0.6.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.19.8 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling toml v0.7.3 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.17 [INFO] [stderr] Compiling pyscan v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `datetime` [INFO] [stdout] --> src/parser/extractor.rs:373:41 [INFO] [stdout] | [INFO] [stdout] 373 | Value::Datetime(datetime) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_datetime` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/parser/extractor.rs:374:38 [INFO] [stdout] | [INFO] [stdout] 374 | Value::Array(vec) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/parser/extractor.rs:375:38 [INFO] [stdout] | [INFO] [stdout] 375 | Value::Table(map) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `datetime` [INFO] [stdout] --> src/parser/extractor.rs:383:29 [INFO] [stdout] | [INFO] [stdout] 383 | Value::Datetime(datetime) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_datetime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/parser/extractor.rs:384:26 [INFO] [stdout] | [INFO] [stdout] 384 | Value::Table(map) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/parser/structs.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct FoundFile { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 23 | pub name: OsString, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FoundFile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `comparator` and `version_status` are never read [INFO] [stdout] --> src/parser/structs.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Dependency { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 89 | pub comparator: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 90 | pub version_status: VersionStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dependency` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pypi`, `pip`, and `source` are never read [INFO] [stdout] --> src/parser/structs.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct VersionStatus { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 101 | // pyscan may get version info from a lot of places. This keeps it in check. [INFO] [stdout] 102 | pub pypi: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 103 | pub pip: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 104 | pub source: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VersionStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `online` and `last_queried` are never read [INFO] [stdout] --> src/scanner/api.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Osv { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 20 | /// check if the host is online [INFO] [stdout] 21 | pub online: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | /// time of last query [INFO] [stdout] 23 | pub last_queried: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Osv` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pypi_found` is never read [INFO] [stdout] --> src/utils.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct SysInfo { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 273 | pub pip_found: bool, [INFO] [stdout] 274 | pub pypi_found: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "240b7cf9509b649ed2941c9f1d8c315713d3605a7f795b397d94aceafc6950c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "240b7cf9509b649ed2941c9f1d8c315713d3605a7f795b397d94aceafc6950c9", kill_on_drop: false }` [INFO] [stdout] 240b7cf9509b649ed2941c9f1d8c315713d3605a7f795b397d94aceafc6950c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d1e9bea4daf110f040e2a00a797ba0f08562d7cfafc1dcd15de8a4d349da403 [INFO] running `Command { std: "docker" "start" "-a" "9d1e9bea4daf110f040e2a00a797ba0f08562d7cfafc1dcd15de8a4d349da403", kill_on_drop: false }` [INFO] [stderr] Compiling pyscan v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `datetime` [INFO] [stdout] --> src/parser/extractor.rs:373:41 [INFO] [stdout] | [INFO] [stdout] 373 | Value::Datetime(datetime) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_datetime` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/parser/extractor.rs:374:38 [INFO] [stdout] | [INFO] [stdout] 374 | Value::Array(vec) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/parser/extractor.rs:375:38 [INFO] [stdout] | [INFO] [stdout] 375 | Value::Table(map) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `datetime` [INFO] [stdout] --> src/parser/extractor.rs:383:29 [INFO] [stdout] | [INFO] [stdout] 383 | Value::Datetime(datetime) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_datetime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/parser/extractor.rs:384:26 [INFO] [stdout] | [INFO] [stdout] 384 | Value::Table(map) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/parser/structs.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct FoundFile { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 23 | pub name: OsString, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FoundFile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `comparator` and `version_status` are never read [INFO] [stdout] --> src/parser/structs.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Dependency { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 89 | pub comparator: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 90 | pub version_status: VersionStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dependency` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pypi`, `pip`, and `source` are never read [INFO] [stdout] --> src/parser/structs.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct VersionStatus { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 101 | // pyscan may get version info from a lot of places. This keeps it in check. [INFO] [stdout] 102 | pub pypi: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 103 | pub pip: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 104 | pub source: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VersionStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `online` and `last_queried` are never read [INFO] [stdout] --> src/scanner/api.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Osv { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 20 | /// check if the host is online [INFO] [stdout] 21 | pub online: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | /// time of last query [INFO] [stdout] 23 | pub last_queried: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Osv` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pypi_found` is never read [INFO] [stdout] --> src/utils.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct SysInfo { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 273 | pub pip_found: bool, [INFO] [stdout] 274 | pub pypi_found: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.09s [INFO] running `Command { std: "docker" "inspect" "9d1e9bea4daf110f040e2a00a797ba0f08562d7cfafc1dcd15de8a4d349da403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d1e9bea4daf110f040e2a00a797ba0f08562d7cfafc1dcd15de8a4d349da403", kill_on_drop: false }` [INFO] [stdout] 9d1e9bea4daf110f040e2a00a797ba0f08562d7cfafc1dcd15de8a4d349da403 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e29a9dcdfa8d45b23ae45e64b5e7db5c445f3cf2690ad6efbbb3223d2e7a9ef6 [INFO] running `Command { std: "docker" "start" "-a" "e29a9dcdfa8d45b23ae45e64b5e7db5c445f3cf2690ad6efbbb3223d2e7a9ef6", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `datetime` [INFO] [stderr] --> src/parser/extractor.rs:373:41 [INFO] [stderr] | [INFO] [stderr] 373 | Value::Datetime(datetime) => todo!(), [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_datetime` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vec` [INFO] [stderr] --> src/parser/extractor.rs:374:38 [INFO] [stderr] | [INFO] [stderr] 374 | Value::Array(vec) => todo!(), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `map` [INFO] [stderr] --> src/parser/extractor.rs:375:38 [INFO] [stderr] | [INFO] [stderr] 375 | Value::Table(map) => todo!(), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `datetime` [INFO] [stderr] --> src/parser/extractor.rs:383:29 [INFO] [stderr] | [INFO] [stderr] 383 | Value::Datetime(datetime) => todo!(), [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_datetime` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `map` [INFO] [stderr] --> src/parser/extractor.rs:384:26 [INFO] [stderr] | [INFO] [stderr] 384 | Value::Table(map) => todo!(), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/parser/structs.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct FoundFile { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 23 | pub name: OsString, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FoundFile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `comparator` and `version_status` are never read [INFO] [stderr] --> src/parser/structs.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 86 | pub struct Dependency { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 89 | pub comparator: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 90 | pub version_status: VersionStatus, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Dependency` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `pypi`, `pip`, and `source` are never read [INFO] [stderr] --> src/parser/structs.rs:102:9 [INFO] [stderr] | [INFO] [stderr] 100 | pub struct VersionStatus { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 101 | // pyscan may get version info from a lot of places. This keeps it in check. [INFO] [stderr] 102 | pub pypi: bool, [INFO] [stderr] | ^^^^ [INFO] [stderr] 103 | pub pip: bool, [INFO] [stderr] | ^^^ [INFO] [stderr] 104 | pub source: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VersionStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `online` and `last_queried` are never read [INFO] [stderr] --> src/scanner/api.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Osv { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 20 | /// check if the host is online [INFO] [stderr] 21 | pub online: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 22 | /// time of last query [INFO] [stderr] 23 | pub last_queried: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Osv` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `pypi_found` is never read [INFO] [stderr] --> src/utils.rs:274:9 [INFO] [stderr] | [INFO] [stderr] 272 | pub struct SysInfo { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 273 | pub pip_found: bool, [INFO] [stderr] 274 | pub pypi_found: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `pyscan` (bin "pyscan" test) generated 10 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pyscan-7c6027f50b6034fe) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e29a9dcdfa8d45b23ae45e64b5e7db5c445f3cf2690ad6efbbb3223d2e7a9ef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e29a9dcdfa8d45b23ae45e64b5e7db5c445f3cf2690ad6efbbb3223d2e7a9ef6", kill_on_drop: false }` [INFO] [stdout] e29a9dcdfa8d45b23ae45e64b5e7db5c445f3cf2690ad6efbbb3223d2e7a9ef6