[INFO] fetching crate rustscrub 0.1.0... [INFO] testing rustscrub-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rustscrub 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate rustscrub 0.1.0 [INFO] finished tweaking crates.io crate rustscrub 0.1.0 [INFO] tweaked toml for crates.io crate rustscrub 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustscrub 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rustscrub 0.1.0 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v4.5.32 [INFO] [stderr] Downloaded syn v2.0.101 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edb99b8953699cdbee1738182f33883ae5956575aa532882efb6a64fa66f98cd [INFO] running `Command { std: "docker" "start" "-a" "edb99b8953699cdbee1738182f33883ae5956575aa532882efb6a64fa66f98cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edb99b8953699cdbee1738182f33883ae5956575aa532882efb6a64fa66f98cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edb99b8953699cdbee1738182f33883ae5956575aa532882efb6a64fa66f98cd", kill_on_drop: false }` [INFO] [stdout] edb99b8953699cdbee1738182f33883ae5956575aa532882efb6a64fa66f98cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8de08972ef9e38b4facf58ef23f37c39717aca052ef4977ca921692d4e09092c [INFO] running `Command { std: "docker" "start" "-a" "8de08972ef9e38b4facf58ef23f37c39717aca052ef4977ca921692d4e09092c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling rustscrub v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.36s [INFO] running `Command { std: "docker" "inspect" "8de08972ef9e38b4facf58ef23f37c39717aca052ef4977ca921692d4e09092c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8de08972ef9e38b4facf58ef23f37c39717aca052ef4977ca921692d4e09092c", kill_on_drop: false }` [INFO] [stdout] 8de08972ef9e38b4facf58ef23f37c39717aca052ef4977ca921692d4e09092c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cbf2f4d7707e501c5afedbed90484a638a81b4ac7dd75da5e100406964e4e36 [INFO] running `Command { std: "docker" "start" "-a" "7cbf2f4d7707e501c5afedbed90484a638a81b4ac7dd75da5e100406964e4e36", kill_on_drop: false }` [INFO] [stderr] Compiling rustscrub v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "7cbf2f4d7707e501c5afedbed90484a638a81b4ac7dd75da5e100406964e4e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cbf2f4d7707e501c5afedbed90484a638a81b4ac7dd75da5e100406964e4e36", kill_on_drop: false }` [INFO] [stdout] 7cbf2f4d7707e501c5afedbed90484a638a81b4ac7dd75da5e100406964e4e36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 67b4815660bacf19332ffc13a16a532844683036f3e15c91eb371e56cdd3c927 [INFO] running `Command { std: "docker" "start" "-a" "67b4815660bacf19332ffc13a16a532844683036f3e15c91eb371e56cdd3c927", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustscrub-048f32658369f409) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test tests::test_block_comment_not_greedy ... ok [INFO] [stdout] test tests::test_header_lines_count_zero ... ok [INFO] [stdout] test tests::test_header_lines_more_than_file_lines ... ok [INFO] [stdout] test tests::test_input_with_only_comments ... ok [INFO] [stdout] test tests::test_preserve_comment_in_raw_string_literal ... ok [INFO] [stdout] test tests::test_line_comment_with_leading_whitespace ... ok [INFO] [stdout] test tests::test_preserve_header_lines_no_comments_in_header ... ok [INFO] [stdout] test tests::test_raw_string_with_hashes ... ok [INFO] [stdout] test tests::test_remove_block_comment_inline ... ok [INFO] [stdout] test tests::test_remove_full_line_comment ... ok [INFO] [stdout] test tests::test_remove_single_line_comment ... ok [INFO] [stdout] test tests::test_preserve_header_lines_and_scrub_after ... ok [INFO] [stdout] test tests::test_empty_input ... ok [INFO] [stdout] test tests::test_char_literal_with_comment_like_chars ... ok [INFO] [stdout] test tests::test_preserve_comment_in_string_literal ... ok [INFO] [stdout] test tests::test_remove_multiline_block_comment ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "67b4815660bacf19332ffc13a16a532844683036f3e15c91eb371e56cdd3c927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67b4815660bacf19332ffc13a16a532844683036f3e15c91eb371e56cdd3c927", kill_on_drop: false }` [INFO] [stdout] 67b4815660bacf19332ffc13a16a532844683036f3e15c91eb371e56cdd3c927