[INFO] fetching crate brainheck 0.1.8...
[INFO] checking brainheck-0.1.8 against try#264a7c4a1c917c83d13895a31231f9d93c7b67e1 for pr-132289
[INFO] extracting crate brainheck 0.1.8 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate brainheck 0.1.8 on toolchain 264a7c4a1c917c83d13895a31231f9d93c7b67e1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate brainheck 0.1.8
[INFO] finished tweaking crates.io crate brainheck 0.1.8
[INFO] tweaked toml for crates.io crate brainheck 0.1.8 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 14 packages to latest compatible versions
[INFO] [stderr]       Adding clap v2.34.0 (available: v4.5.20)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be004ab26aecb16d6087220a8805720f3d5d9a607850245ec080036cf99d1e5a
[INFO] running `Command { std: "docker" "start" "-a" "be004ab26aecb16d6087220a8805720f3d5d9a607850245ec080036cf99d1e5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be004ab26aecb16d6087220a8805720f3d5d9a607850245ec080036cf99d1e5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be004ab26aecb16d6087220a8805720f3d5d9a607850245ec080036cf99d1e5a", kill_on_drop: false }`
[INFO] [stdout] be004ab26aecb16d6087220a8805720f3d5d9a607850245ec080036cf99d1e5a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bf46c66b3d7d28bdfb615b39d990e0589c8169cc31423d56efcc8b33bf432ce3
[INFO] running `Command { std: "docker" "start" "-a" "bf46c66b3d7d28bdfb615b39d990e0589c8169cc31423d56efcc8b33bf432ce3", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking yaml-rust v0.3.5
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking brainheck v0.1.8 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules
[INFO] [stdout]   --> src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[macro_use] 
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules
[INFO] [stdout]   --> src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[macro_use] 
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `helloworld_src`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/test.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut helloworld_src = String::new();
[INFO] [stdout]    |         ------------------ captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 21 |     b.iter(|| brainheck(helloworld_src, fake_std_in));
[INFO] [stdout]    |            --           ^^^^^^^^^^^^^^ move occurs because `helloworld_src` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout]    |            |
[INFO] [stdout]    |            captured by this `FnMut` closure
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 21 |     b.iter(|| brainheck(helloworld_src.clone(), fake_std_in));
[INFO] [stdout]    |                                       ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `fake_std_in`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/test.rs:21:41
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let fake_std_in = String::new();
[INFO] [stdout]    |         ----------- captured outer variable
[INFO] [stdout] 21 |     b.iter(|| brainheck(helloworld_src, fake_std_in));
[INFO] [stdout]    |            --                           ^^^^^^^^^^^ move occurs because `fake_std_in` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout]    |            |
[INFO] [stdout]    |            captured by this `FnMut` closure
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 21 |     b.iter(|| brainheck(helloworld_src, fake_std_in.clone()));
[INFO] [stdout]    |                                                    ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `brainheck` (lib test) due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "bf46c66b3d7d28bdfb615b39d990e0589c8169cc31423d56efcc8b33bf432ce3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf46c66b3d7d28bdfb615b39d990e0589c8169cc31423d56efcc8b33bf432ce3", kill_on_drop: false }`
[INFO] [stdout] bf46c66b3d7d28bdfb615b39d990e0589c8169cc31423d56efcc8b33bf432ce3
