[INFO] crate rusty-sandbox 0.2.0 is already in cache [INFO] extracting crate rusty-sandbox 0.2.0 into work/ex/beta-1.37-6/sources/1.36.0/reg/rusty-sandbox/0.2.0 [INFO] extracting crate rusty-sandbox 0.2.0 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/rusty-sandbox/0.2.0 [INFO] validating manifest of rusty-sandbox-0.2.0 on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of rusty-sandbox-0.2.0 on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing rusty-sandbox-0.2.0 [INFO] finished frobbing rusty-sandbox-0.2.0 [INFO] frobbed toml for rusty-sandbox-0.2.0 written to work/ex/beta-1.37-6/sources/1.36.0/reg/rusty-sandbox/0.2.0/Cargo.toml [INFO] started frobbing rusty-sandbox-0.2.0 [INFO] finished frobbing rusty-sandbox-0.2.0 [INFO] frobbed toml for rusty-sandbox-0.2.0 written to work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/rusty-sandbox/0.2.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing rusty-sandbox-0.2.0 against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-6/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/rusty-sandbox/0.2.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "build" "--frozen"` [INFO] [stdout] 5b495e5e972c38af7fb65c8f2c4cb8d93fcc30cbfb55f37824f184cefb674893 [INFO] running `"docker" "start" "-a" "5b495e5e972c38af7fb65c8f2c4cb8d93fcc30cbfb55f37824f184cefb674893"` [INFO] [stderr] Compiling rusty-sandbox v0.2.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `"docker" "inspect" "5b495e5e972c38af7fb65c8f2c4cb8d93fcc30cbfb55f37824f184cefb674893"` [INFO] running `"docker" "rm" "-f" "5b495e5e972c38af7fb65c8f2c4cb8d93fcc30cbfb55f37824f184cefb674893"` [INFO] [stdout] 5b495e5e972c38af7fb65c8f2c4cb8d93fcc30cbfb55f37824f184cefb674893 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-6/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/rusty-sandbox/0.2.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "test" "--frozen" "--no-run"` [INFO] [stdout] c9dabb6c957bc9670bc5816edadfea37a911a2bae93cb045fb580117d372a854 [INFO] running `"docker" "start" "-a" "c9dabb6c957bc9670bc5816edadfea37a911a2bae93cb045fb580117d372a854"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] [stderr] Compiling rusty-sandbox v0.2.0 (/opt/crater/workdir) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | let mut f = File::open("UNLICENSE").unwrap(); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:120:13 [INFO] [stderr] | [INFO] [stderr] 120 | let mut process = Sandbox::new() [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `"docker" "inspect" "c9dabb6c957bc9670bc5816edadfea37a911a2bae93cb045fb580117d372a854"` [INFO] running `"docker" "rm" "-f" "c9dabb6c957bc9670bc5816edadfea37a911a2bae93cb045fb580117d372a854"` [INFO] [stdout] c9dabb6c957bc9670bc5816edadfea37a911a2bae93cb045fb580117d372a854 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-6/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/rusty-sandbox/0.2.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "test" "--frozen"` [INFO] [stdout] d41f9a6b1ceee071f8f9f65432228dd328cadf21d6f0e2a8c81638bfe7a3160f [INFO] running `"docker" "start" "-a" "d41f9a6b1ceee071f8f9f65432228dd328cadf21d6f0e2a8c81638bfe7a3160f"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/crater/target/debug/deps/rusty_sandbox-617d0e2e8f3e452a [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_socket ... ok [INFO] [stdout] test tests::test_preopened_file ... ok [INFO] [stdout] test tests::test_directory ... ok [INFO] [stdout] test tests::test_forbidden_socket ... ok [INFO] [stdout] test tests::test_forbidden_file ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_forbidden_file stdout ---- [INFO] [stdout] thread 'tests::test_forbidden_file' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `"ok"`, [INFO] [stdout] right: `"err"`', src/lib.rs:164:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x558a60c57f53 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x558a60c52dcb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x558a60c561d6 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x558a60c55efe - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x558a60c568df - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x558a60c56461 - std::panicking::continue_panic_fmt::ha6d6ae144369025b [INFO] [stdout] at src/libstd/panicking.rs:381 [INFO] [stdout] 6: 0x558a60c563ae - std::panicking::begin_panic_fmt::he54eae869ed71eb1 [INFO] [stdout] at src/libstd/panicking.rs:336 [INFO] [stdout] 7: 0x558a60c068ad - rusty_sandbox::tests::test_forbidden_file::hc7fc24efa7e207e6 [INFO] [stdout] at src/lib.rs:164 [INFO] [stdout] 8: 0x558a60c065a9 - rusty_sandbox::tests::test_forbidden_file::{{closure}}::hd908f07a959512aa [INFO] [stdout] at src/lib.rs:153 [INFO] [stdout] 9: 0x558a60c033dd - core::ops::function::FnOnce::call_once::h0402dc3383917621 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 10: 0x558a60c13dfe - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 11: 0x558a60c5a619 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 12: 0x558a60c2e6f7 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 13: 0x558a60c09114 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 14: 0x558a60c0d1c4 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 15: 0x558a60c5a619 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 16: 0x558a60c0d7d1 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 17: 0x558a60c492ee - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 18: 0x558a60c59cff - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 19: 0x7fc85a7c54a3 - start_thread [INFO] [stdout] 20: 0x7fc85acc7d0e - __clone [INFO] [stdout] 21: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_forbidden_file [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `"docker" "inspect" "d41f9a6b1ceee071f8f9f65432228dd328cadf21d6f0e2a8c81638bfe7a3160f"` [INFO] running `"docker" "rm" "-f" "d41f9a6b1ceee071f8f9f65432228dd328cadf21d6f0e2a8c81638bfe7a3160f"` [INFO] [stdout] d41f9a6b1ceee071f8f9f65432228dd328cadf21d6f0e2a8c81638bfe7a3160f