[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] testing bellirodrigo2/accou against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbellirodrigo2%2Faccou" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bellirodrigo2/accou on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-0/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c848ab14b2b49da5b9e269b2ed88e71a52c5210b9efb4352ba798a6eeb3c96ac [INFO] running `Command { std: "docker" "start" "-a" "c848ab14b2b49da5b9e269b2ed88e71a52c5210b9efb4352ba798a6eeb3c96ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c848ab14b2b49da5b9e269b2ed88e71a52c5210b9efb4352ba798a6eeb3c96ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c848ab14b2b49da5b9e269b2ed88e71a52c5210b9efb4352ba798a6eeb3c96ac", kill_on_drop: false }` [INFO] [stdout] c848ab14b2b49da5b9e269b2ed88e71a52c5210b9efb4352ba798a6eeb3c96ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f41ac807e5b64751bccff2d81d7d905a368a435291427168748495eb7a7ef07c [INFO] running `Command { std: "docker" "start" "-a" "f41ac807e5b64751bccff2d81d7d905a368a435291427168748495eb7a7ef07c", kill_on_drop: false }` [INFO] [stderr] Compiling 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] note: static `crate::currencies::USD_FACTOR` exists but is inaccessible [INFO] [stdout] --> src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | static USD_FACTOR:[Cash;2] = [BRL(5.65), CAD(1.26)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [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] note: static `crate::currencies::USD_FACTOR` exists but is inaccessible [INFO] [stdout] --> src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | static USD_FACTOR:[Cash;2] = [BRL(5.65), CAD(1.26)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [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] note: static `crate::currencies::CAD_FACTOR` exists but is inaccessible [INFO] [stdout] --> src/main.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | static CAD_FACTOR:[Cash;2] = [BRL(4.56), USD(0.8)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [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] note: static `crate::currencies::CAD_FACTOR` exists but is inaccessible [INFO] [stdout] --> src/main.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | static CAD_FACTOR:[Cash;2] = [BRL(4.56), USD(0.8)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [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] note: static `crate::currencies::BRL_FACTOR` exists but is inaccessible [INFO] [stdout] --> src/main.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | static BRL_FACTOR:[Cash;2] = [CAD(0.22), USD(0.17)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [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] note: static `crate::currencies::BRL_FACTOR` exists but is inaccessible [INFO] [stdout] --> src/main.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | static BRL_FACTOR:[Cash;2] = [CAD(0.22), USD(0.17)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [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] note: static `crate::currencies::BRL_FACTOR` exists but is inaccessible [INFO] [stdout] --> src/main.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | static BRL_FACTOR:[Cash;2] = [CAD(0.22), USD(0.17)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [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] note: static `crate::currencies::BRL_FACTOR` exists but is inaccessible [INFO] [stdout] --> src/main.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | static BRL_FACTOR:[Cash;2] = [CAD(0.22), USD(0.17)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [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] note: tuple variant defined here [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Yearly(f64), [INFO] [stdout] | ^^^^^^ [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] note: tuple variant defined here [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Yearly(f64), [INFO] [stdout] | ^^^^^^ [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] note: tuple variant defined here [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Yearly(f64), [INFO] [stdout] | ^^^^^^ [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] note: tuple variant defined here [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Yearly(f64), [INFO] [stdout] | ^^^^^^ [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] running `Command { std: "docker" "inspect" "f41ac807e5b64751bccff2d81d7d905a368a435291427168748495eb7a7ef07c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f41ac807e5b64751bccff2d81d7d905a368a435291427168748495eb7a7ef07c", kill_on_drop: false }` [INFO] [stdout] f41ac807e5b64751bccff2d81d7d905a368a435291427168748495eb7a7ef07c