[INFO] cloning repository https://github.com/power3xz/rust-in-action [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/power3xz/rust-in-action" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpower3xz%2Frust-in-action", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpower3xz%2Frust-in-action'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 409f37b437ad161cb1dc57f9410ca9123f97dcf6 [INFO] testing power3xz/rust-in-action against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpower3xz%2Frust-in-action" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/power3xz/rust-in-action on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/power3xz/rust-in-action [INFO] finished tweaking git repo https://github.com/power3xz/rust-in-action [INFO] tweaked toml for git repo https://github.com/power3xz/rust-in-action written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/power3xz/rust-in-action already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", 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] 3e762b62ceed1c847abed441fc927f6f8153ec465d457d7c107ef1171084edac [INFO] running `Command { std: "docker" "start" "-a" "3e762b62ceed1c847abed441fc927f6f8153ec465d457d7c107ef1171084edac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e762b62ceed1c847abed441fc927f6f8153ec465d457d7c107ef1171084edac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e762b62ceed1c847abed441fc927f6f8153ec465d457d7c107ef1171084edac", kill_on_drop: false }` [INFO] [stdout] 3e762b62ceed1c847abed441fc927f6f8153ec465d457d7c107ef1171084edac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abdd322b87fc86242043fa9273c11945eef3b5198ce2e6e8d019ba2d3bd246e4 [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" "abdd322b87fc86242043fa9273c11945eef3b5198ce2e6e8d019ba2d3bd246e4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling l5-2 v0.1.0 (/opt/rustwide/workdir/l5-2) [INFO] [stderr] Compiling l6-7 v0.1.0 (/opt/rustwide/workdir/l6-7) [INFO] [stderr] Compiling l2-6 v0.1.0 (/opt/rustwide/workdir/l2-6) [INFO] [stderr] Compiling l6-4 v0.1.0 (/opt/rustwide/workdir/l6-4) [INFO] [stderr] Compiling l5-5 v0.1.0 (/opt/rustwide/workdir/l5-5) [INFO] [stderr] Compiling l6-1 v0.1.0 (/opt/rustwide/workdir/l6-1) [INFO] [stderr] Compiling l1-8 v0.1.0 (/opt/rustwide/workdir/l1-8) [INFO] [stderr] Compiling l5-6 v0.1.0 (/opt/rustwide/workdir/l5-6) [INFO] [stderr] Compiling l3-19 v0.1.0 (/opt/rustwide/workdir/l3-19) [INFO] [stderr] Compiling l5-3 v0.1.0 (/opt/rustwide/workdir/l5-3) [INFO] [stderr] Compiling l5-14 v0.1.0 (/opt/rustwide/workdir/l5-14) [INFO] [stderr] Compiling l2-13 v0.1.0 (/opt/rustwide/workdir/l2-13) [INFO] [stderr] Compiling l2-1 v0.1.0 (/opt/rustwide/workdir/l2-1) [INFO] [stderr] Compiling l1-7 v0.1.0 (/opt/rustwide/workdir/l1-7) [INFO] [stderr] Compiling l2-35 v0.1.0 (/opt/rustwide/workdir/l2-35) [INFO] [stdout] error[E0382]: borrow of moved value: `letters` [INFO] [stdout] --> l1-8/src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 2 | let mut letters = vec!["a", "b", "b"]; [INFO] [stdout] | ----------- move occurs because `letters` has type `Vec<&str>`, which does not implement the `Copy` trait [INFO] [stdout] 3 | [INFO] [stdout] 4 | for letter in letters { [INFO] [stdout] | ------- `letters` moved due to this implicit call to `.into_iter()` [INFO] [stdout] 5 | println!("{}", letter); [INFO] [stdout] 6 | letters.push(letter.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: this function takes ownership of the receiver `self`, which moves `letters` [INFO] [stdout] help: consider iterating over a slice of the `Vec<&str>`'s content to avoid moving into the `for` loop [INFO] [stdout] | [INFO] [stdout] 4 | for letter in &letters { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `l1-8` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "abdd322b87fc86242043fa9273c11945eef3b5198ce2e6e8d019ba2d3bd246e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abdd322b87fc86242043fa9273c11945eef3b5198ce2e6e8d019ba2d3bd246e4", kill_on_drop: false }` [INFO] [stdout] abdd322b87fc86242043fa9273c11945eef3b5198ce2e6e8d019ba2d3bd246e4