[INFO] fetching crate if-newer 0.0.0... [INFO] testing if-newer-0.0.0 against beta-2022-09-25 for beta-1.65-1 [INFO] extracting crate if-newer 0.0.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate if-newer 0.0.0 on toolchain beta-2022-09-25 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-09-25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate if-newer 0.0.0 [INFO] finished tweaking crates.io crate if-newer 0.0.0 [INFO] tweaked toml for crates.io crate if-newer 0.0.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate if-newer 0.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-09-25" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2afed75cfb7ada706c70785258bd5261054ab74d6489b74ba5e7cd4e71b6a184 [INFO] running `Command { std: "docker" "start" "-a" "2afed75cfb7ada706c70785258bd5261054ab74d6489b74ba5e7cd4e71b6a184", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2afed75cfb7ada706c70785258bd5261054ab74d6489b74ba5e7cd4e71b6a184", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2afed75cfb7ada706c70785258bd5261054ab74d6489b74ba5e7cd4e71b6a184", kill_on_drop: false }` [INFO] [stdout] 2afed75cfb7ada706c70785258bd5261054ab74d6489b74ba5e7cd4e71b6a184 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a55d591174647456a8d169b25ca515944c1ddc4fe7962fa95fe87f69211b097 [INFO] running `Command { std: "docker" "start" "-a" "8a55d591174647456a8d169b25ca515944c1ddc4fe7962fa95fe87f69211b097", kill_on_drop: false }` [INFO] [stderr] Compiling if-newer v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.79s [INFO] running `Command { std: "docker" "inspect" "8a55d591174647456a8d169b25ca515944c1ddc4fe7962fa95fe87f69211b097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a55d591174647456a8d169b25ca515944c1ddc4fe7962fa95fe87f69211b097", kill_on_drop: false }` [INFO] [stdout] 8a55d591174647456a8d169b25ca515944c1ddc4fe7962fa95fe87f69211b097 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eebcff90adade754898605f52c4fd5895967db184107b0854623f3dc3b60c725 [INFO] running `Command { std: "docker" "start" "-a" "eebcff90adade754898605f52c4fd5895967db184107b0854623f3dc3b60c725", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.114 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling executable-path v1.0.0 [INFO] [stderr] Compiling pretty_assertions v1.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling cradle v0.2.1 [INFO] [stderr] Compiling if-newer v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.02s [INFO] running `Command { std: "docker" "inspect" "eebcff90adade754898605f52c4fd5895967db184107b0854623f3dc3b60c725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eebcff90adade754898605f52c4fd5895967db184107b0854623f3dc3b60c725", kill_on_drop: false }` [INFO] [stdout] eebcff90adade754898605f52c4fd5895967db184107b0854623f3dc3b60c725 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c4f75dcba63ca8985f5968e2587edc2a94e2893183c4997d16b528361c746828 [INFO] running `Command { std: "docker" "start" "-a" "c4f75dcba63ca8985f5968e2587edc2a94e2893183c4997d16b528361c746828", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/if_newer-141504fdce3c2c32) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/simple.rs (/opt/rustwide/target/debug/deps/simple-6710e19b98133d28) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test multiple_input_files ... FAILED [INFO] [stdout] test simple ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- multiple_input_files stdout ---- [INFO] [stdout] it reads input files from stdin when '-' is given [INFO] [stdout] it runs the command when output doesn't exist [INFO] [stdout] it doesn't run the command when output exists [INFO] [stdout] it runs the command when the first output is newer [INFO] [stdout] thread 'multiple_input_files' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] [INFO] [stdout] Diff < left / right > : [INFO] [stdout] Output { [INFO] [stdout] < stdout: "", [INFO] [stdout] < stderr: "output is newer than all input files, not running: echo command ran\n", [INFO] [stdout] > stdout: "command ran", [INFO] [stdout] > stderr: "input1 is newer than output, running: echo command ran\n", [INFO] [stdout] exit_code: 0, [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] ', tests/simple.rs:167:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55999b8dfc60 - std::backtrace_rs::backtrace::libunwind::trace::h418ac92b8090bf5c [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 1: 0x55999b8dfc60 - std::backtrace_rs::backtrace::trace_unsynchronized::h5a8b1d5040587567 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55999b8dfc60 - std::sys_common::backtrace::_print_fmt::hcf39df7f920a8a7f [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55999b8dfc60 - ::fmt::h66e1c999b09d2400 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55999b903e0e - core::fmt::write::h90c5198062f012b5 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/core/src/fmt/mod.rs:1202:17 [INFO] [stdout] 5: 0x55999b8dbef5 - std::io::Write::write_fmt::h00a2c5322f8dc51f [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/io/mod.rs:1679:15 [INFO] [stdout] 6: 0x55999b8e1723 - std::sys_common::backtrace::_print::h87a6c14cdd097577 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55999b8e1723 - std::sys_common::backtrace::print::h30b70c9b033f6cc7 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55999b8e1723 - std::panicking::default_hook::{{closure}}::hbdc56e1a8ccd98b3 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55999b8e1393 - std::panicking::default_hook::he95e3d05cd05c0e6 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55999b8e1dca - std::panicking::rust_panic_with_hook::h6fda7132bdef5dc6 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55999b8e1cc7 - std::panicking::begin_panic_handler::{{closure}}::hdd34c0fe877dbd38 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55999b8e010c - std::sys_common::backtrace::__rust_end_short_backtrace::hc4c468f100834158 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55999b8e19e2 - rust_begin_unwind [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55999b807fe3 - core::panicking::panic_fmt::h70c06d9696b6af6b [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/core/src/panicking.rs:142:14 [INFO] [stdout] 15: 0x55999b821cf6 - simple::multiple_input_files::h62abb366d5cca607 [INFO] [stdout] at /opt/rustwide/workdir/tests/simple.rs:167:5 [INFO] [stdout] 16: 0x55999b82053e - simple::multiple_input_files::{{closure}}::h028cb6dbf9095291 [INFO] [stdout] at /opt/rustwide/workdir/tests/simple.rs:120:1 [INFO] [stdout] 17: 0x55999b81025e - core::ops::function::FnOnce::call_once::h39009724e5d8289a [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 18: 0x55999b85f053 - core::ops::function::FnOnce::call_once::h2e8a52ad66727b27 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 19: 0x55999b85f053 - test::__rust_begin_short_backtrace::h00f0943f032ff642 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/test/src/lib.rs:572:5 [INFO] [stdout] 20: 0x55999b85dd30 - as core::ops::function::FnOnce>::call_once::hc2746b61ab542207 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/alloc/src/boxed.rs:1940:9 [INFO] [stdout] 21: 0x55999b85dd30 - as core::ops::function::FnOnce<()>>::call_once::h1dd7b49eba27b2fb [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 22: 0x55999b85dd30 - std::panicking::try::do_call::h4264e98462e752f6 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/panicking.rs:492:40 [INFO] [stdout] 23: 0x55999b85dd30 - std::panicking::try::he1e26123ccdba206 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/panicking.rs:456:19 [INFO] [stdout] 24: 0x55999b85dd30 - std::panic::catch_unwind::hca18f7df3a262a39 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/panic.rs:137:14 [INFO] [stdout] 25: 0x55999b85dd30 - test::run_test_in_process::h954cbfb354c03624 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/test/src/lib.rs:595:18 [INFO] [stdout] 26: 0x55999b85dd30 - test::run_test::run_test_inner::{{closure}}::hd11bcb77cf0be02b [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/test/src/lib.rs:489:39 [INFO] [stdout] 27: 0x55999b829394 - test::run_test::run_test_inner::{{closure}}::h0ee1164cd4000444 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/test/src/lib.rs:516:37 [INFO] [stdout] 28: 0x55999b829394 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2444a8bf2299e115 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 29: 0x55999b82ecd7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf61e65ca3edc9cb6 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/thread/mod.rs:514:17 [INFO] [stdout] 30: 0x55999b82ecd7 - as core::ops::function::FnOnce<()>>::call_once::heff8284567ddd2d7 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 31: 0x55999b82ecd7 - std::panicking::try::do_call::h1c39e0ee27edb7aa [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/panicking.rs:492:40 [INFO] [stdout] 32: 0x55999b82ecd7 - std::panicking::try::h39c411ba1b200607 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/panicking.rs:456:19 [INFO] [stdout] 33: 0x55999b82ecd7 - std::panic::catch_unwind::ha1a48063592b2048 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/panic.rs:137:14 [INFO] [stdout] 34: 0x55999b82ecd7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h1d4fff3787235bc5 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/thread/mod.rs:513:30 [INFO] [stdout] 35: 0x55999b82ecd7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8b4a4652702ff076 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 36: 0x55999b8e71d3 - as core::ops::function::FnOnce>::call_once::hc9910a9536e38743 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/alloc/src/boxed.rs:1940:9 [INFO] [stdout] 37: 0x55999b8e71d3 - as core::ops::function::FnOnce>::call_once::hcdffe552b616cc83 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/alloc/src/boxed.rs:1940:9 [INFO] [stdout] 38: 0x55999b8e71d3 - std::sys::unix::thread::Thread::new::thread_start::h62ac0b55dc2802b3 [INFO] [stdout] at /rustc/e5da98475e88b52384bac96923bba7cd45941d69/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 39: 0x7fe0cc825609 - start_thread [INFO] [stdout] 40: 0x7fe0cc5f5133 - clone [INFO] [stdout] 41: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] multiple_input_files [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test simple` [INFO] running `Command { std: "docker" "inspect" "c4f75dcba63ca8985f5968e2587edc2a94e2893183c4997d16b528361c746828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4f75dcba63ca8985f5968e2587edc2a94e2893183c4997d16b528361c746828", kill_on_drop: false }` [INFO] [stdout] c4f75dcba63ca8985f5968e2587edc2a94e2893183c4997d16b528361c746828