[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] checking power3xz/rust-in-action against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpower3xz%2Frust-in-action" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/power3xz/rust-in-action 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/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-5-tc1/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: 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] 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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6aa2e8d5b7a23cea1e93eb40f9366bf8b72d02f5919d0e9f00c012392f1fdf63 [INFO] running `Command { std: "docker" "start" "-a" "6aa2e8d5b7a23cea1e93eb40f9366bf8b72d02f5919d0e9f00c012392f1fdf63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6aa2e8d5b7a23cea1e93eb40f9366bf8b72d02f5919d0e9f00c012392f1fdf63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aa2e8d5b7a23cea1e93eb40f9366bf8b72d02f5919d0e9f00c012392f1fdf63", kill_on_drop: false }` [INFO] [stdout] 6aa2e8d5b7a23cea1e93eb40f9366bf8b72d02f5919d0e9f00c012392f1fdf63 [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=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] c196f701636060727f57f8f4dd35bd9fae2cfd2ffb7f4bae6bcbe4ff77d5f783 [INFO] running `Command { std: "docker" "start" "-a" "c196f701636060727f57f8f4dd35bd9fae2cfd2ffb7f4bae6bcbe4ff77d5f783", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.25 [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 l3-1 v0.1.0 (/opt/rustwide/workdir/l3-1) [INFO] [stderr] Checking l2-17 v0.1.0 (/opt/rustwide/workdir/l2-17) [INFO] [stderr] Checking l3-24 v0.1.0 (/opt/rustwide/workdir/l3-24) [INFO] [stderr] Checking l4-9 v0.1.0 (/opt/rustwide/workdir/l4-9) [INFO] [stderr] Checking l2-10 v0.1.0 (/opt/rustwide/workdir/l2-10) [INFO] [stderr] Checking l3-9 v0.1.0 (/opt/rustwide/workdir/l3-9) [INFO] [stderr] Checking l4-1 v0.1.0 (/opt/rustwide/workdir/l4-1) [INFO] [stderr] Checking l1-6 v0.1.0 (/opt/rustwide/workdir/l1-6) [INFO] [stderr] Checking l5-2 v0.1.0 (/opt/rustwide/workdir/l5-2) [INFO] [stderr] Checking l5-6 v0.1.0 (/opt/rustwide/workdir/l5-6) [INFO] [stderr] Checking l2-13 v0.1.0 (/opt/rustwide/workdir/l2-13) [INFO] [stderr] Checking l5-9 v0.1.0 (/opt/rustwide/workdir/l5-9) [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking l1-5 v0.1.0 (/opt/rustwide/workdir/l1-5) [INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `data`, which is owned by the current function [INFO] [stdout] --> l1-6/src/main.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | thread::spawn(|| { [INFO] [stdout] | ^^ may outlive borrowed value `data` [INFO] [stdout] 7 | data = 500; [INFO] [stdout] | ---- `data` is borrowed here [INFO] [stdout] | [INFO] [stdout] note: function requires argument type to outlive `'static` [INFO] [stdout] --> l1-6/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / thread::spawn(|| { [INFO] [stdout] 7 | | data = 500; [INFO] [stdout] 8 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] help: to force the closure to take ownership of `data` (and any other referenced variables), use the `move` keyword [INFO] [stdout] | [INFO] [stdout] 6 | thread::spawn(move || { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `data` as mutable more than once at a time [INFO] [stdout] --> l1-6/src/main.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 6 | thread::spawn(|| { [INFO] [stdout] | - -- first mutable borrow occurs here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 7 | | data = 500; [INFO] [stdout] | | ---- first borrow occurs due to use of `data` in closure [INFO] [stdout] 8 | | }); [INFO] [stdout] | |______- argument requires that `data` is borrowed for `'static` [INFO] [stdout] 9 | thread::spawn(|| { [INFO] [stdout] | ^^ second mutable borrow occurs here [INFO] [stdout] 10 | data = 1000; [INFO] [stdout] | ---- second borrow occurs due to use of `data` in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `data`, which is owned by the current function [INFO] [stdout] --> l1-6/src/main.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | thread::spawn(|| { [INFO] [stdout] | ^^ may outlive borrowed value `data` [INFO] [stdout] 10 | data = 1000; [INFO] [stdout] | ---- `data` is borrowed here [INFO] [stdout] | [INFO] [stdout] note: function requires argument type to outlive `'static` [INFO] [stdout] --> l1-6/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / thread::spawn(|| { [INFO] [stdout] 10 | | data = 1000; [INFO] [stdout] 11 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] help: to force the closure to take ownership of `data` (and any other referenced variables), use the `move` keyword [INFO] [stdout] | [INFO] [stdout] 9 | thread::spawn(move || { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `data` as immutable because it is also borrowed as mutable [INFO] [stdout] --> l1-6/src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 6 | thread::spawn(|| { [INFO] [stdout] | - -- mutable borrow occurs here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 7 | | data = 500; [INFO] [stdout] | | ---- first borrow occurs due to use of `data` in closure [INFO] [stdout] 8 | | }); [INFO] [stdout] | |______- argument requires that `data` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 13 | println!("{}", data); [INFO] [stdout] | ^^^^ immutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0373, E0499, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0373`. [INFO] [stdout] [INFO] [stderr] Checking l1-8 v0.1.0 (/opt/rustwide/workdir/l1-8) [INFO] [stderr] Checking l2-20 v0.1.0 (/opt/rustwide/workdir/l2-20) [INFO] [stderr] error: could not compile `l1-6` (bin "l1-6") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0382]: borrow of moved value: `grains` [INFO] [stdout] --> l1-5/src/main.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 12 | let mut grains: Vec = vec![]; [INFO] [stdout] | ---------- move occurs because `grains` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 15 | drop(grains); [INFO] [stdout] | ------ value moved here [INFO] [stdout] 16 | [INFO] [stdout] 17 | println!("{:?}", grains) [INFO] [stdout] | ^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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-5` (bin "l1-5") due to 2 previous errors [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: `into_iter` takes ownership of the receiver `self`, which moves `letters` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/iter/traits/collect.rs:345:18 [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 1 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` (bin "l1-8" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "c196f701636060727f57f8f4dd35bd9fae2cfd2ffb7f4bae6bcbe4ff77d5f783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c196f701636060727f57f8f4dd35bd9fae2cfd2ffb7f4bae6bcbe4ff77d5f783", kill_on_drop: false }` [INFO] [stdout] c196f701636060727f57f8f4dd35bd9fae2cfd2ffb7f4bae6bcbe4ff77d5f783 [INFO] checking power3xz/rust-in-action against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpower3xz%2Frust-in-action" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/power3xz/rust-in-action on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-5-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f9408ce40838613a176abb133ba05690926d62cd9b6da9b9a1963a32f039e74 [INFO] running `Command { std: "docker" "start" "-a" "2f9408ce40838613a176abb133ba05690926d62cd9b6da9b9a1963a32f039e74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f9408ce40838613a176abb133ba05690926d62cd9b6da9b9a1963a32f039e74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f9408ce40838613a176abb133ba05690926d62cd9b6da9b9a1963a32f039e74", kill_on_drop: false }` [INFO] [stdout] 2f9408ce40838613a176abb133ba05690926d62cd9b6da9b9a1963a32f039e74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61f8a36da3ba5f5d768d5949cab42c5513a48fefe1c24c5f5f493c2efe8780e2 [INFO] running `Command { std: "docker" "start" "-a" "61f8a36da3ba5f5d768d5949cab42c5513a48fefe1c24c5f5f493c2efe8780e2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "61f8a36da3ba5f5d768d5949cab42c5513a48fefe1c24c5f5f493c2efe8780e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61f8a36da3ba5f5d768d5949cab42c5513a48fefe1c24c5f5f493c2efe8780e2", kill_on_drop: false }` [INFO] [stdout] 61f8a36da3ba5f5d768d5949cab42c5513a48fefe1c24c5f5f493c2efe8780e2