[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] testing kevinchannon/stateful against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevinchannon%2Fstateful" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kevinchannon/stateful on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3de53994bb5af0be4c720e93075566cdbc6b0822dcac4ec85961c52f87b6a066 [INFO] running `Command { std: "docker" "start" "-a" "3de53994bb5af0be4c720e93075566cdbc6b0822dcac4ec85961c52f87b6a066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3de53994bb5af0be4c720e93075566cdbc6b0822dcac4ec85961c52f87b6a066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3de53994bb5af0be4c720e93075566cdbc6b0822dcac4ec85961c52f87b6a066", kill_on_drop: false }` [INFO] [stdout] 3de53994bb5af0be4c720e93075566cdbc6b0822dcac4ec85961c52f87b6a066 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d11d94def92b0391b0a258a9494864124c0995792f0c7d7e45e95f3d8379e30b [INFO] running `Command { std: "docker" "start" "-a" "d11d94def92b0391b0a258a9494864124c0995792f0c7d7e45e95f3d8379e30b", kill_on_drop: false }` [INFO] [stderr] Compiling 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] | ^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `(dyn Fn() + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stateless` (bin "stateless") due to 4 previous errors [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: 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/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:260:5 [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] running `Command { std: "docker" "inspect" "d11d94def92b0391b0a258a9494864124c0995792f0c7d7e45e95f3d8379e30b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d11d94def92b0391b0a258a9494864124c0995792f0c7d7e45e95f3d8379e30b", kill_on_drop: false }` [INFO] [stdout] d11d94def92b0391b0a258a9494864124c0995792f0c7d7e45e95f3d8379e30b