[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] checking fluXion129/giopt against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfluXion129%2Fgiopt" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fluXion129/giopt on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "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" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking fluXion129/giopt against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfluXion129%2Fgiopt" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fluXion129/giopt on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "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" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 035a53da49edbc596fceccff86eb8914a80522233a9419a9e888007acc4ef64c [INFO] running `Command { std: "docker" "start" "-a" "035a53da49edbc596fceccff86eb8914a80522233a9419a9e888007acc4ef64c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "035a53da49edbc596fceccff86eb8914a80522233a9419a9e888007acc4ef64c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "035a53da49edbc596fceccff86eb8914a80522233a9419a9e888007acc4ef64c", kill_on_drop: false }` [INFO] [stdout] 035a53da49edbc596fceccff86eb8914a80522233a9419a9e888007acc4ef64c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5679415ef8596a0b67285bb1d99c7abb56faeaf260913a43ed0df9bfee51a255 [INFO] running `Command { std: "docker" "start" "-a" "5679415ef8596a0b67285bb1d99c7abb56faeaf260913a43ed0df9bfee51a255", kill_on_drop: false }` [INFO] [stderr] Checking 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] u32 [INFO] [stdout] usize [INFO] [stdout] note: required by a bound in `Rules::::new` [INFO] [stdout] --> src/calculator/rules.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | impl Rules { [INFO] [stdout] | ^^^^^^^ required by this bound in `Rules::::new` [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn new(rules: HashMap>) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [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] u32 [INFO] [stdout] usize [INFO] [stdout] note: required by a bound in `Rule::::new` [INFO] [stdout] --> src/calculator/rules.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | impl Rule { [INFO] [stdout] | ^^^^^^^ required by this bound in `Rule::::new` [INFO] [stdout] 50 | pub fn new(operation: &'static dyn Fn(&mut Calculator, &[K]) -> f32, keys: Vec) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [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] u32 [INFO] [stdout] usize [INFO] [stdout] note: required by a bound in `Rule::::new` [INFO] [stdout] --> src/calculator/rules.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | impl Rule { [INFO] [stdout] | ^^^^^^^ required by this bound in `Rule::::new` [INFO] [stdout] 50 | pub fn new(operation: &'static dyn Fn(&mut Calculator, &[K]) -> f32, keys: Vec) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [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] u32 [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, rules: &'a Rules) -> Self { [INFO] [stdout] | --------------- required by a bound in this associated function [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] u32 [INFO] [stdout] usize [INFO] [stdout] note: required by a bound in `Rules::::new` [INFO] [stdout] --> src/calculator/rules.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | impl Rules { [INFO] [stdout] | ^^^^^^^ required by this bound in `Rules::::new` [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn new(rules: HashMap>) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [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] u32 [INFO] [stdout] usize [INFO] [stdout] note: required by a bound in `Rule::::new` [INFO] [stdout] --> src/calculator/rules.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | impl Rule { [INFO] [stdout] | ^^^^^^^ required by this bound in `Rule::::new` [INFO] [stdout] 50 | pub fn new(operation: &'static dyn Fn(&mut Calculator, &[K]) -> f32, keys: Vec) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [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] u32 [INFO] [stdout] usize [INFO] [stdout] note: required by a bound in `Rule::::new` [INFO] [stdout] --> src/calculator/rules.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | impl Rule { [INFO] [stdout] | ^^^^^^^ required by this bound in `Rule::::new` [INFO] [stdout] 50 | pub fn new(operation: &'static dyn Fn(&mut Calculator, &[K]) -> f32, keys: Vec) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [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] u32 [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, rules: &'a Rules) -> Self { [INFO] [stdout] | --------------- required by a bound in this associated function [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5679415ef8596a0b67285bb1d99c7abb56faeaf260913a43ed0df9bfee51a255", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5679415ef8596a0b67285bb1d99c7abb56faeaf260913a43ed0df9bfee51a255", kill_on_drop: false }` [INFO] [stdout] 5679415ef8596a0b67285bb1d99c7abb56faeaf260913a43ed0df9bfee51a255