[INFO] fetching crate chomp-nl 0.1.2... [INFO] testing chomp-nl-0.1.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate chomp-nl 0.1.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate chomp-nl 0.1.2 [INFO] finished tweaking crates.io crate chomp-nl 0.1.2 [INFO] tweaked toml for crates.io crate chomp-nl 0.1.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate chomp-nl 0.1.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64f6f3d229b30b0ab645f550ad3fbbfa70b33a2c049729c8a770f646518c6788 [INFO] running `Command { std: "docker" "start" "-a" "64f6f3d229b30b0ab645f550ad3fbbfa70b33a2c049729c8a770f646518c6788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64f6f3d229b30b0ab645f550ad3fbbfa70b33a2c049729c8a770f646518c6788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64f6f3d229b30b0ab645f550ad3fbbfa70b33a2c049729c8a770f646518c6788", kill_on_drop: false }` [INFO] [stdout] 64f6f3d229b30b0ab645f550ad3fbbfa70b33a2c049729c8a770f646518c6788 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f40d0600ca2678faca658566e8a2aab0f92ef85707917451a038fe5cf60f8d1e [INFO] running `Command { std: "docker" "start" "-a" "f40d0600ca2678faca658566e8a2aab0f92ef85707917451a038fe5cf60f8d1e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling chomp-nl v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | fn chomp(Self) -> &'a str; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | string.trim_right_matches(is_newline) [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] 39 - string.trim_right_matches(is_newline) [INFO] [stdout] 39 + string.trim_end_matches(is_newline) [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/lib.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | string.trim_right_matches(is_newline) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 45 - string.trim_right_matches(is_newline) [INFO] [stdout] 45 + string.trim_end_matches(is_newline) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "f40d0600ca2678faca658566e8a2aab0f92ef85707917451a038fe5cf60f8d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f40d0600ca2678faca658566e8a2aab0f92ef85707917451a038fe5cf60f8d1e", kill_on_drop: false }` [INFO] [stdout] f40d0600ca2678faca658566e8a2aab0f92ef85707917451a038fe5cf60f8d1e [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dedab205a91186590a500a326807d2c50ff6ce2ad7e7be4e9bf80e6c105b20c6 [INFO] running `Command { std: "docker" "start" "-a" "dedab205a91186590a500a326807d2c50ff6ce2ad7e7be4e9bf80e6c105b20c6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | fn chomp(Self) -> &'a str; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | string.trim_right_matches(is_newline) [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] 39 - string.trim_right_matches(is_newline) [INFO] [stdout] 39 + string.trim_end_matches(is_newline) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chomp-nl v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | string.trim_right_matches(is_newline) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 45 - string.trim_right_matches(is_newline) [INFO] [stdout] 45 + string.trim_end_matches(is_newline) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | fn chomp(Self) -> &'a str; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | string.trim_right_matches(is_newline) [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] 39 - string.trim_right_matches(is_newline) [INFO] [stdout] 39 + string.trim_end_matches(is_newline) [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/lib.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | string.trim_right_matches(is_newline) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 45 - string.trim_right_matches(is_newline) [INFO] [stdout] 45 + string.trim_end_matches(is_newline) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "dedab205a91186590a500a326807d2c50ff6ce2ad7e7be4e9bf80e6c105b20c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dedab205a91186590a500a326807d2c50ff6ce2ad7e7be4e9bf80e6c105b20c6", kill_on_drop: false }` [INFO] [stdout] dedab205a91186590a500a326807d2c50ff6ce2ad7e7be4e9bf80e6c105b20c6 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4bef00ecfde5c9cfb7031e712e755e2c62895ba78b441d781100aaca5a75e041 [INFO] running `Command { std: "docker" "start" "-a" "4bef00ecfde5c9cfb7031e712e755e2c62895ba78b441d781100aaca5a75e041", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 34 | fn chomp(Self) -> &'a str; [INFO] [stderr] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:39:16 [INFO] [stderr] | [INFO] [stderr] 39 | string.trim_right_matches(is_newline) [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] 39 - string.trim_right_matches(is_newline) [INFO] [stderr] 39 + string.trim_end_matches(is_newline) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:45:16 [INFO] [stderr] | [INFO] [stderr] 45 | string.trim_right_matches(is_newline) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 45 - string.trim_right_matches(is_newline) [INFO] [stderr] 45 + string.trim_end_matches(is_newline) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `chomp-nl` (lib) generated 3 warnings (run `cargo fix --lib -p chomp-nl` to apply 3 suggestions) [INFO] [stderr] warning: `chomp-nl` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/chomp_nl-40382f751cd80e0c) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_chomp ... ok [INFO] [stdout] test tests::test_chomp_inplace ... 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] Doc-tests chomp_nl [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" "4bef00ecfde5c9cfb7031e712e755e2c62895ba78b441d781100aaca5a75e041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bef00ecfde5c9cfb7031e712e755e2c62895ba78b441d781100aaca5a75e041", kill_on_drop: false }` [INFO] [stdout] 4bef00ecfde5c9cfb7031e712e755e2c62895ba78b441d781100aaca5a75e041