[INFO] fetching crate brainheck 0.1.8... [INFO] testing brainheck-0.1.8 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate brainheck 0.1.8 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate brainheck 0.1.8 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec4569faf65bbd3aad00c43cb3de6432ee887fb239158a5bde0cdd61a8371b85 [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" "ec4569faf65bbd3aad00c43cb3de6432ee887fb239158a5bde0cdd61a8371b85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec4569faf65bbd3aad00c43cb3de6432ee887fb239158a5bde0cdd61a8371b85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec4569faf65bbd3aad00c43cb3de6432ee887fb239158a5bde0cdd61a8371b85", kill_on_drop: false }` [INFO] [stdout] ec4569faf65bbd3aad00c43cb3de6432ee887fb239158a5bde0cdd61a8371b85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", 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] 5dde2e8e5194e686fcc0e9d7a6a6ce9a8330b74877b226803924b5bd77f3fc43 [INFO] running `Command { std: "docker" "start" "-a" "5dde2e8e5194e686fcc0e9d7a6a6ce9a8330b74877b226803924b5bd77f3fc43", kill_on_drop: false }` [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling brainheck v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused attribute [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.76s [INFO] running `Command { std: "docker" "inspect" "5dde2e8e5194e686fcc0e9d7a6a6ce9a8330b74877b226803924b5bd77f3fc43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dde2e8e5194e686fcc0e9d7a6a6ce9a8330b74877b226803924b5bd77f3fc43", kill_on_drop: false }` [INFO] [stdout] 5dde2e8e5194e686fcc0e9d7a6a6ce9a8330b74877b226803924b5bd77f3fc43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9002511b2edae4bfe752ecb243e8e8083b91d9c7274f6c30d007a4c099110cc [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" "d9002511b2edae4bfe752ecb243e8e8083b91d9c7274f6c30d007a4c099110cc", kill_on_drop: false }` [INFO] [stderr] Compiling brainheck v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused attribute [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: 1 warning emitted [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] [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] [INFO] [stdout] error: aborting due to 2 previous errors [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` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d9002511b2edae4bfe752ecb243e8e8083b91d9c7274f6c30d007a4c099110cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9002511b2edae4bfe752ecb243e8e8083b91d9c7274f6c30d007a4c099110cc", kill_on_drop: false }` [INFO] [stdout] d9002511b2edae4bfe752ecb243e8e8083b91d9c7274f6c30d007a4c099110cc