[INFO] fetching crate sd 1.0.0... [INFO] testing sd-1.0.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate sd 1.0.0 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sd 1.0.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded similar v2.3.0 [INFO] [stderr] Downloaded assert_cmd v2.0.12 [INFO] [stderr] Downloaded predicates v3.0.4 [INFO] [stderr] Downloaded clap_mangen v0.2.14 [INFO] [stderr] Downloaded proptest v1.3.1 [INFO] [stderr] Downloaded insta v1.34.0 [INFO] [stderr] Downloaded ansi-to-html v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78e01026d97c6c0c25ad5f0ed4a9c1ccf934e475a768aa20910c7df451eeb7da [INFO] running `Command { std: "docker" "start" "-a" "78e01026d97c6c0c25ad5f0ed4a9c1ccf934e475a768aa20910c7df451eeb7da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78e01026d97c6c0c25ad5f0ed4a9c1ccf934e475a768aa20910c7df451eeb7da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78e01026d97c6c0c25ad5f0ed4a9c1ccf934e475a768aa20910c7df451eeb7da", kill_on_drop: false }` [INFO] [stdout] 78e01026d97c6c0c25ad5f0ed4a9c1ccf934e475a768aa20910c7df451eeb7da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 56a89c17a280176a2ac0f8371d91eede8eedfc31ef0b6409d60a6114eed5ce0e [INFO] running `Command { std: "docker" "start" "-a" "56a89c17a280176a2ac0f8371d91eede8eedfc31ef0b6409d60a6114eed5ce0e", 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 crossbeam-utils v0.8.16 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling memmap2 v0.9.0 [INFO] [stderr] Compiling unescape v0.1.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling rayon v1.8.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 clap_builder v4.4.6 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling clap_derive v4.4.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 39.25s [INFO] running `Command { std: "docker" "inspect" "56a89c17a280176a2ac0f8371d91eede8eedfc31ef0b6409d60a6114eed5ce0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56a89c17a280176a2ac0f8371d91eede8eedfc31ef0b6409d60a6114eed5ce0e", kill_on_drop: false }` [INFO] [stdout] 56a89c17a280176a2ac0f8371d91eede8eedfc31ef0b6409d60a6114eed5ce0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d1ba7fcd38cff3d45651e9bdcd47b7918efc6e250e053ec71f2b8c9b7f81cd55 [INFO] running `Command { std: "docker" "start" "-a" "d1ba7fcd38cff3d45651e9bdcd47b7918efc6e250e053ec71f2b8c9b7f81cd55", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling clap_builder v4.4.6 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling roff v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling similar v2.3.0 [INFO] [stderr] Compiling insta v1.34.0 [INFO] [stderr] Compiling predicates v3.0.4 [INFO] [stderr] Compiling clap v4.4.6 [INFO] [stderr] Compiling clap_mangen v0.2.14 [INFO] [stderr] Compiling proptest v1.3.1 [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 44.89s [INFO] running `Command { std: "docker" "inspect" "d1ba7fcd38cff3d45651e9bdcd47b7918efc6e250e053ec71f2b8c9b7f81cd55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1ba7fcd38cff3d45651e9bdcd47b7918efc6e250e053ec71f2b8c9b7f81cd55", kill_on_drop: false }` [INFO] [stdout] d1ba7fcd38cff3d45651e9bdcd47b7918efc6e250e053ec71f2b8c9b7f81cd55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 33a16e0848c00dbc601b1f6aa179509eb4766299c0e3638dd560f07c4f4f7318 [INFO] running `Command { std: "docker" "start" "-a" "33a16e0848c00dbc601b1f6aa179509eb4766299c0e3638dd560f07c4f4f7318", 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.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/sd-03debb02ad214e5c) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test replacer::tests::escaped_char_preservation ... ok [INFO] [stdout] test replacer::tests::sanity_check_literal_replacements ... ok [INFO] [stdout] test replacer::tests::case_sensitive_default ... ok [INFO] [stdout] test replacer::tests::unescape_regex_replacements ... ok [INFO] [stdout] test replacer::tests::no_unescape_literal_replacements ... ok [INFO] [stdout] test replacer::validate::tests::literal_dollar_sign ... ok [INFO] [stdout] test replacer::tests::default_global ... ok [INFO] [stdout] test replacer::tests::full_word_replace ... ok [INFO] [stdout] test cli::tests::debug_assert ... ok [INFO] [stdout] test replacer::validate::tests::wacky_captures ... 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.91s [INFO] [stdout] [INFO] [stderr] Running tests/cli.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cli-2ce36276ee954c91) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test cli::fixed_strings_ambiguous_replace_is_fine ... ok [INFO] [stdout] test cli::in_place_with_empty_result_file ... ok [INFO] [stdout] test cli::in_place_following_symlink ... ok [INFO] [stdout] test cli::limit_replacements_file ... ok [INFO] [stdout] test cli::in_place ... ok [INFO] [stdout] test cli::limit_replacements_stdin ... ok [INFO] [stdout] test cli::limit_replacements_file_preview ... ok [INFO] [stdout] test cli::limit_replacements_stdin_preview ... ok [INFO] [stdout] test cli::replace_into_stdout ... ok [INFO] [stdout] test cli::stdin ... ok [INFO] [stdout] test cli::ambiguous_replace_variable_width ... ok [INFO] [stdout] test cli::ambiguous_replace_ensure_styling ... ok [INFO] [stdout] test cli::ambiguous_replace_basic ... ok [INFO] [stdout] test cli::ambiguous_replace_issue_44 ... ok [INFO] [stdout] test cli::ambiguous_replace_multibyte_char ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "33a16e0848c00dbc601b1f6aa179509eb4766299c0e3638dd560f07c4f4f7318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33a16e0848c00dbc601b1f6aa179509eb4766299c0e3638dd560f07c4f4f7318", kill_on_drop: false }` [INFO] [stdout] 33a16e0848c00dbc601b1f6aa179509eb4766299c0e3638dd560f07c4f4f7318