[INFO] cloning repository https://github.com/fluXion129/giopt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fluXion129/giopt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfluXion129%2Fgiopt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfluXion129%2Fgiopt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 847ecc7b8ed4928367546b4f236cf9de9283ec90
[INFO] testing fluXion129/giopt against 1.100.0-beta.1 for beta-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfluXion129%2Fgiopt" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fluXion129/giopt
[INFO] finished tweaking git repo https://github.com/fluXion129/giopt
[INFO] tweaked toml for git repo https://github.com/fluXion129/giopt written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fluXion129/giopt on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fluXion129/giopt 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ebe4d0ce7024fd001ecf77b62c5bf6658a1826eb7ee0c4b1fbf7098d8670e01e
[INFO] running `Command { std: "docker" "start" "ebe4d0ce7024fd001ecf77b62c5bf6658a1826eb7ee0c4b1fbf7098d8670e01e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ebe4d0ce7024fd001ecf77b62c5bf6658a1826eb7ee0c4b1fbf7098d8670e01e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ebe4d0ce7024fd001ecf77b62c5bf6658a1826eb7ee0c4b1fbf7098d8670e01e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ebe4d0ce7024fd001ecf77b62c5bf6658a1826eb7ee0c4b1fbf7098d8670e01e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ebe4d0ce7024fd001ecf77b62c5bf6658a1826eb7ee0c4b1fbf7098d8670e01e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling giopt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.96s
[INFO] running `Command { std: "docker" "inspect" "ebe4d0ce7024fd001ecf77b62c5bf6658a1826eb7ee0c4b1fbf7098d8670e01e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ebe4d0ce7024fd001ecf77b62c5bf6658a1826eb7ee0c4b1fbf7098d8670e01e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling giopt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: the trait bound `i32: CalcKey` is not satisfied
[INFO] [stdout]   --> src/calculator/tests.rs:9:32
[INFO] [stdout]    |
[INFO] [stdout]  9 |       let calcrules = Rules::new(HashMap::from([
[INFO] [stdout]    |  _____________________----------_^
[INFO] [stdout]    | |                     |
[INFO] [stdout]    | |                     required by a bound introduced by this call
[INFO] [stdout] 10 | |         (3, Rule::new(&sum, vec![0, 1, 2])),
[INFO] [stdout] 11 | |         (5, Rule::new(&product, vec![3, 4])),
[INFO] [stdout] 12 | |     ]));
[INFO] [stdout]    | |______^ the trait `CalcKey` is not implemented for `i32`
[INFO] [stdout]    |
[INFO] [stdout] help: the following other types implement trait `CalcKey`
[INFO] [stdout]   --> src/calculator/mod.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl CalcKey for u32 {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ `u32`
[INFO] [stdout] 14 | impl CalcKey for usize {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ `usize`
[INFO] [stdout] note: required by a bound in `Rules::<K>::new`
[INFO] [stdout]   --> src/calculator/rules.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<K: CalcKey> Rules<K> {
[INFO] [stdout]    |         ^^^^^^^ required by this bound in `Rules::<K>::new`
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn new(rules: HashMap<K, Rule<K>>) -> Self {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `i32: CalcKey` is not satisfied
[INFO] [stdout]   --> src/calculator/tests.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |         (3, Rule::new(&sum, vec![0, 1, 2])),
[INFO] [stdout]    |             ^^^^^^^^^ the trait `CalcKey` is not implemented for `i32`
[INFO] [stdout]    |
[INFO] [stdout] help: the following other types implement trait `CalcKey`
[INFO] [stdout]   --> src/calculator/mod.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl CalcKey for u32 {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ `u32`
[INFO] [stdout] 14 | impl CalcKey for usize {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ `usize`
[INFO] [stdout] note: required by a bound in `Rule::<K>::new`
[INFO] [stdout]   --> src/calculator/rules.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl<K: CalcKey> Rule<K> {
[INFO] [stdout]    |         ^^^^^^^ required by this bound in `Rule::<K>::new`
[INFO] [stdout] 50 |     pub fn new(operation: &'static dyn Fn(&mut Calculator<K>, &[K]) -> f32, keys: Vec<K>) -> Self {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `i32: CalcKey` is not satisfied
[INFO] [stdout]   --> src/calculator/tests.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |         (5, Rule::new(&product, vec![3, 4])),
[INFO] [stdout]    |             ^^^^^^^^^ the trait `CalcKey` is not implemented for `i32`
[INFO] [stdout]    |
[INFO] [stdout] help: the following other types implement trait `CalcKey`
[INFO] [stdout]   --> src/calculator/mod.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl CalcKey for u32 {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ `u32`
[INFO] [stdout] 14 | impl CalcKey for usize {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ `usize`
[INFO] [stdout] note: required by a bound in `Rule::<K>::new`
[INFO] [stdout]   --> src/calculator/rules.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl<K: CalcKey> Rule<K> {
[INFO] [stdout]    |         ^^^^^^^ required by this bound in `Rule::<K>::new`
[INFO] [stdout] 50 |     pub fn new(operation: &'static dyn Fn(&mut Calculator<K>, &[K]) -> f32, keys: Vec<K>) -> Self {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `i32: CalcKey` is not satisfied
[INFO] [stdout]   --> src/calculator/tests.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |         Calculator::from_components(HashMap::from([(0, 1.0), (2, 5.0), (4, 2.0)]), &calcrules);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CalcKey` is not implemented for `i32`
[INFO] [stdout]    |
[INFO] [stdout] help: the following other types implement trait `CalcKey`
[INFO] [stdout]   --> src/calculator/mod.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl CalcKey for u32 {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ `u32`
[INFO] [stdout] 14 | impl CalcKey for usize {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ `usize`
[INFO] [stdout] note: required by a bound in `Calculator::<'a, K>::from_components`
[INFO] [stdout]   --> src/calculator/mod.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl<'a, K: CalcKey> Calculator<'a, K> {
[INFO] [stdout]    |             ^^^^^^^ required by this bound in `Calculator::<'a, K>::from_components`
[INFO] [stdout] 25 |     pub fn from_components(values: HashMap<K, f32>, rules: &'a Rules<K>) -> Self {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `i32: CalcKey` is not satisfied
[INFO] [stdout]   --> src/calculator/tests.rs:21:32
[INFO] [stdout]    |
[INFO] [stdout] 21 |       let calcrules = Rules::new(HashMap::from([
[INFO] [stdout]    |  _____________________----------_^
[INFO] [stdout]    | |                     |
[INFO] [stdout]    | |                     required by a bound introduced by this call
[INFO] [stdout] 22 | |         (3, Rule::new(&sum, vec![0, 1, 2])),
[INFO] [stdout] 23 | |         (5, Rule::new(&product, vec![3, 4])),
[INFO] [stdout] 24 | |     ]));
[INFO] [stdout]    | |______^ the trait `CalcKey` is not implemented for `i32`
[INFO] [stdout]    |
[INFO] [stdout] help: the following other types implement trait `CalcKey`
[INFO] [stdout]   --> src/calculator/mod.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl CalcKey for u32 {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ `u32`
[INFO] [stdout] 14 | impl CalcKey for usize {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ `usize`
[INFO] [stdout] note: required by a bound in `Rules::<K>::new`
[INFO] [stdout]   --> src/calculator/rules.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<K: CalcKey> Rules<K> {
[INFO] [stdout]    |         ^^^^^^^ required by this bound in `Rules::<K>::new`
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn new(rules: HashMap<K, Rule<K>>) -> Self {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `i32: CalcKey` is not satisfied
[INFO] [stdout]   --> src/calculator/tests.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         (3, Rule::new(&sum, vec![0, 1, 2])),
[INFO] [stdout]    |             ^^^^^^^^^ the trait `CalcKey` is not implemented for `i32`
[INFO] [stdout]    |
[INFO] [stdout] help: the following other types implement trait `CalcKey`
[INFO] [stdout]   --> src/calculator/mod.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl CalcKey for u32 {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ `u32`
[INFO] [stdout] 14 | impl CalcKey for usize {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ `usize`
[INFO] [stdout] note: required by a bound in `Rule::<K>::new`
[INFO] [stdout]   --> src/calculator/rules.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl<K: CalcKey> Rule<K> {
[INFO] [stdout]    |         ^^^^^^^ required by this bound in `Rule::<K>::new`
[INFO] [stdout] 50 |     pub fn new(operation: &'static dyn Fn(&mut Calculator<K>, &[K]) -> f32, keys: Vec<K>) -> Self {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `i32: CalcKey` is not satisfied
[INFO] [stdout]   --> src/calculator/tests.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         (5, Rule::new(&product, vec![3, 4])),
[INFO] [stdout]    |             ^^^^^^^^^ the trait `CalcKey` is not implemented for `i32`
[INFO] [stdout]    |
[INFO] [stdout] help: the following other types implement trait `CalcKey`
[INFO] [stdout]   --> src/calculator/mod.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl CalcKey for u32 {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ `u32`
[INFO] [stdout] 14 | impl CalcKey for usize {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ `usize`
[INFO] [stdout] note: required by a bound in `Rule::<K>::new`
[INFO] [stdout]   --> src/calculator/rules.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl<K: CalcKey> Rule<K> {
[INFO] [stdout]    |         ^^^^^^^ required by this bound in `Rule::<K>::new`
[INFO] [stdout] 50 |     pub fn new(operation: &'static dyn Fn(&mut Calculator<K>, &[K]) -> f32, keys: Vec<K>) -> Self {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `i32: CalcKey` is not satisfied
[INFO] [stdout]   --> src/calculator/tests.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut calc = Calculator::from_components(
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CalcKey` is not implemented for `i32`
[INFO] [stdout]    |
[INFO] [stdout] help: the following other types implement trait `CalcKey`
[INFO] [stdout]   --> src/calculator/mod.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl CalcKey for u32 {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ `u32`
[INFO] [stdout] 14 | impl CalcKey for usize {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ `usize`
[INFO] [stdout] note: required by a bound in `Calculator::<'a, K>::from_components`
[INFO] [stdout]   --> src/calculator/mod.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl<'a, K: CalcKey> Calculator<'a, K> {
[INFO] [stdout]    |             ^^^^^^^ required by this bound in `Calculator::<'a, K>::from_components`
[INFO] [stdout] 25 |     pub fn from_components(values: HashMap<K, f32>, rules: &'a Rules<K>) -> Self {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/calculator/tests.rs:49:17
[INFO] [stdout]    |
[INFO] [stdout] 49 |     calc.remove(&3);
[INFO] [stdout]    |          ------ ^^ expected integer, found `&{integer}`
[INFO] [stdout]    |          |
[INFO] [stdout]    |          arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/calculator/mod.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub fn remove(&mut self, key: K) {
[INFO] [stdout]    |            ^^^^^^            ------
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 49 -     calc.remove(&3);
[INFO] [stdout] 49 +     calc.remove(3);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/calculator/tests.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |     calc.remove(&1);
[INFO] [stdout]    |          ------ ^^ expected integer, found `&{integer}`
[INFO] [stdout]    |          |
[INFO] [stdout]    |          arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/calculator/mod.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub fn remove(&mut self, key: K) {
[INFO] [stdout]    |            ^^^^^^            ------
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 52 -     calc.remove(&1);
[INFO] [stdout] 52 +     calc.remove(1);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `giopt` (lib test) due to 10 previous errors
[INFO] running `Command { std: "docker" "inspect" "ebe4d0ce7024fd001ecf77b62c5bf6658a1826eb7ee0c4b1fbf7098d8670e01e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ebe4d0ce7024fd001ecf77b62c5bf6658a1826eb7ee0c4b1fbf7098d8670e01e", kill_on_drop: false }`
[INFO] [stdout] ebe4d0ce7024fd001ecf77b62c5bf6658a1826eb7ee0c4b1fbf7098d8670e01e
