[INFO] cloning repository https://github.com/newtoallofthis123/approach_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/newtoallofthis123/approach_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnewtoallofthis123%2Fapproach_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnewtoallofthis123%2Fapproach_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b087b80f2ee2d875b043d81118f36fe16c43c1d [INFO] checking newtoallofthis123/approach_rust against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnewtoallofthis123%2Fapproach_rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/newtoallofthis123/approach_rust on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/newtoallofthis123/approach_rust [INFO] finished tweaking git repo https://github.com/newtoallofthis123/approach_rust [INFO] tweaked toml for git repo https://github.com/newtoallofthis123/approach_rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/newtoallofthis123/approach_rust 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e498801d5e454d0d071325152c9f7331d77d4a6cd208241c2f558a78c37ea839 [INFO] running `Command { std: "docker" "start" "-a" "e498801d5e454d0d071325152c9f7331d77d4a6cd208241c2f558a78c37ea839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e498801d5e454d0d071325152c9f7331d77d4a6cd208241c2f558a78c37ea839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e498801d5e454d0d071325152c9f7331d77d4a6cd208241c2f558a78c37ea839", kill_on_drop: false }` [INFO] [stdout] e498801d5e454d0d071325152c9f7331d77d4a6cd208241c2f558a78c37ea839 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c163d79887a07c913f5c17ee6ed3b8686065e9baed0b9ee02892ccf3edf01108 [INFO] running `Command { std: "docker" "start" "-a" "c163d79887a07c913f5c17ee6ed3b8686065e9baed0b9ee02892ccf3edf01108", kill_on_drop: false }` [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking render v0.1.0 (/opt/rustwide/workdir/src/render) [INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a shared reference [INFO] [stdout] --> src/render/examples/cool.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | for await item in self.StreamCorpus(){ [INFO] [stdout] | ^^^^ -------------- `*self` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `*self` has type `Node`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `Node::StreamCorpus` takes ownership of the receiver `self`, which moves `*self` [INFO] [stdout] --> src/render/examples/cool.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | fn StreamCorpus(self) -> impl Stream> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: you can `clone` the value and consume it, but this might not be your desired behavior [INFO] [stdout] | [INFO] [stdout] 87 | for await item in ::clone(&self).StreamCorpus(){ [INFO] [stdout] | ++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0700]: hidden type for `impl Stream>` captures lifetime that does not appear in bounds [INFO] [stdout] --> src/render/examples/cool.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 82 | fn stream(&self) -> (impl Stream>) { [INFO] [stdout] | ----- ---------------------------------- opaque type defined here [INFO] [stdout] | | [INFO] [stdout] | hidden type `AsyncStream, {async block@/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/async-stream-0.3.5/src/lib.rs:193:9: 193:59}>` captures the anonymous lifetime defined here [INFO] [stdout] 83 | / stream! { [INFO] [stdout] 84 | | for await item in self.StreamHead(){ [INFO] [stdout] 85 | | yield item; [INFO] [stdout] 86 | | } [INFO] [stdout] ... | [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to declare that `impl Stream>` captures `'_`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 82 | fn stream(&self) -> (impl Stream> + '_) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0700. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `render` (example "cool") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "c163d79887a07c913f5c17ee6ed3b8686065e9baed0b9ee02892ccf3edf01108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c163d79887a07c913f5c17ee6ed3b8686065e9baed0b9ee02892ccf3edf01108", kill_on_drop: false }` [INFO] [stdout] c163d79887a07c913f5c17ee6ed3b8686065e9baed0b9ee02892ccf3edf01108