[INFO] cloning repository https://github.com/hec-ovi/tripwire [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hec-ovi/tripwire" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhec-ovi%2Ftripwire"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhec-ovi%2Ftripwire'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b2fc304cfe5b49943df642652bd3ba047fd05b39 [INFO] testing hec-ovi/tripwire against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-3 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhec-ovi%2Ftripwire" "/workspace/builds/worker-1-tc1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hec-ovi/tripwire [INFO] finished tweaking git repo https://github.com/hec-ovi/tripwire [INFO] tweaked toml for git repo https://github.com/hec-ovi/tripwire written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hec-ovi/tripwire on toolchain 1.100.0-beta.13 [INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"` [INFO] crate git repo https://github.com/hec-ovi/tripwire already has a lockfile, it will not be regenerated [INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"` [INFO] [stdout] 4c9ee88dc69b4dd9251d159784e2786252efca282fe26e75a0a573e644b1108e [INFO] running `"docker" "start" "4c9ee88dc69b4dd9251d159784e2786252efca282fe26e75a0a573e644b1108e"` [INFO] running `"docker" "inspect" "4c9ee88dc69b4dd9251d159784e2786252efca282fe26e75a0a573e644b1108e"` [INFO] running `"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" "4c9ee88dc69b4dd9251d159784e2786252efca282fe26e75a0a573e644b1108e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"` [INFO] running `"docker" "inspect" "4c9ee88dc69b4dd9251d159784e2786252efca282fe26e75a0a573e644b1108e"` [INFO] running `"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" "4c9ee88dc69b4dd9251d159784e2786252efca282fe26e75a0a573e644b1108e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"` [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.26 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling typenum v1.20.1 [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling zmij v1.0.23 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Compiling aho-corasick v1.1.5 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.104 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling hybrid-array v0.4.15 [INFO] [stderr] Compiling clap_lex v1.1.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling syn v3.0.6 [INFO] [stderr] Compiling const-oid v0.10.2 [INFO] [stderr] Compiling winnow v1.0.4 [INFO] [stderr] Compiling clap_builder v4.6.7 [INFO] [stderr] Compiling crypto-common v0.2.2 [INFO] [stderr] Compiling block-buffer v0.12.1 [INFO] [stderr] Compiling toml_parser v1.1.3+spec-1.1.0 [INFO] [stderr] Compiling digest v0.11.3 [INFO] [stderr] Compiling cpufeatures v0.3.1 [INFO] [stderr] Compiling cfg-if v1.0.5 [INFO] [stderr] Compiling toml_writer v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling regex-automata v0.4.18 [INFO] [stderr] Compiling serde_spanned v1.1.1 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling toml v1.1.6+spec-1.1.0 [INFO] [stderr] Compiling sha2 v0.11.0 [INFO] [stderr] Compiling clap_derive v4.6.7 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling clap v4.6.7 [INFO] [stderr] Compiling regex v1.13.1 [INFO] [stderr] Compiling tripwire v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 17.75s [INFO] running `"docker" "inspect" "4c9ee88dc69b4dd9251d159784e2786252efca282fe26e75a0a573e644b1108e"` [INFO] running `"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" "4c9ee88dc69b4dd9251d159784e2786252efca282fe26e75a0a573e644b1108e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"` [INFO] [stderr] Compiling tripwire v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 9.70s [INFO] running `"docker" "inspect" "4c9ee88dc69b4dd9251d159784e2786252efca282fe26e75a0a573e644b1108e"` [INFO] running `"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" "4c9ee88dc69b4dd9251d159784e2786252efca282fe26e75a0a573e644b1108e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--release"` [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.13s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/build/tripwire/8dee1c8db1f6e5f0/out/tripwire-8dee1c8db1f6e5f0) [INFO] [stdout] running 26 tests [INFO] [stdout] test log::tests::garbage_line_is_detected ... ok [INFO] [stdout] test log::tests::interrupted_last_record_is_reported_as_incomplete ... ok [INFO] [stdout] test log::tests::edited_field_is_detected ... ok [INFO] [stdout] test log::tests::reordered_lines_are_detected ... ok [INFO] [stdout] test log::tests::truncated_tail_needs_the_head_hash ... ok [INFO] [stdout] test log::tests::written_log_verifies ... ok [INFO] [stdout] test policy::tests::default_applies_when_no_rule_matches ... ok [INFO] [stdout] test log::tests::non_canonical_bytes_are_detected ... ok [INFO] [stdout] test policy::tests::glob_matches_star_only ... ok [INFO] [stdout] test policy::tests::invalid_policies_are_rejected ... ok [INFO] [stdout] test policy::tests::first_matching_rule_wins ... ok [INFO] [stdout] test policy::tests::hides_only_tools_denied_by_name ... ok [INFO] [stdout] test log::tests::each_record_is_a_single_write ... ok [INFO] [stdout] test proxy::tests::duplicate_keys_cannot_smuggle_a_call_past_the_gate ... ok [INFO] [stdout] test proxy::tests::other_messages_pass_through ... ok [INFO] [stdout] test policy::tests::max_calls_counts_only_allowed_calls ... ok [INFO] [stdout] test proxy::tests::batches_and_garbage_are_rejected ... ok [INFO] [stdout] test replay::tests::initialize_is_matched_on_method_alone ... ok [INFO] [stdout] test proxy::tests::denied_calls_never_reach_the_server ... ok [INFO] [stdout] test log::tests::deleted_line_is_detected ... ok [INFO] [stdout] test proxy::tests::tools_list_hides_tools_denied_by_name ... ok [INFO] [stdout] test proxy::tests::allowed_call_is_forwarded_and_answered ... ok [INFO] [stdout] test replay::tests::repeated_requests_are_served_in_order_then_repeat_the_last ... ok [INFO] [stdout] test replay::tests::unmatched_requests_get_an_error_and_notifications_nothing ... ok [INFO] [stdout] test policy::tests::deny_args_search_nested_values_and_keys ... ok [INFO] [stdout] test proxy::tests::tools_list_is_filtered_even_when_its_id_is_reused ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/build/tripwire/fc16a33a0adc45f1/out/tripwire-fc16a33a0adc45f1) [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/cli.rs (/opt/rustwide/target/release/build/tripwire/665dfe34ef63c8af/out/cli-665dfe34ef63c8af) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test record_replay_verify_and_tamper ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- record_replay_verify_and_tamper stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'record_replay_verify_and_tamper' (1172) panicked at tests/cli.rs:26:10: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5bc88bffd1c1 - <::print::DisplayBacktrace as core[a2c1a7cd948629ec]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5bc88c011e9a - core[a2c1a7cd948629ec]::fmt::write [INFO] [stdout] 2: 0x5bc88c0016ac - as core[a2c1a7cd948629ec]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5bc88bfd7b96 - std[f3a103f8b3fbc6]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5bc88bff4be9 - std[f3a103f8b3fbc6]::panicking::default_hook [INFO] [stdout] 5: 0x5bc88bf7f3c0 - test[4d2796dde4b18a79]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x5bc88bff4da2 - std[f3a103f8b3fbc6]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5bc88bfd7c42 - std[f3a103f8b3fbc6]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5bc88bfd1109 - std[f3a103f8b3fbc6]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5bc88bfd884d - __rustc[72b30b8c63551d82]::rust_begin_unwind [INFO] [stdout] 10: 0x5bc88c0125cc - core[a2c1a7cd948629ec]::panicking::panic_fmt [INFO] [stdout] 11: 0x5bc88c0123a2 - core[a2c1a7cd948629ec]::result::unwrap_failed [INFO] [stdout] 12: 0x5bc88bf64346 - cli[4d6c61592547bd90]::tripwire [INFO] [stdout] 13: 0x5bc88bf65857 - cli[4d6c61592547bd90]::record_replay_verify_and_tamper [INFO] [stdout] 14: 0x5bc88bf67be9 - >::call_once [INFO] [stdout] 15: 0x5bc88bf7280b - test[4d2796dde4b18a79]::__rust_begin_short_backtrace::, fn() -> core[a2c1a7cd948629ec]::result::Result<(), alloc[9de6908353064a78]::string::String>> [INFO] [stdout] 16: 0x5bc88bf7f9e5 - test[4d2796dde4b18a79]::run_test::{closure#0} [INFO] [stdout] 17: 0x5bc88bf78dd4 - std[f3a103f8b3fbc6]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 18: 0x5bc88bf82a72 - ::{closure#1} as core[a2c1a7cd948629ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 19: 0x5bc88bffc4df - ::new::thread_start [INFO] [stdout] 20: 0x7dbedd9d3dfa - [INFO] [stdout] 21: 0x7dbedda673d4 - clone [INFO] [stdout] 22: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] record_replay_verify_and_tamper [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test cli` [INFO] running `"docker" "inspect" "4c9ee88dc69b4dd9251d159784e2786252efca282fe26e75a0a573e644b1108e"` [INFO] running `"docker" "rm" "-f" "4c9ee88dc69b4dd9251d159784e2786252efca282fe26e75a0a573e644b1108e"` [INFO] [stdout] 4c9ee88dc69b4dd9251d159784e2786252efca282fe26e75a0a573e644b1108e