[INFO] fetching crate git-gsub 0.2.1... [INFO] testing git-gsub-0.2.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate git-gsub 0.2.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate git-gsub 0.2.1 [INFO] finished tweaking crates.io crate git-gsub 0.2.1 [INFO] tweaked toml for crates.io crate git-gsub 0.2.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate git-gsub 0.2.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding shlex v0.1.1 (available: v1.3.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3ec078021ca4242fd5bd69e2a51917c802aac222fd341abc326a1577f619c0e [INFO] running `Command { std: "docker" "start" "-a" "a3ec078021ca4242fd5bd69e2a51917c802aac222fd341abc326a1577f619c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3ec078021ca4242fd5bd69e2a51917c802aac222fd341abc326a1577f619c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3ec078021ca4242fd5bd69e2a51917c802aac222fd341abc326a1577f619c0e", kill_on_drop: false }` [INFO] [stdout] a3ec078021ca4242fd5bd69e2a51917c802aac222fd341abc326a1577f619c0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49b6064fbe87494b519fe4d1093ec897ffc79b79c463f5a647d9034b28028b5e [INFO] running `Command { std: "docker" "start" "-a" "49b6064fbe87494b519fe4d1093ec897ffc79b79c463f5a647d9034b28028b5e", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling git-gsub v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `core::str::::lines_any`: use lines() instead now [INFO] [stdout] --> src/lib.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | let target_files: Vec<&str> = stdout.lines_any().collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 47 - let target_files: Vec<&str> = stdout.lines_any().collect(); [INFO] [stdout] 47 + let target_files: Vec<&str> = stdout.lines().collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | Err(f) => { panic!(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 78 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "49b6064fbe87494b519fe4d1093ec897ffc79b79c463f5a647d9034b28028b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49b6064fbe87494b519fe4d1093ec897ffc79b79c463f5a647d9034b28028b5e", kill_on_drop: false }` [INFO] [stdout] 49b6064fbe87494b519fe4d1093ec897ffc79b79c463f5a647d9034b28028b5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ea9b7b5e2e6e1ed9f46d7b6b6dcb791e703e913c582e87c2544a70be8090da2 [INFO] running `Command { std: "docker" "start" "-a" "4ea9b7b5e2e6e1ed9f46d7b6b6dcb791e703e913c582e87c2544a70be8090da2", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stdout] warning: use of deprecated method `core::str::::lines_any`: use lines() instead now [INFO] [stdout] --> src/lib.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | let target_files: Vec<&str> = stdout.lines_any().collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 47 - let target_files: Vec<&str> = stdout.lines_any().collect(); [INFO] [stdout] 47 + let target_files: Vec<&str> = stdout.lines().collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | Err(f) => { panic!(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 78 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling git-gsub v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `core::str::::lines_any`: use lines() instead now [INFO] [stdout] --> src/lib.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | let target_files: Vec<&str> = stdout.lines_any().collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 47 - let target_files: Vec<&str> = stdout.lines_any().collect(); [INFO] [stdout] 47 + let target_files: Vec<&str> = stdout.lines().collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | Err(f) => { panic!(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 78 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.72s [INFO] running `Command { std: "docker" "inspect" "4ea9b7b5e2e6e1ed9f46d7b6b6dcb791e703e913c582e87c2544a70be8090da2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ea9b7b5e2e6e1ed9f46d7b6b6dcb791e703e913c582e87c2544a70be8090da2", kill_on_drop: false }` [INFO] [stdout] 4ea9b7b5e2e6e1ed9f46d7b6b6dcb791e703e913c582e87c2544a70be8090da2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 17df287cb21a18bf0a67e7ff2c65b94f974f331c09901ce9b8cfcb628f044690 [INFO] running `Command { std: "docker" "start" "-a" "17df287cb21a18bf0a67e7ff2c65b94f974f331c09901ce9b8cfcb628f044690", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stdout] [INFO] [stderr] warning: use of deprecated method `core::str::::lines_any`: use lines() instead now [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/lib.rs:47:42 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 47 | let target_files: Vec<&str> = stdout.lines_any().collect(); [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 0 tests [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 47 - let target_files: Vec<&str> = stdout.lines_any().collect(); [INFO] [stdout] [INFO] [stderr] 47 + let target_files: Vec<&str> = stdout.lines().collect(); [INFO] [stdout] running 2 tests [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:78:28 [INFO] [stderr] | [INFO] [stderr] 78 | Err(f) => { panic!(f.to_string()) } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 78 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `git-gsub` (lib) generated 2 warnings (run `cargo fix --lib -p git-gsub` to apply 2 suggestions) [INFO] [stderr] warning: `git-gsub` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/git_gsub-41e7d570790d3af8) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/git_gsub-a6a388f19a668a9c) [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-e8143bd121ac73df) [INFO] [stderr] hint: Using 'master' as the name for the initial branch. This default branch name [INFO] [stderr] hint: is subject to change. To configure the initial branch name to use in all [INFO] [stderr] hint: of your new repositories, which will suppress this warning, call: [INFO] [stderr] hint: [INFO] [stderr] hint: git config --global init.defaultBranch [INFO] [stderr] hint: [INFO] [stderr] hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and [INFO] [stderr] hint: 'development'. The just-created branch can be renamed via this command: [INFO] [stderr] hint: [INFO] [stderr] hint: git branch -m [INFO] [stdout] Reinitialized existing Git repository in /tmp/git-gsub-test.V7LjccyEYrPn/.git/ [INFO] [stdout] Initialized empty Git repository in /tmp/git-gsub-test.V7LjccyEYrPn/.git/ [INFO] [stderr] Doc-tests git_gsub [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "17df287cb21a18bf0a67e7ff2c65b94f974f331c09901ce9b8cfcb628f044690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17df287cb21a18bf0a67e7ff2c65b94f974f331c09901ce9b8cfcb628f044690", kill_on_drop: false }` [INFO] [stdout] 17df287cb21a18bf0a67e7ff2c65b94f974f331c09901ce9b8cfcb628f044690