[INFO] fetching crate licensure 0.8.1... [INFO] testing licensure-0.8.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate licensure 0.8.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate licensure 0.8.1 [INFO] finished tweaking crates.io crate licensure 0.8.1 [INFO] tweaked toml for crates.io crate licensure 0.8.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate licensure 0.8.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate licensure 0.8.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded document-features v0.2.11 [INFO] [stderr] Downloaded windows-link v0.1.0 [INFO] [stderr] Downloaded serde_regex v1.1.0 [INFO] [stderr] Downloaded time-macros v0.2.21 [INFO] [stderr] Downloaded simplelog v0.12.2 [INFO] [stderr] Downloaded clap v4.5.32 [INFO] [stderr] Downloaded ureq-proto v0.3.5 [INFO] [stderr] Downloaded cookie_store v0.21.1 [INFO] [stderr] Downloaded time v0.3.40 [INFO] [stderr] Downloaded ureq v3.0.10 [INFO] [stderr] Downloaded indexmap v2.8.0 [INFO] [stderr] Downloaded rustls-webpki v0.103.0 [INFO] [stderr] Downloaded clap_builder v4.5.32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5a8d41aacbb0e4287f601424ae1731bf2c2e6ef0875a11d5309c91e46d7e383 [INFO] running `Command { std: "docker" "start" "-a" "d5a8d41aacbb0e4287f601424ae1731bf2c2e6ef0875a11d5309c91e46d7e383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5a8d41aacbb0e4287f601424ae1731bf2c2e6ef0875a11d5309c91e46d7e383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5a8d41aacbb0e4287f601424ae1731bf2c2e6ef0875a11d5309c91e46d7e383", kill_on_drop: false }` [INFO] [stdout] d5a8d41aacbb0e4287f601424ae1731bf2c2e6ef0875a11d5309c91e46d7e383 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a40e8255cc20c0f5b22ee49d779e2560f688c292563e2a614e8cd1b0289b20b9 [INFO] running `Command { std: "docker" "start" "-a" "a40e8255cc20c0f5b22ee49d779e2560f688c292563e2a614e8cd1b0289b20b9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling time-macros v0.2.21 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling ureq-proto v0.3.5 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling time v0.3.40 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling rustls-webpki v0.103.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling ureq v3.0.10 [INFO] [stderr] Compiling licensure v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.39s [INFO] running `Command { std: "docker" "inspect" "a40e8255cc20c0f5b22ee49d779e2560f688c292563e2a614e8cd1b0289b20b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a40e8255cc20c0f5b22ee49d779e2560f688c292563e2a614e8cd1b0289b20b9", kill_on_drop: false }` [INFO] [stdout] a40e8255cc20c0f5b22ee49d779e2560f688c292563e2a614e8cd1b0289b20b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba07dc55f745b9ab75f01fc0ebbee9854377d7b394d5f9ad7daf2a4eb4e03f30 [INFO] running `Command { std: "docker" "start" "-a" "ba07dc55f745b9ab75f01fc0ebbee9854377d7b394d5f9ad7daf2a4eb4e03f30", kill_on_drop: false }` [INFO] [stderr] Compiling licensure v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.32s [INFO] running `Command { std: "docker" "inspect" "ba07dc55f745b9ab75f01fc0ebbee9854377d7b394d5f9ad7daf2a4eb4e03f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba07dc55f745b9ab75f01fc0ebbee9854377d7b394d5f9ad7daf2a4eb4e03f30", kill_on_drop: false }` [INFO] [stdout] ba07dc55f745b9ab75f01fc0ebbee9854377d7b394d5f9ad7daf2a4eb4e03f30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7c996e8f073f709192f3bb9fb7ea7c127ca964ab3879a5e55671ccab4f788e6b [INFO] running `Command { std: "docker" "start" "-a" "7c996e8f073f709192f3bb9fb7ea7c127ca964ab3879a5e55671ccab4f788e6b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/licensure-5cf488a95f58a10a) [INFO] [stdout] [INFO] [stdout] running 33 tests [INFO] [stdout] test comments::tests::test_comment_cpp ... ok [INFO] [stdout] test comments::tests::test_comment_cpp_w_trailing_lines ... ok [INFO] [stdout] test comments::tests::test_comment_html ... ok [INFO] [stdout] test comments::tests::test_comment_python ... ok [INFO] [stdout] test comments::tests::test_comment_python_w_trailing_lines ... ok [INFO] [stdout] test config::comment::tests::test_get_filetype ... ok [INFO] [stdout] test config::license::tests::test_deserialize_file_matcher_any ... ok [INFO] [stdout] test config::license::tests::test_deserialize_file_matcher_regex_list ... ok [INFO] [stdout] test config::comment::tests::test_matches ... ok [INFO] [stdout] test config::license::tests::test_deserialize_file_matcher_regex ... ok [INFO] [stdout] test licensure::test::test_add_header ... ok [INFO] [stdout] test template::tests::test_substitution_at_end_of_line ... ok [INFO] [stdout] test licensure::test::test_detects_outdated_year_range ... ok [INFO] [stdout] test licensure::test::test_detects_replaces ... ok [INFO] [stdout] test licensure::test::test_detects_outdated_year_trailing_whitespace ... ok [INFO] [stderr] error: test failed, to rerun pass `--bin licensure` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/licensure-5cf488a95f58a10a` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "7c996e8f073f709192f3bb9fb7ea7c127ca964ab3879a5e55671ccab4f788e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c996e8f073f709192f3bb9fb7ea7c127ca964ab3879a5e55671ccab4f788e6b", kill_on_drop: false }` [INFO] [stdout] 7c996e8f073f709192f3bb9fb7ea7c127ca964ab3879a5e55671ccab4f788e6b