[INFO] fetching crate brainheck 0.1.8...
[INFO] testing brainheck-0.1.8 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate brainheck 0.1.8 into /workspace/builds/worker-1-tc2/source
[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-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate brainheck 0.1.8 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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.51)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3863113d0c262a3263dd9cc3dab80082f882ce0e9dc02fd1f2f004462bc53175
[INFO] running `Command { std: "docker" "start" "-a" "3863113d0c262a3263dd9cc3dab80082f882ce0e9dc02fd1f2f004462bc53175", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3863113d0c262a3263dd9cc3dab80082f882ce0e9dc02fd1f2f004462bc53175", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3863113d0c262a3263dd9cc3dab80082f882ce0e9dc02fd1f2f004462bc53175", kill_on_drop: false }`
[INFO] [stdout] 3863113d0c262a3263dd9cc3dab80082f882ce0e9dc02fd1f2f004462bc53175
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 428c0075c42b224ad91504ffa2251947aac1d477a4f36c3d6f5cbc357ed2fcdb
[INFO] running `Command { std: "docker" "start" "-a" "428c0075c42b224ad91504ffa2251947aac1d477a4f36c3d6f5cbc357ed2fcdb", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling yaml-rust v0.3.5
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling brainheck v0.1.8 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on use statements
[INFO] [stdout]   --> src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[macro_use] 
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = help: `#[macro_use]` can be applied to crates, extern crates, and modules
[INFO] [stdout]    = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.76s
[INFO] running `Command { std: "docker" "inspect" "428c0075c42b224ad91504ffa2251947aac1d477a4f36c3d6f5cbc357ed2fcdb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "428c0075c42b224ad91504ffa2251947aac1d477a4f36c3d6f5cbc357ed2fcdb", kill_on_drop: false }`
[INFO] [stdout] 428c0075c42b224ad91504ffa2251947aac1d477a4f36c3d6f5cbc357ed2fcdb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2ac246d8a1b7a982401e9cef38d741b6344c4e10e9f999fb8194d63508f0c75f
[INFO] running `Command { std: "docker" "start" "-a" "2ac246d8a1b7a982401e9cef38d741b6344c4e10e9f999fb8194d63508f0c75f", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on use statements
[INFO] [stdout]   --> src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[macro_use] 
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = help: `#[macro_use]` can be applied to crates, extern crates, and modules
[INFO] [stdout]    = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling brainheck v0.1.8 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on use statements
[INFO] [stdout]   --> src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[macro_use] 
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = help: `#[macro_use]` can be applied to crates, extern crates, and modules
[INFO] [stdout]    = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) 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]    |         ------------------   ------------- move occurs because `helloworld_src` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout]    |         |
[INFO] [stdout]    |         captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 21 |     b.iter(|| brainheck(helloworld_src, fake_std_in));
[INFO] [stdout]    |            --           ^^^^^^^^^^^^^^ `helloworld_src` is moved here
[INFO] [stdout]    |            |
[INFO] [stdout]    |            captured by this `FnMut` closure
[INFO] [stdout]    |
[INFO] [stdout] help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
[INFO] [stdout]   --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/bench.rs:40:11
[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]    |         -----------   ------------- move occurs because `fake_std_in` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout]    |         |
[INFO] [stdout]    |         captured outer variable
[INFO] [stdout] 21 |     b.iter(|| brainheck(helloworld_src, fake_std_in));
[INFO] [stdout]    |            --                           ^^^^^^^^^^^ `fake_std_in` is moved here
[INFO] [stdout]    |            |
[INFO] [stdout]    |            captured by this `FnMut` closure
[INFO] [stdout]    |
[INFO] [stdout] help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
[INFO] [stdout]   --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/bench.rs:40:11
[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] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "2ac246d8a1b7a982401e9cef38d741b6344c4e10e9f999fb8194d63508f0c75f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ac246d8a1b7a982401e9cef38d741b6344c4e10e9f999fb8194d63508f0c75f", kill_on_drop: false }`
[INFO] [stdout] 2ac246d8a1b7a982401e9cef38d741b6344c4e10e9f999fb8194d63508f0c75f
