[INFO] cloning repository https://github.com/Farooq-azam-khan/the-money-example-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Farooq-azam-khan/the-money-example-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFarooq-azam-khan%2Fthe-money-example-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFarooq-azam-khan%2Fthe-money-example-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3c03af527a39b727d8bdfdb4e5c36464cdb03b43
[INFO] checking Farooq-azam-khan/the-money-example-rust against try#5f6abd89da253a562ad85d235b9342a3ac336c28 for pr-156114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFarooq-azam-khan%2Fthe-money-example-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Farooq-azam-khan/the-money-example-rust
[INFO] finished tweaking git repo https://github.com/Farooq-azam-khan/the-money-example-rust
[INFO] tweaked toml for git repo https://github.com/Farooq-azam-khan/the-money-example-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Farooq-azam-khan/the-money-example-rust on toolchain 5f6abd89da253a562ad85d235b9342a3ac336c28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Farooq-azam-khan/the-money-example-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" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7eaf34f66e646e2b8d18175639ce43e71f4337a37dca1a7bfbb3eefd5b36e9c4
[INFO] running `Command { std: "docker" "start" "-a" "7eaf34f66e646e2b8d18175639ce43e71f4337a37dca1a7bfbb3eefd5b36e9c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7eaf34f66e646e2b8d18175639ce43e71f4337a37dca1a7bfbb3eefd5b36e9c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7eaf34f66e646e2b8d18175639ce43e71f4337a37dca1a7bfbb3eefd5b36e9c4", kill_on_drop: false }`
[INFO] [stdout] 7eaf34f66e646e2b8d18175639ce43e71f4337a37dca1a7bfbb3eefd5b36e9c4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3043c0db1b26c1c804cac6007e84e3657c57eab9f05240b94d308ce84be803ca
[INFO] running `Command { std: "docker" "start" "-a" "3043c0db1b26c1c804cac6007e84e3657c57eab9f05240b94d308ce84be803ca", kill_on_drop: false }`
[INFO] [stderr]     Checking the_money_example_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Bank` is never constructed
[INFO] [stdout]  --> src/main.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Bank {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Currency` is never used
[INFO] [stdout]  --> src/main.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | enum Currency {
[INFO] [stdout]   |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Money` is never constructed
[INFO] [stdout]   --> src/main.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Money {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]   --> src/main.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Pair {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Expression` is never used
[INFO] [stdout]   --> src/main.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | trait Expression {
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sum` is never constructed
[INFO] [stdout]   --> src/main.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | struct Sum {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `rate`, `reduce`, and `add_rate` are never used
[INFO] [stdout]   --> src/main.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Bank {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 41 |     fn new() -> Bank {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     fn rate(&self, from: Currency, to: Currency) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn reduce(&self, value: impl Expression, currency: Currency) -> Money {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn add_rate(&mut self, from: Currency, to: Currency, ratio: i32) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/main.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 63 | impl Sum {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 64 |     fn new(augend: Money, addend: Money) -> Sum {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `times`, `dollar`, `franc`, and `equals` are never used
[INFO] [stdout]    --> src/main.rs:96:8
[INFO] [stdout]     |
[INFO] [stdout]  95 | impl Money {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  96 |     fn times(&self, multiplier: i32) -> Money {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     fn dollar(amount: i32) -> Money {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     fn franc(amount: i32) -> Money {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     fn equals(&self, money: Money) -> bool {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/main.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 63 | impl Sum {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 64 |     fn new(augend: Money, addend: Money) -> Sum {
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] running `Command { std: "docker" "inspect" "3043c0db1b26c1c804cac6007e84e3657c57eab9f05240b94d308ce84be803ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3043c0db1b26c1c804cac6007e84e3657c57eab9f05240b94d308ce84be803ca", kill_on_drop: false }`
[INFO] [stdout] 3043c0db1b26c1c804cac6007e84e3657c57eab9f05240b94d308ce84be803ca
