[INFO] cloning repository https://github.com/yhanyi/DumbContract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yhanyi/DumbContract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyhanyi%2FDumbContract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyhanyi%2FDumbContract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 496011c30c9391ff6df081b4e86c3918802e4391 [INFO] checking yhanyi/DumbContract against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyhanyi%2FDumbContract" "/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/yhanyi/DumbContract on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yhanyi/DumbContract [INFO] finished tweaking git repo https://github.com/yhanyi/DumbContract [INFO] tweaked toml for git repo https://github.com/yhanyi/DumbContract written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yhanyi/DumbContract 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4c7dd9f82697c063b99f509c17fd9fa5882f62cabf29a5890a4b79e850eac09 [INFO] running `Command { std: "docker" "start" "-a" "f4c7dd9f82697c063b99f509c17fd9fa5882f62cabf29a5890a4b79e850eac09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4c7dd9f82697c063b99f509c17fd9fa5882f62cabf29a5890a4b79e850eac09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4c7dd9f82697c063b99f509c17fd9fa5882f62cabf29a5890a4b79e850eac09", kill_on_drop: false }` [INFO] [stdout] f4c7dd9f82697c063b99f509c17fd9fa5882f62cabf29a5890a4b79e850eac09 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52d1d30ca9344454ed8fea8a4b7a42fddd73ad62fab2a95d01180a15a44f86ae [INFO] running `Command { std: "docker" "start" "-a" "52d1d30ca9344454ed8fea8a4b7a42fddd73ad62fab2a95d01180a15a44f86ae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking DumbContract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/condition.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Condition { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 2 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `from` is never read [INFO] [stdout] --> src/transaction.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Transaction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 4 | pub from: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `balance` is never read [INFO] [stdout] --> src/user.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 3 | pub name: String, [INFO] [stdout] 4 | pub balance: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `adjust_balance` is never used [INFO] [stdout] --> src/user.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl User { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn adjust_balance(&mut self, amount: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/condition.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Condition { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 2 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `from` is never read [INFO] [stdout] --> src/transaction.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Transaction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 4 | pub from: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `balance` is never read [INFO] [stdout] --> src/user.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 3 | pub name: String, [INFO] [stdout] 4 | pub balance: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `adjust_balance` is never used [INFO] [stdout] --> src/user.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl User { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn adjust_balance(&mut self, amount: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.20s [INFO] running `Command { std: "docker" "inspect" "52d1d30ca9344454ed8fea8a4b7a42fddd73ad62fab2a95d01180a15a44f86ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52d1d30ca9344454ed8fea8a4b7a42fddd73ad62fab2a95d01180a15a44f86ae", kill_on_drop: false }` [INFO] [stdout] 52d1d30ca9344454ed8fea8a4b7a42fddd73ad62fab2a95d01180a15a44f86ae