[INFO] cloning repository https://github.com/jasonholloway/kb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jasonholloway/kb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasonholloway%2Fkb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasonholloway%2Fkb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e14c11969d1f6ff95de9d278c2c8a2e4c4f3220 [INFO] checking jasonholloway/kb against master#a836d9b6413d9d593be6c09463ff8c4c70e56599 for pr-84037 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasonholloway%2Fkb" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jasonholloway/kb on toolchain a836d9b6413d9d593be6c09463ff8c4c70e56599 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jasonholloway/kb [INFO] finished tweaking git repo https://github.com/jasonholloway/kb [INFO] tweaked toml for git repo https://github.com/jasonholloway/kb written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/jasonholloway/kb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "fetch" "--locked" "--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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cef425789083e1f04932a7b7d9c7f20641bbbf1579d7bcc02a96689db941f6ad [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" "cef425789083e1f04932a7b7d9c7f20641bbbf1579d7bcc02a96689db941f6ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cef425789083e1f04932a7b7d9c7f20641bbbf1579d7bcc02a96689db941f6ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cef425789083e1f04932a7b7d9c7f20641bbbf1579d7bcc02a96689db941f6ad", kill_on_drop: false }` [INFO] [stdout] cef425789083e1f04932a7b7d9c7f20641bbbf1579d7bcc02a96689db941f6ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 3b92f576e136268b34c94acb88ea92c7b015ff19fc34614440130eb29438ee5b [INFO] running `Command { std: "docker" "start" "-a" "3b92f576e136268b34c94acb88ea92c7b015ff19fc34614440130eb29438ee5b", kill_on_drop: false }` [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling evdev-sys v0.2.1 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking evdev-rs v0.4.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking spectral v0.6.0 [INFO] [stderr] Compiling velcro_core v0.5.2 [INFO] [stderr] Compiling velcro_macros v0.5.2 [INFO] [stderr] Checking velcro v0.5.3 [INFO] [stderr] Checking kb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `big_machine::BigMachine`, `lead_machine::LeadMachine` [INFO] [stdout] --> src/main.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | use machines::{RunRef, big_machine::BigMachine, lead_machine::LeadMachine, machine::Machine, mode_machine::ModeMachine, print_keys::Print... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `big_machine::BigMachine`, `lead_machine::LeadMachine` [INFO] [stdout] --> src/main.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | use machines::{RunRef, big_machine::BigMachine, lead_machine::LeadMachine, machine::Machine, mode_machine::ModeMachine, print_keys::Print... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `run` has an incompatible type for trait [INFO] [stdout] --> src/machines/test.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | fn run(&mut self, x: &mut Ctx>, ev: Ev<()>) { [INFO] [stdout] | ^^^^^^ expected enum `common::Ev`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: src/machines/mod.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 98 | fn run(&mut self, x: &mut Ctx, ev: Ev) -> (); [INFO] [stdout] | -------- type in trait [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut Masker, &mut Ctx>, common::Ev>)` [INFO] [stdout] found fn pointer `fn(&mut Masker, &mut Ctx>, common::Ev<()>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `run` has an incompatible type for trait [INFO] [stdout] --> src/machines/./runner_test.rs:106:48 [INFO] [stdout] | [INFO] [stdout] 106 | fn run(&mut self, x: &mut Ctx>, ev: Ev<()>) { [INFO] [stdout] | ^^^^^^ expected enum `common::Ev`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: src/machines/mod.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 98 | fn run(&mut self, x: &mut Ctx, ev: Ev) -> (); [INFO] [stdout] | -------- type in trait [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut Mayfly, &mut Ctx>, common::Ev>)` [INFO] [stdout] found fn pointer `fn(&mut Mayfly, &mut Ctx>, common::Ev<()>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `run` has an incompatible type for trait [INFO] [stdout] --> src/machines/./runner_test.rs:126:48 [INFO] [stdout] | [INFO] [stdout] 126 | fn run(&mut self, x: &mut Ctx>, ev: Ev<()>) { [INFO] [stdout] | ^^^^^^ expected enum `common::Ev`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: src/machines/mod.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 98 | fn run(&mut self, x: &mut Ctx, ev: Ev) -> (); [INFO] [stdout] | -------- type in trait [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut Redoubler, &mut Ctx>, common::Ev>)` [INFO] [stdout] found fn pointer `fn(&mut Redoubler, &mut Ctx>, common::Ev<()>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `run` has an incompatible type for trait [INFO] [stdout] --> src/machines/./runner_test.rs:149:48 [INFO] [stdout] | [INFO] [stdout] 149 | fn run(&mut self, x: &mut Ctx>, ev: Ev<()>) { [INFO] [stdout] | ^^^^^^ expected enum `common::Ev`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: src/machines/mod.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 98 | fn run(&mut self, x: &mut Ctx, ev: Ev) -> (); [INFO] [stdout] | -------- type in trait [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut TestMachine, &mut Ctx>, common::Ev>)` [INFO] [stdout] found fn pointer `fn(&mut TestMachine, &mut Ctx>, common::Ev<()>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `common::Emit>` with `common::Emit>` [INFO] [stdout] --> src/machines/test.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | assert!(&sink.buff.contains(&Key(2, Down, None))); [INFO] [stdout] | ^^^^^^^^ no implementation for `common::Emit> == common::Emit>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `common::Emit>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/machines/test.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | assert!(&sink.buff.contains(&Key(2, Down, None))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected enum `common::Emit`, found enum `common::Ev` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&common::Emit>` [INFO] [stdout] found reference `&common::Ev<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `common::Emit>` with `common::Emit>` [INFO] [stdout] --> src/machines/test.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | assert!(&sink.buff.contains(&Key(2, Up, None))); [INFO] [stdout] | ^^^^^^^^ no implementation for `common::Emit> == common::Emit>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `common::Emit>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/machines/test.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | assert!(&sink.buff.contains(&Key(2, Up, None))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected enum `common::Emit`, found enum `common::Ev` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&common::Emit>` [INFO] [stdout] found reference `&common::Ev<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `common::Emit>` with `common::Emit>` [INFO] [stdout] --> src/machines/test.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | assert!(&sink.buff.contains(&Key(1, Down, None)), [INFO] [stdout] | ^^^^^^^^ no implementation for `common::Emit> == common::Emit>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `common::Emit>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/machines/test.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | assert!(&sink.buff.contains(&Key(1, Down, None)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected enum `common::Emit`, found enum `common::Ev` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&common::Emit>` [INFO] [stdout] found reference `&common::Ev<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `common::Emit>` with `common::Emit>` [INFO] [stdout] --> src/machines/test.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | assert!(&sink.buff.contains(&Key(1, Up, None)), [INFO] [stdout] | ^^^^^^^^ no implementation for `common::Emit> == common::Emit>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `common::Emit>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/machines/test.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | assert!(&sink.buff.contains(&Key(1, Up, None)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected enum `common::Emit`, found enum `common::Ev` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&common::Emit>` [INFO] [stdout] found reference `&common::Ev<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/machines/test.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | x.emit(ev); [INFO] [stdout] | ^^ expected enum `common::Ev`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `common::Ev>` [INFO] [stdout] found enum `common::Ev<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `common::Emit>` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/machines/./runner_test.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | dbg!(&sink.buff); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `common::Emit>` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Debug` is not implemented for `common::Emit>` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `std::collections::VecDeque>>` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&&std::collections::VecDeque>>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/machines/./runner_test.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | x.emit(ev); [INFO] [stdout] | ^^ expected enum `common::Ev`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `common::Ev>` [INFO] [stdout] found enum `common::Ev<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/machines/./runner_test.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | x.emit(ev); [INFO] [stdout] | ^^ expected enum `common::Ev`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `common::Ev>` [INFO] [stdout] found enum `common::Ev<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kb` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "3b92f576e136268b34c94acb88ea92c7b015ff19fc34614440130eb29438ee5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b92f576e136268b34c94acb88ea92c7b015ff19fc34614440130eb29438ee5b", kill_on_drop: false }` [INFO] [stdout] 3b92f576e136268b34c94acb88ea92c7b015ff19fc34614440130eb29438ee5b