[INFO] cloning repository https://github.com/bellirodrigo2/accou [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bellirodrigo2/accou" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbellirodrigo2%2Faccou", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbellirodrigo2%2Faccou'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe659ea01781dbf67a4f0b93041e562e67bff252 [INFO] checking bellirodrigo2/accou against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbellirodrigo2%2Faccou" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bellirodrigo2/accou on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bellirodrigo2/accou [INFO] finished tweaking git repo https://github.com/bellirodrigo2/accou [INFO] tweaked toml for git repo https://github.com/bellirodrigo2/accou written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/bellirodrigo2/accou already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 599966acae7a07069253249eb7958387ff4e08cf0c2ee8e9d75a6c1b56930aec [INFO] running `Command { std: "docker" "start" "-a" "599966acae7a07069253249eb7958387ff4e08cf0c2ee8e9d75a6c1b56930aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "599966acae7a07069253249eb7958387ff4e08cf0c2ee8e9d75a6c1b56930aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "599966acae7a07069253249eb7958387ff4e08cf0c2ee8e9d75a6c1b56930aec", kill_on_drop: false }` [INFO] [stdout] 599966acae7a07069253249eb7958387ff4e08cf0c2ee8e9d75a6c1b56930aec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3220b2b52b8ba0c3043e408bab59cccb5d01ac8318b7eb3e52c75f178dd57d53 [INFO] running `Command { std: "docker" "start" "-a" "3220b2b52b8ba0c3043e408bab59cccb5d01ac8318b7eb3e52c75f178dd57d53", kill_on_drop: false }` [INFO] [stderr] Checking accou v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `USD_FACTOR` in this scope [INFO] [stdout] --> src/main.rs:120:56 [INFO] [stdout] | [INFO] [stdout] 120 | ... Monthly(_) => Monthly(*val*USD_FACTOR[1].unwrap()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 36 | use crate::currencies::USD_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `USD_FACTOR` in this scope [INFO] [stdout] --> src/main.rs:121:60 [INFO] [stdout] | [INFO] [stdout] 121 | ... Quarterly(_) => Quarterly(*val*USD_FACTOR[0].unwrap()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 36 | use crate::currencies::USD_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CAD_FACTOR` in this scope [INFO] [stdout] --> src/main.rs:127:54 [INFO] [stdout] | [INFO] [stdout] 127 | ... Daily(_) => Daily((*val)*CAD_FACTOR[1].unwrap()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 36 | use crate::currencies::CAD_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CAD_FACTOR` in this scope [INFO] [stdout] --> src/main.rs:129:62 [INFO] [stdout] | [INFO] [stdout] 129 | ... Quarterly(_) => Quarterly((*val)*CAD_FACTOR[0].unwrap()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 36 | use crate::currencies::CAD_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BRL_FACTOR` in this scope [INFO] [stdout] --> src/main.rs:135:54 [INFO] [stdout] | [INFO] [stdout] 135 | ... Daily(_) => Daily((*val)*BRL_FACTOR[1].unwrap()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 36 | use crate::currencies::BRL_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BRL_FACTOR` in this scope [INFO] [stdout] --> src/main.rs:136:58 [INFO] [stdout] | [INFO] [stdout] 136 | ... Monthly(_) => Monthly((*val)*BRL_FACTOR[0].unwrap()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 36 | use crate::currencies::BRL_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BRL_FACTOR` in this scope [INFO] [stdout] --> src/main.rs:143:54 [INFO] [stdout] | [INFO] [stdout] 143 | ... Daily(_) => Daily((*val)*BRL_FACTOR[1].unwrap()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 36 | use crate::currencies::BRL_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BRL_FACTOR` in this scope [INFO] [stdout] --> src/main.rs:144:58 [INFO] [stdout] | [INFO] [stdout] 144 | ... Monthly(_) => Monthly((*val)*BRL_FACTOR[0].unwrap()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 36 | use crate::currencies::BRL_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `cashFlowMath` should have an upper camel case name [INFO] [stdout] --> src/main.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | trait cashFlowMath{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `CashFlowMath` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `USD_FACTOR` in this scope [INFO] [stdout] --> src/main.rs:120:56 [INFO] [stdout] | [INFO] [stdout] 120 | ... Monthly(_) => Monthly(*val*USD_FACTOR[1].unwrap()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 36 | use crate::currencies::USD_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `USD_FACTOR` in this scope [INFO] [stdout] --> src/main.rs:121:60 [INFO] [stdout] | [INFO] [stdout] 121 | ... Quarterly(_) => Quarterly(*val*USD_FACTOR[0].unwrap()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 36 | use crate::currencies::USD_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CAD_FACTOR` in this scope [INFO] [stdout] --> src/main.rs:127:54 [INFO] [stdout] | [INFO] [stdout] 127 | ... Daily(_) => Daily((*val)*CAD_FACTOR[1].unwrap()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 36 | use crate::currencies::CAD_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CAD_FACTOR` in this scope [INFO] [stdout] --> src/main.rs:129:62 [INFO] [stdout] | [INFO] [stdout] 129 | ... Quarterly(_) => Quarterly((*val)*CAD_FACTOR[0].unwrap()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 36 | use crate::currencies::CAD_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BRL_FACTOR` in this scope [INFO] [stdout] --> src/main.rs:135:54 [INFO] [stdout] | [INFO] [stdout] 135 | ... Daily(_) => Daily((*val)*BRL_FACTOR[1].unwrap()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 36 | use crate::currencies::BRL_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BRL_FACTOR` in this scope [INFO] [stdout] --> src/main.rs:136:58 [INFO] [stdout] | [INFO] [stdout] 136 | ... Monthly(_) => Monthly((*val)*BRL_FACTOR[0].unwrap()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 36 | use crate::currencies::BRL_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BRL_FACTOR` in this scope [INFO] [stdout] --> src/main.rs:143:54 [INFO] [stdout] | [INFO] [stdout] 143 | ... Daily(_) => Daily((*val)*BRL_FACTOR[1].unwrap()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 36 | use crate::currencies::BRL_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BRL_FACTOR` in this scope [INFO] [stdout] --> src/main.rs:144:58 [INFO] [stdout] | [INFO] [stdout] 144 | ... Monthly(_) => Monthly((*val)*BRL_FACTOR[0].unwrap()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 36 | use crate::currencies::BRL_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `cashFlowMath` should have an upper camel case name [INFO] [stdout] --> src/main.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | trait cashFlowMath{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `CashFlowMath` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:122:42 [INFO] [stdout] | [INFO] [stdout] 122 | ... Yearly(_) => Yearly(), [INFO] [stdout] | ^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:130:42 [INFO] [stdout] | [INFO] [stdout] 130 | ... Yearly(_) => Yearly(), [INFO] [stdout] | ^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:138:42 [INFO] [stdout] | [INFO] [stdout] 138 | ... Yearly(_) => Yearly(), [INFO] [stdout] | ^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:146:42 [INFO] [stdout] | [INFO] [stdout] 146 | ... Yearly(_) => Yearly(), [INFO] [stdout] | ^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:122:42 [INFO] [stdout] | [INFO] [stdout] 122 | ... Yearly(_) => Yearly(), [INFO] [stdout] | ^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:130:42 [INFO] [stdout] | [INFO] [stdout] 130 | ... Yearly(_) => Yearly(), [INFO] [stdout] | ^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:138:42 [INFO] [stdout] | [INFO] [stdout] 138 | ... Yearly(_) => Yearly(), [INFO] [stdout] | ^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:146:42 [INFO] [stdout] | [INFO] [stdout] 146 | ... Yearly(_) => Yearly(), [INFO] [stdout] | ^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `accou` due to 13 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3220b2b52b8ba0c3043e408bab59cccb5d01ac8318b7eb3e52c75f178dd57d53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3220b2b52b8ba0c3043e408bab59cccb5d01ac8318b7eb3e52c75f178dd57d53", kill_on_drop: false }` [INFO] [stdout] 3220b2b52b8ba0c3043e408bab59cccb5d01ac8318b7eb3e52c75f178dd57d53