[INFO] fetching crate sd 1.0.0... [INFO] testing sd-1.0.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate sd 1.0.0 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate sd 1.0.0 [INFO] finished tweaking crates.io crate sd 1.0.0 [INFO] tweaked toml for crates.io crate sd 1.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sd 1.0.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sd 1.0.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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96bc405a77d5aa732cdd543375539fde16e9bc61082f2f3f0074d810f0e53dbd [INFO] running `Command { std: "docker" "start" "-a" "96bc405a77d5aa732cdd543375539fde16e9bc61082f2f3f0074d810f0e53dbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96bc405a77d5aa732cdd543375539fde16e9bc61082f2f3f0074d810f0e53dbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96bc405a77d5aa732cdd543375539fde16e9bc61082f2f3f0074d810f0e53dbd", kill_on_drop: false }` [INFO] [stdout] 96bc405a77d5aa732cdd543375539fde16e9bc61082f2f3f0074d810f0e53dbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d1872d77577af25dd81c601cd086a9a6059f00e6ff78c574f7063f39b35e3c9 [INFO] running `Command { std: "docker" "start" "-a" "3d1872d77577af25dd81c601cd086a9a6059f00e6ff78c574f7063f39b35e3c9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling memmap2 v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling clap_builder v4.4.6 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling clap v4.4.6 [INFO] [stderr] Compiling sd v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.34s [INFO] running `Command { std: "docker" "inspect" "3d1872d77577af25dd81c601cd086a9a6059f00e6ff78c574f7063f39b35e3c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d1872d77577af25dd81c601cd086a9a6059f00e6ff78c574f7063f39b35e3c9", kill_on_drop: false }` [INFO] [stdout] 3d1872d77577af25dd81c601cd086a9a6059f00e6ff78c574f7063f39b35e3c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a83a084230c95f6f9c6027fbef7ce38730b3029f788414652c388f6e4ca0c2d [INFO] running `Command { std: "docker" "start" "-a" "5a83a084230c95f6f9c6027fbef7ce38730b3029f788414652c388f6e4ca0c2d", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling clap_builder v4.4.6 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling roff v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling similar v2.3.0 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling insta v1.34.0 [INFO] [stderr] Compiling predicates v3.0.4 [INFO] [stderr] Compiling proptest v1.3.1 [INFO] [stderr] Compiling clap v4.4.6 [INFO] [stderr] Compiling clap_mangen v0.2.14 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling bstr v1.7.0 [INFO] [stderr] Compiling ansi-to-html v0.1.3 [INFO] [stderr] Compiling assert_cmd v2.0.12 [INFO] [stderr] Compiling sd v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `sd_cross_compile` [INFO] [stdout] --> tests/cli.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(not(sd_cross_compile))] // Cross-compilation does not allow to spawn threads but `command.assert()` would do. [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(sd_cross_compile)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(sd_cross_compile)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 25.08s [INFO] running `Command { std: "docker" "inspect" "5a83a084230c95f6f9c6027fbef7ce38730b3029f788414652c388f6e4ca0c2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a83a084230c95f6f9c6027fbef7ce38730b3029f788414652c388f6e4ca0c2d", kill_on_drop: false }` [INFO] [stdout] 5a83a084230c95f6f9c6027fbef7ce38730b3029f788414652c388f6e4ca0c2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8290b78a657ad3011d5432c3b7d870fa72f20782bb5cf3b0613ee79b5d7c1f63 [INFO] running `Command { std: "docker" "start" "-a" "8290b78a657ad3011d5432c3b7d870fa72f20782bb5cf3b0613ee79b5d7c1f63", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `sd_cross_compile` [INFO] [stderr] --> tests/cli.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | #[cfg(not(sd_cross_compile))] // Cross-compilation does not allow to spawn threads but `command.assert()` would do. [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(sd_cross_compile)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(sd_cross_compile)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `sd` (test "cli") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sd-2bed29b3f4b6a00b) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test cli::tests::debug_assert ... ok [INFO] [stdout] test replacer::tests::escaped_char_preservation ... ok [INFO] [stdout] test replacer::tests::default_global ... ok [INFO] [stdout] test replacer::tests::no_unescape_literal_replacements ... ok [INFO] [stdout] test replacer::tests::sanity_check_literal_replacements ... ok [INFO] [stdout] test replacer::tests::case_sensitive_default ... ok [INFO] [stdout] test replacer::validate::tests::literal_dollar_sign ... ok [INFO] [stdout] test replacer::validate::tests::wacky_captures ... ok [INFO] [stdout] test replacer::tests::unescape_regex_replacements ... ok [INFO] [stdout] test replacer::tests::full_word_replace ... ok [INFO] [stdout] test replacer::tests::validate_ok ... ok [INFO] [stdout] test replacer::tests::validate_err ... ok [INFO] [stdout] test replacer::tests::validate_doesnt_panic ... ok [INFO] [stdout] test replacer::validate::tests::interpolation_matches_upstream ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] [stderr] Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-2fd44429d7458430) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test cli::fixed_strings_ambiguous_replace_is_fine ... ok [INFO] [stdout] test cli::limit_replacements_stdin ... ok [INFO] [stdout] test cli::limit_replacements_stdin_preview ... ok [INFO] [stdout] test cli::limit_replacements_file_preview ... ok [INFO] [stdout] test cli::stdin ... ok [INFO] [stdout] test cli::in_place_with_empty_result_file ... ok [INFO] [stdout] test cli::in_place ... ok [INFO] [stdout] test cli::in_place_following_symlink ... ok [INFO] [stdout] test cli::ambiguous_replace_issue_44 ... ok [INFO] [stdout] test cli::ambiguous_replace_variable_width ... ok [INFO] [stdout] test cli::replace_into_stdout ... ok [INFO] [stdout] test cli::ambiguous_replace_basic ... ok [INFO] [stdout] test cli::ambiguous_replace_multibyte_char ... ok [INFO] [stdout] test cli::ambiguous_replace_ensure_styling ... ok [INFO] [stdout] test cli::limit_replacements_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8290b78a657ad3011d5432c3b7d870fa72f20782bb5cf3b0613ee79b5d7c1f63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8290b78a657ad3011d5432c3b7d870fa72f20782bb5cf3b0613ee79b5d7c1f63", kill_on_drop: false }` [INFO] [stdout] 8290b78a657ad3011d5432c3b7d870fa72f20782bb5cf3b0613ee79b5d7c1f63