[INFO] cloning repository https://github.com/kokihonda/the_money_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kokihonda/the_money_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkokihonda%2Fthe_money_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkokihonda%2Fthe_money_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77b5ee842b427a0706731a882e48d21245956d81 [INFO] checking kokihonda/the_money_example against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkokihonda%2Fthe_money_example" "/workspace/builds/worker-30/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-30/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kokihonda/the_money_example on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kokihonda/the_money_example [INFO] finished tweaking git repo https://github.com/kokihonda/the_money_example [INFO] tweaked toml for git repo https://github.com/kokihonda/the_money_example written to /workspace/builds/worker-30/source/Cargo.toml [INFO] crate git repo https://github.com/kokihonda/the_money_example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0985160cdacc1d2fa5946ce9493ccf1584902860aa2cf09d55ebcb4f4e70aed1 [INFO] running `Command { std: "docker" "start" "-a" "0985160cdacc1d2fa5946ce9493ccf1584902860aa2cf09d55ebcb4f4e70aed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0985160cdacc1d2fa5946ce9493ccf1584902860aa2cf09d55ebcb4f4e70aed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0985160cdacc1d2fa5946ce9493ccf1584902860aa2cf09d55ebcb4f4e70aed1", kill_on_drop: false }` [INFO] [stdout] 0985160cdacc1d2fa5946ce9493ccf1584902860aa2cf09d55ebcb4f4e70aed1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddebeff55d20d296447ed343377d2ff147b19d4d579ddb4c407a25360d77b8d9 [INFO] running `Command { std: "docker" "start" "-a" "ddebeff55d20d296447ed343377d2ff147b19d4d579ddb4c407a25360d77b8d9", kill_on_drop: false }` [INFO] [stderr] Checking the_money_example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | augend: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | addend: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | fn new(augend: Box, addend: Box) -> Sum { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:136:49 [INFO] [stdout] | [INFO] [stdout] 136 | fn new(augend: Box, addend: Box) -> Sum { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:160:15 [INFO] [stdout] | [INFO] [stdout] 160 | impl Add > for Sum { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | fn add(self, other: Box) -> Sum { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | augend: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | addend: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | fn new(augend: Box, addend: Box) -> Sum { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:136:49 [INFO] [stdout] | [INFO] [stdout] 136 | fn new(augend: Box, addend: Box) -> Sum { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:160:15 [INFO] [stdout] | [INFO] [stdout] 160 | impl Add > for Sum { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | fn add(self, other: Box) -> Sum { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `USD` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | USD, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CHE` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | CHE, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn new(x: u32, currecy: Currency) -> Money { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dollar` [INFO] [stdout] --> src/lib.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn dollar(x: u32) -> Money { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `franc` [INFO] [stdout] --> src/lib.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn franc(x: u32) -> Money { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn new() -> Bank { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reduced` [INFO] [stdout] --> src/lib.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn reduced (&self, source: T, currency: Currency) -> Money [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_rate` [INFO] [stdout] --> src/lib.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn add_rate (&mut self, from: Currency, to: Currency, rate: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn new(augend: Box, addend: Box) -> Sum { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn new(x: u32, currecy: Currency) -> Money { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "ddebeff55d20d296447ed343377d2ff147b19d4d579ddb4c407a25360d77b8d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddebeff55d20d296447ed343377d2ff147b19d4d579ddb4c407a25360d77b8d9", kill_on_drop: false }` [INFO] [stdout] ddebeff55d20d296447ed343377d2ff147b19d4d579ddb4c407a25360d77b8d9