[INFO] cloning repository https://github.com/codeandplay/rust_in_action_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codeandplay/rust_in_action_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeandplay%2Frust_in_action_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeandplay%2Frust_in_action_examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eeb4d1a40dd3445150dec6122f9a2f2011da65ae [INFO] checking codeandplay/rust_in_action_examples against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeandplay%2Frust_in_action_examples" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codeandplay/rust_in_action_examples on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/codeandplay/rust_in_action_examples [INFO] finished tweaking git repo https://github.com/codeandplay/rust_in_action_examples [INFO] tweaked toml for git repo https://github.com/codeandplay/rust_in_action_examples written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/codeandplay/rust_in_action_examples already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20de2b2d7822e254ccaf3ef5f54b49332bd85c31ad60bda5dd0f7857c9974ed7 [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" "20de2b2d7822e254ccaf3ef5f54b49332bd85c31ad60bda5dd0f7857c9974ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20de2b2d7822e254ccaf3ef5f54b49332bd85c31ad60bda5dd0f7857c9974ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20de2b2d7822e254ccaf3ef5f54b49332bd85c31ad60bda5dd0f7857c9974ed7", kill_on_drop: false }` [INFO] [stdout] 20de2b2d7822e254ccaf3ef5f54b49332bd85c31ad60bda5dd0f7857c9974ed7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7d7c9c852fe67ad2a3c51c94bf5f8a95bf712c58a2624d944966801e4cf0e80 [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" "b7d7c9c852fe67ad2a3c51c94bf5f8a95bf712c58a2624d944966801e4cf0e80", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0382]: borrow of moved value: `letters` [INFO] [stdout] --> src/bin/1_9_borrow_after_move.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 2 | let mut letters = vec!["a", "b", "c"]; [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] | ------- [INFO] [stdout] | | [INFO] [stdout] | `letters` moved due to this implicit call to `.into_iter()` [INFO] [stdout] | help: consider borrowing to avoid moving into the for loop: `&letters` [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] [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 `example` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b7d7c9c852fe67ad2a3c51c94bf5f8a95bf712c58a2624d944966801e4cf0e80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7d7c9c852fe67ad2a3c51c94bf5f8a95bf712c58a2624d944966801e4cf0e80", kill_on_drop: false }` [INFO] [stdout] b7d7c9c852fe67ad2a3c51c94bf5f8a95bf712c58a2624d944966801e4cf0e80