[INFO] cloning repository https://github.com/kevinchannon/stateful [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kevinchannon/stateful" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevinchannon%2Fstateful", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevinchannon%2Fstateful'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d222665229df41c4cd6628321a2e2e82a68a06d2 [INFO] checking kevinchannon/stateful against try#f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208 for pr-139419 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevinchannon%2Fstateful" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kevinchannon/stateful on toolchain f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kevinchannon/stateful [INFO] finished tweaking git repo https://github.com/kevinchannon/stateful [INFO] tweaked toml for git repo https://github.com/kevinchannon/stateful written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kevinchannon/stateful 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" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66edfe6c9185faf606f11f74ccb030857c92ae6c13fa81fe19c605ad97cee47f [INFO] running `Command { std: "docker" "start" "-a" "66edfe6c9185faf606f11f74ccb030857c92ae6c13fa81fe19c605ad97cee47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66edfe6c9185faf606f11f74ccb030857c92ae6c13fa81fe19c605ad97cee47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66edfe6c9185faf606f11f74ccb030857c92ae6c13fa81fe19c605ad97cee47f", kill_on_drop: false }` [INFO] [stdout] 66edfe6c9185faf606f11f74ccb030857c92ae6c13fa81fe19c605ad97cee47f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 834d7090e98818bd77093c0d4c4829eb90e1ce3d963d745a5903ddf99b8b21f5 [INFO] running `Command { std: "docker" "start" "-a" "834d7090e98818bd77093c0d4c4829eb90e1ce3d963d745a5903ddf99b8b21f5", kill_on_drop: false }` [INFO] [stderr] Checking stateless v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: `(dyn Fn() + 'static)` doesn't implement `Debug` [INFO] [stdout] --> src/stateful/elements.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 8 | pub on_entry: Action [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `(dyn Fn() + 'static)` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `(dyn Fn() + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Box` [INFO] [stdout] --> src/stateful/elements.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 8 | pub on_entry: Action [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn Fn() + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/stateful/elements.rs:12:67 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new_with_entry(id: u32, name: &'sm_life str, on_entry: dyn Fn()->()) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn Fn() + 'static)` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: you can use `impl Trait` as the argument type [INFO] [stdout] | [INFO] [stdout] 12 - pub fn new_with_entry(id: u32, name: &'sm_life str, on_entry: dyn Fn()->()) -> Self { [INFO] [stdout] 12 + pub fn new_with_entry(id: u32, name: &'sm_life str, on_entry: impl Fn()->()) -> Self { [INFO] [stdout] | [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new_with_entry(id: u32, name: &'sm_life str, on_entry: &dyn Fn()->()) -> Self { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn Fn()` cannot be known at compilation time [INFO] [stdout] --> src/stateful/elements.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | State{id: id, name: name, on_entry: Box::new(on_entry)} [INFO] [stdout] | -------- ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn Fn()` [INFO] [stdout] note: required by a bound in `Box::::new` [INFO] [stdout] --> /rustc/f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208/library/alloc/src/boxed.rs:260:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn Fn() + 'static)` doesn't implement `Debug` [INFO] [stdout] --> src/stateful/elements.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 8 | pub on_entry: Action [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `(dyn Fn() + 'static)` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `(dyn Fn() + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stateless` (bin "stateless") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `stateless` (bin "stateless" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "834d7090e98818bd77093c0d4c4829eb90e1ce3d963d745a5903ddf99b8b21f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "834d7090e98818bd77093c0d4c4829eb90e1ce3d963d745a5903ddf99b8b21f5", kill_on_drop: false }` [INFO] [stdout] 834d7090e98818bd77093c0d4c4829eb90e1ce3d963d745a5903ddf99b8b21f5