[INFO] cloning repository https://github.com/yjyao/learn-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yjyao/learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyjyao%2Flearn-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyjyao%2Flearn-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6501ca2c3bd746e47e697e1dbcb10b23d623ca60 [INFO] checking yjyao/learn-rust against master#667247db71ea18c4130dd018d060e7f09d589490 for pr-140824 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyjyao%2Flearn-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yjyao/learn-rust on toolchain 667247db71ea18c4130dd018d060e7f09d589490 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yjyao/learn-rust [INFO] finished tweaking git repo https://github.com/yjyao/learn-rust [INFO] tweaked toml for git repo https://github.com/yjyao/learn-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yjyao/learn-rust 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" "+667247db71ea18c4130dd018d060e7f09d589490" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_float_eq v1.1.3 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59f7d8c2967e96f6171058981212f1b42aba184ffe8984d5b0590e98075928d1 [INFO] running `Command { std: "docker" "start" "-a" "59f7d8c2967e96f6171058981212f1b42aba184ffe8984d5b0590e98075928d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59f7d8c2967e96f6171058981212f1b42aba184ffe8984d5b0590e98075928d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59f7d8c2967e96f6171058981212f1b42aba184ffe8984d5b0590e98075928d1", kill_on_drop: false }` [INFO] [stdout] 59f7d8c2967e96f6171058981212f1b42aba184ffe8984d5b0590e98075928d1 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "+667247db71ea18c4130dd018d060e7f09d589490" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3229c153667fc3001eae91933212f2b765df1acf8097c195e8f3c7bc7b079a7d [INFO] running `Command { std: "docker" "start" "-a" "3229c153667fc3001eae91933212f2b765df1acf8097c195e8f3c7bc7b079a7d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking assert_float_eq v1.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking learn-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:890:26 [INFO] [stdout] | [INFO] [stdout] 890 | struct MetersSquared(i32); [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `MetersSquared` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Citation` is never constructed [INFO] [stdout] --> src/main.rs:1351:12 [INFO] [stdout] | [INFO] [stdout] 1351 | struct Citation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/main.rs:1906:20 [INFO] [stdout] | [INFO] [stdout] 1906 | Element(T, Box>), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1906 - Element(T, Box>), [INFO] [stdout] 1906 + Element(T, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/main.rs:2219:23 [INFO] [stdout] | [INFO] [stdout] 2219 | struct Point(i32, i32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Point` 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 `0` is never read [INFO] [stdout] --> src/main.rs:890:26 [INFO] [stdout] | [INFO] [stdout] 890 | struct MetersSquared(i32); [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `MetersSquared` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Citation` is never constructed [INFO] [stdout] --> src/main.rs:1351:12 [INFO] [stdout] | [INFO] [stdout] 1351 | struct Citation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/main.rs:1906:20 [INFO] [stdout] | [INFO] [stdout] 1906 | Element(T, Box>), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1906 - Element(T, Box>), [INFO] [stdout] 1906 + Element(T, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/main.rs:2219:23 [INFO] [stdout] | [INFO] [stdout] 2219 | struct Point(i32, i32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.50s [INFO] running `Command { std: "docker" "inspect" "3229c153667fc3001eae91933212f2b765df1acf8097c195e8f3c7bc7b079a7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3229c153667fc3001eae91933212f2b765df1acf8097c195e8f3c7bc7b079a7d", kill_on_drop: false }` [INFO] [stdout] 3229c153667fc3001eae91933212f2b765df1acf8097c195e8f3c7bc7b079a7d