[INFO] cloning repository https://github.com/vitvakatu/test_attach [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vitvakatu/test_attach" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitvakatu%2Ftest_attach", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitvakatu%2Ftest_attach'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1d1d104d4375f96df0efc94b63a81ffe1c69489 [INFO] checking vitvakatu/test_attach against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitvakatu%2Ftest_attach" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vitvakatu/test_attach on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vitvakatu/test_attach [INFO] finished tweaking git repo https://github.com/vitvakatu/test_attach [INFO] tweaked toml for git repo https://github.com/vitvakatu/test_attach written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vitvakatu/test_attach 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ascii v0.9.1 [INFO] [stderr] Downloaded backtrace v0.3.20 [INFO] [stderr] Downloaded jni v0.12.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58053dace4ad89cf255e1a7dadc9fc4365088c521c100fb2e47241401fd86f98 [INFO] running `Command { std: "docker" "start" "-a" "58053dace4ad89cf255e1a7dadc9fc4365088c521c100fb2e47241401fd86f98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58053dace4ad89cf255e1a7dadc9fc4365088c521c100fb2e47241401fd86f98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58053dace4ad89cf255e1a7dadc9fc4365088c521c100fb2e47241401fd86f98", kill_on_drop: false }` [INFO] [stdout] 58053dace4ad89cf255e1a7dadc9fc4365088c521c100fb2e47241401fd86f98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8281fddd2eed755d1637a3268607e58ddfd1165722263ee583759b736ee7aa7f [INFO] running `Command { std: "docker" "start" "-a" "8281fddd2eed755d1637a3268607e58ddfd1165722263ee583759b736ee7aa7f", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking ascii v0.9.1 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling backtrace v0.3.20 [INFO] [stderr] Compiling jni v0.12.2 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking test_detach v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `InitArgs` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use jni::{InitArgs, InitArgsBuilder, JNIVersion}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::forget` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem::forget; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InitArgs` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use jni::{InitArgs, InitArgsBuilder, JNIVersion}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AttachGuard` [INFO] [stdout] --> src/executors.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | use jni::{JNIEnv, JavaVM, AttachGuard}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::forget` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem::forget; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/executors.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | use std::cell::{RefCell, Ref}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/executors.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AttachGuard` [INFO] [stdout] --> src/executors.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | use jni::{JNIEnv, JavaVM, AttachGuard}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/executors.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | use std::cell::{RefCell, Ref}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/executors.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread1` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let thread1 = spawn(move || { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread1` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let thread1 = spawn(move || { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread2` [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let thread2 = spawn(move || { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread2` [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let thread2 = spawn(move || { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | executor1.with_attached(|env| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | executor1.with_attached(|env| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | executor2.with_attached(|env| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | executor2.with_attached(|env| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/executors.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl DumbExecutor { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 123 | /// Creates a `DumbExecutor` [INFO] [stdout] 124 | pub fn new(vm: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/executors.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 240 | impl MainExecutor { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 241 | /// Creates a `MainExecutor` [INFO] [stdout] 242 | pub fn new(vm: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/executors.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl DumbExecutor { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 123 | /// Creates a `DumbExecutor` [INFO] [stdout] 124 | pub fn new(vm: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/executors.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 240 | impl MainExecutor { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 241 | /// Creates a `MainExecutor` [INFO] [stdout] 242 | pub fn new(vm: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.41s [INFO] running `Command { std: "docker" "inspect" "8281fddd2eed755d1637a3268607e58ddfd1165722263ee583759b736ee7aa7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8281fddd2eed755d1637a3268607e58ddfd1165722263ee583759b736ee7aa7f", kill_on_drop: false }` [INFO] [stdout] 8281fddd2eed755d1637a3268607e58ddfd1165722263ee583759b736ee7aa7f