[INFO] cloning repository https://github.com/kai-xlr/rusty-workers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kai-xlr/rusty-workers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkai-xlr%2Frusty-workers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkai-xlr%2Frusty-workers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25d231832112831a784213b365e26e9a114ee073 [INFO] testing kai-xlr/rusty-workers against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkai-xlr%2Frusty-workers" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kai-xlr/rusty-workers [INFO] finished tweaking git repo https://github.com/kai-xlr/rusty-workers [INFO] tweaked toml for git repo https://github.com/kai-xlr/rusty-workers written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kai-xlr/rusty-workers on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kai-xlr/rusty-workers 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] ccd18089f23c753698d46457e571413c229d3460a43cc74241eb665f094c2112 [INFO] running `Command { std: "docker" "start" "ccd18089f23c753698d46457e571413c229d3460a43cc74241eb665f094c2112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccd18089f23c753698d46457e571413c229d3460a43cc74241eb665f094c2112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ccd18089f23c753698d46457e571413c229d3460a43cc74241eb665f094c2112" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccd18089f23c753698d46457e571413c229d3460a43cc74241eb665f094c2112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ccd18089f23c753698d46457e571413c229d3460a43cc74241eb665f094c2112" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling worker_pool_v1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1.45s [INFO] running `Command { std: "docker" "inspect" "ccd18089f23c753698d46457e571413c229d3460a43cc74241eb665f094c2112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ccd18089f23c753698d46457e571413c229d3460a43cc74241eb665f094c2112" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling worker_pool_v1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 2.52s [INFO] running `Command { std: "docker" "inspect" "ccd18089f23c753698d46457e571413c229d3460a43cc74241eb665f094c2112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ccd18089f23c753698d46457e571413c229d3460a43cc74241eb665f094c2112" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/worker_pool_v1-754b44451d10ac43) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_single_job_execution ... ok [INFO] [stdout] test tests::test_high_volume_stress ... ok [INFO] [stdout] test tests::test_enqueue_success ... ok [INFO] [stdout] test tests::test_clean_shutdown ... ok [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] test tests::test_job_panic_behavior - should panic ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_job_panic_behavior stdout ---- [INFO] [stdout] [INFO] [stdout] thread '' (390) panicked at src/lib.rs:94:13: [INFO] [stdout] Intentional System Disruption [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5cfb1a4ef141 - <::print::DisplayBacktrace as core[7c831bd917ebf35f]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5cfb1a50339a - core[7c831bd917ebf35f]::fmt::write [INFO] [stdout] 2: 0x5cfb1a4f362c - as core[7c831bd917ebf35f]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5cfb1a4cb4e6 - std[104cf6e2632825ea]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5cfb1a4e7629 - std[104cf6e2632825ea]::panicking::default_hook [INFO] [stdout] 5: 0x5cfb1a483a60 - test[73009c9f9aebf890]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5cfb1a4e7952 - std[104cf6e2632825ea]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5cfb1a4cb5c4 - std[104cf6e2632825ea]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5cfb1a4c3f39 - std[104cf6e2632825ea]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5cfb1a4cc18d - __rustc[b0d56fa5b193ad05]::rust_begin_unwind [INFO] [stdout] 10: 0x5cfb1a503acc - core[7c831bd917ebf35f]::panicking::panic_fmt [INFO] [stdout] 11: 0x5cfb1a475a9a - >::call_once::{shim:vtable#0} [INFO] [stdout] 12: 0x5cfb1a4717fb - std[104cf6e2632825ea]::sys::backtrace::__rust_begin_short_backtrace::<::new::{closure#0}, ()> [INFO] [stdout] 13: 0x5cfb1a471a6e - ::new::{closure#0}, ()>::{closure#1} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 14: 0x5cfb1a4eea09 - ::new::thread_start [INFO] [stdout] 15: 0x71befbf9607a - [INFO] [stdout] 16: 0x71befc029534 - clone [INFO] [stdout] 17: 0x0 - [INFO] [stdout] [INFO] [stdout] thread '' (389) panicked at src/worker.rs:19:49: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: PoisonError { .. } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5cfb1a4ef141 - <::print::DisplayBacktrace as core[7c831bd917ebf35f]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5cfb1a50339a - core[7c831bd917ebf35f]::fmt::write [INFO] [stdout] 2: 0x5cfb1a4f362c - as core[7c831bd917ebf35f]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5cfb1a4cb4e6 - std[104cf6e2632825ea]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5cfb1a4e7629 - std[104cf6e2632825ea]::panicking::default_hook [INFO] [stdout] 5: 0x5cfb1a483a60 - test[73009c9f9aebf890]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5cfb1a4e7952 - std[104cf6e2632825ea]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5cfb1a4cb592 - std[104cf6e2632825ea]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5cfb1a4c3f39 - std[104cf6e2632825ea]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5cfb1a4cc18d - __rustc[b0d56fa5b193ad05]::rust_begin_unwind [INFO] [stdout] 10: 0x5cfb1a503acc - core[7c831bd917ebf35f]::panicking::panic_fmt [INFO] [stdout] 11: 0x5cfb1a5038a2 - core[7c831bd917ebf35f]::result::unwrap_failed [INFO] [stdout] 12: 0x5cfb1a47193b - std[104cf6e2632825ea]::sys::backtrace::__rust_begin_short_backtrace::<::new::{closure#0}, ()> [INFO] [stdout] 13: 0x5cfb1a471a6e - ::new::{closure#0}, ()>::{closure#1} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 14: 0x5cfb1a4eea09 - ::new::thread_start [INFO] [stdout] 15: 0x71befbf9607a - [INFO] [stdout] 16: 0x71befc029534 - clone [INFO] [stdout] 17: 0x0 - [INFO] [stdout] note: panic did not contain expected string [INFO] [stdout] panic message: "called `Result::unwrap()` on an `Err` value: PoisonError { .. }" [INFO] [stdout] expected substring: "Intentional System Disruption" [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_job_panic_behavior [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ccd18089f23c753698d46457e571413c229d3460a43cc74241eb665f094c2112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccd18089f23c753698d46457e571413c229d3460a43cc74241eb665f094c2112", kill_on_drop: false }` [INFO] [stdout] ccd18089f23c753698d46457e571413c229d3460a43cc74241eb665f094c2112