[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_getrandom_patch_0 [INFO] extracting crate sd 1.0.0 into /workspace/builds/worker-0-tc1/source [INFO] removed /workspace/builds/worker-0-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-0-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 unescape v0.1.0 [INFO] [stderr] Downloaded clap_mangen v0.2.14 [INFO] [stderr] Downloaded predicates v3.0.4 [INFO] [stderr] Downloaded ansi-to-html v0.1.3 [INFO] [stderr] Downloaded memmap2 v0.9.0 [INFO] [stderr] Downloaded assert_cmd v2.0.12 [INFO] [stderr] Downloaded bstr v1.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1b5b65cc22820c702d7641ec4cfa44b8a41ce1b92f9de26cdf378037c2be764b [INFO] running `Command { std: "docker" "start" "-a" "1b5b65cc22820c702d7641ec4cfa44b8a41ce1b92f9de26cdf378037c2be764b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b5b65cc22820c702d7641ec4cfa44b8a41ce1b92f9de26cdf378037c2be764b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b5b65cc22820c702d7641ec4cfa44b8a41ce1b92f9de26cdf378037c2be764b", kill_on_drop: false }` [INFO] [stdout] 1b5b65cc22820c702d7641ec4cfa44b8a41ce1b92f9de26cdf378037c2be764b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2a53eb921260eb2a27a43e71002c26a8fc237e965d9799f917285dce222b5fe8 [INFO] running `Command { std: "docker" "start" "-a" "2a53eb921260eb2a27a43e71002c26a8fc237e965d9799f917285dce222b5fe8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling unescape v0.1.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling memmap2 v0.9.0 [INFO] [stderr] Compiling syn v2.0.38 [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 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 24.63s [INFO] running `Command { std: "docker" "inspect" "2a53eb921260eb2a27a43e71002c26a8fc237e965d9799f917285dce222b5fe8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a53eb921260eb2a27a43e71002c26a8fc237e965d9799f917285dce222b5fe8", kill_on_drop: false }` [INFO] [stdout] 2a53eb921260eb2a27a43e71002c26a8fc237e965d9799f917285dce222b5fe8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 86896b3a6f1423a7e70c92a614619439a94474e3bb31119b8de8ea22ba7098b2 [INFO] running `Command { std: "docker" "start" "-a" "86896b3a6f1423a7e70c92a614619439a94474e3bb31119b8de8ea22ba7098b2", 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 doc-comment v0.3.3 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling clap_builder v4.4.6 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling roff v0.2.1 [INFO] [stderr] Compiling similar v2.3.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.7.5 [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 regex v1.10.2 [INFO] [stderr] Compiling bstr v1.7.0 [INFO] [stderr] Compiling clap v4.4.6 [INFO] [stderr] Compiling clap_mangen v0.2.14 [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 23.57s [INFO] running `Command { std: "docker" "inspect" "86896b3a6f1423a7e70c92a614619439a94474e3bb31119b8de8ea22ba7098b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86896b3a6f1423a7e70c92a614619439a94474e3bb31119b8de8ea22ba7098b2", kill_on_drop: false }` [INFO] [stdout] 86896b3a6f1423a7e70c92a614619439a94474e3bb31119b8de8ea22ba7098b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3c39b3469ff5f21bec58be5c20498991bf545e9b89990aafe271ea8377d49f00 [INFO] running `Command { std: "docker" "start" "-a" "3c39b3469ff5f21bec58be5c20498991bf545e9b89990aafe271ea8377d49f00", 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/x86_64-unknown-linux-musl/debug/deps/sd-03debb02ad214e5c) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test replacer::tests::default_global ... ok [INFO] [stdout] test replacer::tests::unescape_regex_replacements ... 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::escaped_char_preservation ... ok [INFO] [stdout] test cli::tests::debug_assert ... 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::case_sensitive_default ... 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.32s [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::limit_replacements_stdin ... ok [INFO] [stdout] test cli::limit_replacements_stdin_preview ... ok [INFO] [stdout] test cli::stdin ... ok [INFO] [stdout] test cli::limit_replacements_file_preview ... ok [INFO] [stdout] test cli::replace_into_stdout ... ok [INFO] [stdout] test cli::in_place ... ok [INFO] [stdout] test cli::in_place_following_symlink ... ok [INFO] [stdout] test cli::limit_replacements_file ... ok [INFO] [stdout] test cli::in_place_with_empty_result_file ... ok [INFO] [stdout] test cli::ambiguous_replace_basic ... ok [INFO] [stdout] test cli::ambiguous_replace_issue_44 ... ok [INFO] [stdout] test cli::ambiguous_replace_variable_width ... ok [INFO] [stdout] test cli::ambiguous_replace_multibyte_char ... ok [INFO] [stdout] test cli::ambiguous_replace_ensure_styling ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3c39b3469ff5f21bec58be5c20498991bf545e9b89990aafe271ea8377d49f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c39b3469ff5f21bec58be5c20498991bf545e9b89990aafe271ea8377d49f00", kill_on_drop: false }` [INFO] [stdout] 3c39b3469ff5f21bec58be5c20498991bf545e9b89990aafe271ea8377d49f00