[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#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitvakatu%2Ftest_attach" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vitvakatu/test_attach on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "read-manifest" "--manifest-path" "Cargo.toml", 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-14/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: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a1c6367dd3393c5b7eb060885200ab8553e38990a813c0af2979bdd8a921bdf [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" "1a1c6367dd3393c5b7eb060885200ab8553e38990a813c0af2979bdd8a921bdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a1c6367dd3393c5b7eb060885200ab8553e38990a813c0af2979bdd8a921bdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a1c6367dd3393c5b7eb060885200ab8553e38990a813c0af2979bdd8a921bdf", kill_on_drop: false }` [INFO] [stdout] 1a1c6367dd3393c5b7eb060885200ab8553e38990a813c0af2979bdd8a921bdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64cdd74aa565c94608b522faeefebfca13a4631e89dc286783651355940ed1ed [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" "64cdd74aa565c94608b522faeefebfca13a4631e89dc286783651355940ed1ed", 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 byteorder v1.3.1 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking ascii v0.9.1 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling walkdir v2.2.7 [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: `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 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: `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: `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] = note: `#[warn(unused_variables)]` on by default [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: `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] [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: associated function is never used: `new` [INFO] [stdout] --> src/executors.rs:124:12 [INFO] [stdout] | [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 is never used: `new` [INFO] [stdout] --> src/executors.rs:242:12 [INFO] [stdout] | [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: 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] = note: `#[warn(unused_variables)]` on by default [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: `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] [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: associated function is never used: `new` [INFO] [stdout] --> src/executors.rs:124:12 [INFO] [stdout] | [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 is never used: `new` [INFO] [stdout] --> src/executors.rs:242:12 [INFO] [stdout] | [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.48s [INFO] running `Command { std: "docker" "inspect" "64cdd74aa565c94608b522faeefebfca13a4631e89dc286783651355940ed1ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64cdd74aa565c94608b522faeefebfca13a4631e89dc286783651355940ed1ed", kill_on_drop: false }` [INFO] [stdout] 64cdd74aa565c94608b522faeefebfca13a4631e89dc286783651355940ed1ed