[INFO] cloning repository https://github.com/DeluxeRaph/rustBalanceModule [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DeluxeRaph/rustBalanceModule" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeluxeRaph%2FrustBalanceModule", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeluxeRaph%2FrustBalanceModule'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 842eefe7c17b8f052bed44348e898d9fb082c94e [INFO] checking DeluxeRaph/rustBalanceModule/842eefe7c17b8f052bed44348e898d9fb082c94e against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeluxeRaph%2FrustBalanceModule" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DeluxeRaph/rustBalanceModule on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DeluxeRaph/rustBalanceModule [INFO] finished tweaking git repo https://github.com/DeluxeRaph/rustBalanceModule [INFO] tweaked toml for git repo https://github.com/DeluxeRaph/rustBalanceModule written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DeluxeRaph/rustBalanceModule 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-complex v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5598b903095fa3923c6a794c0eec588e08579af0382029b6d786ac1b70c15b28 [INFO] running `Command { std: "docker" "start" "-a" "5598b903095fa3923c6a794c0eec588e08579af0382029b6d786ac1b70c15b28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5598b903095fa3923c6a794c0eec588e08579af0382029b6d786ac1b70c15b28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5598b903095fa3923c6a794c0eec588e08579af0382029b6d786ac1b70c15b28", kill_on_drop: false }` [INFO] [stdout] 5598b903095fa3923c6a794c0eec588e08579af0382029b6d786ac1b70c15b28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a56cfa0ec3a287c6cf3c5688f1dbdcba733c07672c9a8bd949d0451b9e74af69 [INFO] running `Command { std: "docker" "start" "-a" "a56cfa0ec3a287c6cf3c5688f1dbdcba733c07672c9a8bd949d0451b9e74af69", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking num-bigint v0.4.3 [INFO] [stderr] Checking num-iter v0.1.43 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking trait-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::Eq` [INFO] [stdout] --> src/step5.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/step5.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Eq` [INFO] [stdout] --> src/step5.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/step5.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BalancesModule` is never constructed [INFO] [stdout] --> src/step1.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct BalancesModule { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_balance`, `balance`, and `transfer` are never used [INFO] [stdout] --> src/step1.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl BalancesModule { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn set_balance(&mut self, who: u32, amount: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn balance(&self, who: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn transfer(&mut self, from: u32, to: u32, amount: u32) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Account` is never used [INFO] [stdout] --> src/step2.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Account = u16; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Balance` is never used [INFO] [stdout] --> src/step2.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Balance = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BalancesModule` is never constructed [INFO] [stdout] --> src/step2.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BalancesModule { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_balance`, `balance`, and `transfer` are never used [INFO] [stdout] --> src/step2.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl BalancesModule { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn set_balance(&mut self, who: Account, amount: Balance) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn balance(&self, who: Account) -> Balance { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn transfer( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.45s [INFO] running `Command { std: "docker" "inspect" "a56cfa0ec3a287c6cf3c5688f1dbdcba733c07672c9a8bd949d0451b9e74af69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a56cfa0ec3a287c6cf3c5688f1dbdcba733c07672c9a8bd949d0451b9e74af69", kill_on_drop: false }` [INFO] [stdout] a56cfa0ec3a287c6cf3c5688f1dbdcba733c07672c9a8bd949d0451b9e74af69