[INFO] fetching crate repos-tool 0.1.4... [INFO] testing repos-tool-0.1.4 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate repos-tool 0.1.4 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate repos-tool 0.1.4 [INFO] finished tweaking crates.io crate repos-tool 0.1.4 [INFO] tweaked toml for crates.io crate repos-tool 0.1.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate repos-tool 0.1.4 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 45 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.48) [INFO] [stderr] Adding toml v0.4.10 (available: v0.9.7) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a78b0db19310eca12b7861d0760c0f0547e44f9fa8b38dd538b2c11bae78f11f [INFO] running `Command { std: "docker" "start" "-a" "a78b0db19310eca12b7861d0760c0f0547e44f9fa8b38dd538b2c11bae78f11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a78b0db19310eca12b7861d0760c0f0547e44f9fa8b38dd538b2c11bae78f11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a78b0db19310eca12b7861d0760c0f0547e44f9fa8b38dd538b2c11bae78f11f", kill_on_drop: false }` [INFO] [stdout] a78b0db19310eca12b7861d0760c0f0547e44f9fa8b38dd538b2c11bae78f11f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89268408c8708ab8643f07073784d8f8c6bfb9c70e3d329a59f6cd0192900dc9 [INFO] running `Command { std: "docker" "start" "-a" "89268408c8708ab8643f07073784d8f8c6bfb9c70e3d329a59f6cd0192900dc9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling remove_empty_subdirs v0.1.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling repos-tool v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/util.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(relpath.trim_right_matches(".git").to_string()) [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] 49 - Ok(relpath.trim_right_matches(".git").to_string()) [INFO] [stdout] 49 + Ok(relpath.trim_end_matches(".git").to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/util.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | url.trim_right_matches(".git").to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 111 - url.trim_right_matches(".git").to_string() [INFO] [stdout] 111 + url.trim_end_matches(".git").to_string() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.61s [INFO] running `Command { std: "docker" "inspect" "89268408c8708ab8643f07073784d8f8c6bfb9c70e3d329a59f6cd0192900dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89268408c8708ab8643f07073784d8f8c6bfb9c70e3d329a59f6cd0192900dc9", kill_on_drop: false }` [INFO] [stdout] 89268408c8708ab8643f07073784d8f8c6bfb9c70e3d329a59f6cd0192900dc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8107437a33400bfa0cd1d8e74e9bdee19de970138cbbd4ce95ce9af2f7fe269 [INFO] running `Command { std: "docker" "start" "-a" "f8107437a33400bfa0cd1d8e74e9bdee19de970138cbbd4ce95ce9af2f7fe269", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/util.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(relpath.trim_right_matches(".git").to_string()) [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] 49 - Ok(relpath.trim_right_matches(".git").to_string()) [INFO] [stdout] 49 + Ok(relpath.trim_end_matches(".git").to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/util.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | url.trim_right_matches(".git").to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 111 - url.trim_right_matches(".git").to_string() [INFO] [stdout] 111 + url.trim_end_matches(".git").to_string() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling repos-tool v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/util.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(relpath.trim_right_matches(".git").to_string()) [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] 49 - Ok(relpath.trim_right_matches(".git").to_string()) [INFO] [stdout] 49 + Ok(relpath.trim_end_matches(".git").to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/util.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | url.trim_right_matches(".git").to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 111 - url.trim_right_matches(".git").to_string() [INFO] [stdout] 111 + url.trim_end_matches(".git").to_string() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "f8107437a33400bfa0cd1d8e74e9bdee19de970138cbbd4ce95ce9af2f7fe269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8107437a33400bfa0cd1d8e74e9bdee19de970138cbbd4ce95ce9af2f7fe269", kill_on_drop: false }` [INFO] [stdout] f8107437a33400bfa0cd1d8e74e9bdee19de970138cbbd4ce95ce9af2f7fe269 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3487a04641a3c61ffa83080792488593dfbb00748d64736dd1263d9a69730a4d [INFO] running `Command { std: "docker" "start" "-a" "3487a04641a3c61ffa83080792488593dfbb00748d64736dd1263d9a69730a4d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/util.rs:49:16 [INFO] [stderr] | [INFO] [stderr] 49 | Ok(relpath.trim_right_matches(".git").to_string()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 49 - Ok(relpath.trim_right_matches(".git").to_string()) [INFO] [stderr] 49 + Ok(relpath.trim_end_matches(".git").to_string()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/util.rs:111:17 [INFO] [stderr] | [INFO] [stderr] 111 | url.trim_right_matches(".git").to_string() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 111 - url.trim_right_matches(".git").to_string() [INFO] [stderr] 111 + url.trim_end_matches(".git").to_string() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `repos-tool` (lib) generated 2 warnings (run `cargo fix --lib -p repos-tool` to apply 2 suggestions) [INFO] [stderr] warning: `repos-tool` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/repos-f75729aa4a37441d) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test metadata::tests::md_loads ... ok [INFO] [stdout] test metadata::tests::md_load ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/cli.rs (/opt/rustwide/target/debug/deps/repos-b46cf1350ffff815) [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] [stderr] Doc-tests repos [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" "3487a04641a3c61ffa83080792488593dfbb00748d64736dd1263d9a69730a4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3487a04641a3c61ffa83080792488593dfbb00748d64736dd1263d9a69730a4d", kill_on_drop: false }` [INFO] [stdout] 3487a04641a3c61ffa83080792488593dfbb00748d64736dd1263d9a69730a4d