[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbellirodrigo2%2Faccou" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bellirodrigo2/accou on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-13/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5238c9fa48b81eb7839303921f75f9a221d7fd2e680589b717b54518b4e6f08d [INFO] running `Command { std: "docker" "start" "-a" "5238c9fa48b81eb7839303921f75f9a221d7fd2e680589b717b54518b4e6f08d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5238c9fa48b81eb7839303921f75f9a221d7fd2e680589b717b54518b4e6f08d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5238c9fa48b81eb7839303921f75f9a221d7fd2e680589b717b54518b4e6f08d", kill_on_drop: false }` [INFO] [stdout] 5238c9fa48b81eb7839303921f75f9a221d7fd2e680589b717b54518b4e6f08d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b24ca5fc63cf016d3bb786c1d870a69d772360fd4bc0a7571958bfb687b9494 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1b24ca5fc63cf016d3bb786c1d870a69d772360fd4bc0a7571958bfb687b9494", 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" "1b24ca5fc63cf016d3bb786c1d870a69d772360fd4bc0a7571958bfb687b9494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b24ca5fc63cf016d3bb786c1d870a69d772360fd4bc0a7571958bfb687b9494", kill_on_drop: false }` [INFO] [stdout] 1b24ca5fc63cf016d3bb786c1d870a69d772360fd4bc0a7571958bfb687b9494