[INFO] cloning repository https://github.com/snowmantw/risp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/snowmantw/risp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnowmantw%2Frisp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnowmantw%2Frisp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 706812c5aad9927836a02937e3e581da778ba4de [INFO] checking snowmantw/risp against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnowmantw%2Frisp" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/snowmantw/risp on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/snowmantw/risp [INFO] finished tweaking git repo https://github.com/snowmantw/risp [INFO] tweaked toml for git repo https://github.com/snowmantw/risp written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/snowmantw/risp 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread-id v3.0.0 [INFO] [stderr] Downloaded regex v0.2.1 [INFO] [stderr] Downloaded aho-corasick v0.6.2 [INFO] [stderr] Downloaded regex-syntax v0.4.0 [INFO] [stderr] Downloaded thread_local v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 322c38bc298b4db0918e3bb419346e9f9bb11a7feecff2dc28f8ce9f89bf0624 [INFO] running `Command { std: "docker" "start" "-a" "322c38bc298b4db0918e3bb419346e9f9bb11a7feecff2dc28f8ce9f89bf0624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "322c38bc298b4db0918e3bb419346e9f9bb11a7feecff2dc28f8ce9f89bf0624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "322c38bc298b4db0918e3bb419346e9f9bb11a7feecff2dc28f8ce9f89bf0624", kill_on_drop: false }` [INFO] [stdout] 322c38bc298b4db0918e3bb419346e9f9bb11a7feecff2dc28f8ce9f89bf0624 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55cca56e43facebdd224b08c6b3e85caedc27453b2ca83f5520a9e4f505f8746 [INFO] running `Command { std: "docker" "start" "-a" "55cca56e43facebdd224b08c6b3e85caedc27453b2ca83f5520a9e4f505f8746", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.4.0 [INFO] [stderr] Checking nodes v0.1.0 (/opt/rustwide/workdir/src/nodes) [INFO] [stdout] error[E0277]: the size for values of type `(dyn State + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/nodes/src/list.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | fn transfer(&self, node: State) -> State { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn State + '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] 10 | fn transfer(&self, node: impl State) -> State { [INFO] [stdout] | ++++ [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 10 | fn transfer(&self, node: &dyn State) -> State { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn State + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/nodes/src/list.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | fn transfer(&self, node: State) -> State { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn State + '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] 24 | fn transfer(&self, node: impl State) -> State { [INFO] [stdout] | ++++ [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 24 | fn transfer(&self, node: &dyn State) -> State { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.node` which is behind a shared reference [INFO] [stdout] --> src/nodes/src/list.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | return self.node; [INFO] [stdout] | ^^^^^^^^^ move occurs because `self.node` has type `Node`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `Node` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/nodes/src/node.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/nodes/src/list.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | return self.node; [INFO] [stdout] | --------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.node` which is behind a shared reference [INFO] [stdout] --> src/nodes/src/list.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | return self.node; [INFO] [stdout] | ^^^^^^^^^ move occurs because `self.node` has type `Node`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `Node` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/nodes/src/node.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/nodes/src/list.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | return self.node; [INFO] [stdout] | --------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nodes` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "55cca56e43facebdd224b08c6b3e85caedc27453b2ca83f5520a9e4f505f8746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55cca56e43facebdd224b08c6b3e85caedc27453b2ca83f5520a9e4f505f8746", kill_on_drop: false }` [INFO] [stdout] 55cca56e43facebdd224b08c6b3e85caedc27453b2ca83f5520a9e4f505f8746