[INFO] cloning repository https://github.com/getpanic/code_scan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/getpanic/code_scan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgetpanic%2Fcode_scan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgetpanic%2Fcode_scan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 482398d1ebf2c7b430385c3ad1a2164cd2c7628b [INFO] testing getpanic/code_scan against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgetpanic%2Fcode_scan" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/getpanic/code_scan [INFO] finished tweaking git repo https://github.com/getpanic/code_scan [INFO] tweaked toml for git repo https://github.com/getpanic/code_scan written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/getpanic/code_scan on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/getpanic/code_scan 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.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b4f89420cfbed625d2e025a64f87202986ab2bb6d94fe07c59d175c32f1013e3 [INFO] running `Command { std: "docker" "start" "b4f89420cfbed625d2e025a64f87202986ab2bb6d94fe07c59d175c32f1013e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4f89420cfbed625d2e025a64f87202986ab2bb6d94fe07c59d175c32f1013e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b4f89420cfbed625d2e025a64f87202986ab2bb6d94fe07c59d175c32f1013e3" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4f89420cfbed625d2e025a64f87202986ab2bb6d94fe07c59d175c32f1013e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b4f89420cfbed625d2e025a64f87202986ab2bb6d94fe07c59d175c32f1013e3" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling libc v0.2.147 [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 pkg-config v0.3.27 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling ryu v1.0.14 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling portable-atomic v1.4.1 [INFO] [stderr] Compiling itoa v1.0.8 [INFO] [stderr] Compiling serde_json v1.0.102 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling schemars v0.8.12 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling xml-rs v0.8.15 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling dyn-clone v1.0.12 [INFO] [stderr] Compiling schemars_derive v0.8.12 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unsafe-libyaml v0.2.9 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling regex-automata v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling indicatif v0.17.5 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling xmltree v0.10.3 [INFO] [stderr] Compiling http_req v0.9.2 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling serde_yaml v0.9.25 [INFO] [stderr] Compiling serde-xml-rs v0.6.0 [INFO] [stderr] Compiling code_scan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `project` and `config` are never read [INFO] [stdout] --> src/project/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Application [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 22 | where T: Scanner{ [INFO] [stdout] 23 | pub project: T, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub config: Config [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `schemars` [INFO] [stderr] --> Cargo.toml:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | schemars = "0.8.8" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `schemars` [INFO] [stderr] warning: unused dependency `serde-xml-rs` [INFO] [stderr] --> Cargo.toml:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | serde-xml-rs = "0.6" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `serde-xml-rs` [INFO] [stderr] warning: unused dependency `serde_yaml` [INFO] [stderr] --> Cargo.toml:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | serde_yaml = "0.9.25" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `serde_yaml` [INFO] [stderr] warning: `code_scan` (manifest) generated 3 warnings [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.55 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b4f89420cfbed625d2e025a64f87202986ab2bb6d94fe07c59d175c32f1013e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b4f89420cfbed625d2e025a64f87202986ab2bb6d94fe07c59d175c32f1013e3" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling ryu v1.0.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling itoa v1.0.8 [INFO] [stderr] Compiling xml-rs v0.8.15 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling portable-atomic v1.4.1 [INFO] [stderr] Compiling regex-automata v0.3.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.102 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling dyn-clone v1.0.12 [INFO] [stderr] Compiling unsafe-libyaml v0.2.9 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling http_req v0.9.2 [INFO] [stderr] Compiling schemars v0.8.12 [INFO] [stderr] Compiling serde_yaml v0.9.25 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling indicatif v0.17.5 [INFO] [stderr] Compiling serde-xml-rs v0.6.0 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling xmltree v0.10.3 [INFO] [stderr] Compiling code_scan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `project` and `config` are never read [INFO] [stdout] --> src/project/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Application [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 22 | where T: Scanner{ [INFO] [stdout] 23 | pub project: T, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub config: Config [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `schemars` [INFO] [stderr] --> Cargo.toml:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | schemars = "0.8.8" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `schemars` [INFO] [stderr] warning: unused dependency `serde-xml-rs` [INFO] [stderr] --> Cargo.toml:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | serde-xml-rs = "0.6" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `serde-xml-rs` [INFO] [stderr] warning: unused dependency `serde_yaml` [INFO] [stderr] --> Cargo.toml:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | serde_yaml = "0.9.25" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `serde_yaml` [INFO] [stderr] warning: `code_scan` (manifest) generated 3 warnings [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.55 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b4f89420cfbed625d2e025a64f87202986ab2bb6d94fe07c59d175c32f1013e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b4f89420cfbed625d2e025a64f87202986ab2bb6d94fe07c59d175c32f1013e3" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: fields `project` and `config` are never read [INFO] [stderr] --> src/project/mod.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct Application [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 22 | where T: Scanner{ [INFO] [stderr] 23 | pub project: T, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 24 | pub config: Config [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `code_scan` (bin "code_scan" test) generated 1 warning [INFO] [stderr] warning: unused dependency `schemars` [INFO] [stderr] --> Cargo.toml:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | schemars = "0.8.8" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `schemars` [INFO] [stderr] warning: unused dependency `serde-xml-rs` [INFO] [stderr] --> Cargo.toml:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | serde-xml-rs = "0.6" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `serde-xml-rs` [INFO] [stderr] warning: unused dependency `serde_yaml` [INFO] [stderr] --> Cargo.toml:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | serde_yaml = "0.9.25" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `serde_yaml` [INFO] [stderr] warning: `code_scan` (manifest) generated 3 warnings [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.55 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/build/code_scan/cb241bdaceb9d200/out/code_scan-cb241bdaceb9d200) [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" "b4f89420cfbed625d2e025a64f87202986ab2bb6d94fe07c59d175c32f1013e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4f89420cfbed625d2e025a64f87202986ab2bb6d94fe07c59d175c32f1013e3", kill_on_drop: false }` [INFO] [stdout] b4f89420cfbed625d2e025a64f87202986ab2bb6d94fe07c59d175c32f1013e3