[INFO] cloning repository https://github.com/DenisGorbachev/error-handling-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DenisGorbachev/error-handling-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenisGorbachev%2Ferror-handling-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenisGorbachev%2Ferror-handling-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 438573a15549c8d35076ec53c3afe21dc2eb2895 [INFO] checking DenisGorbachev/error-handling-rs against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenisGorbachev%2Ferror-handling-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/DenisGorbachev/error-handling-rs [INFO] finished tweaking git repo https://github.com/DenisGorbachev/error-handling-rs [INFO] tweaked toml for git repo https://github.com/DenisGorbachev/error-handling-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DenisGorbachev/error-handling-rs on toolchain 52995a223f2919dd3e2e427231db90a257350ded [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DenisGorbachev/error-handling-rs 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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> Cargo.toml:55:1 [INFO] [stderr] | [INFO] [stderr] 55 | [package.homepage] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | [package.repository] [INFO] [stderr] | -------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `errgonomic` (manifest) generated 1 warning [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 37e26588ad4ce86ba0d51fae73c462333573021dfdccc2a68503501d17027e06 [INFO] running `Command { std: "docker" "start" "37e26588ad4ce86ba0d51fae73c462333573021dfdccc2a68503501d17027e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37e26588ad4ce86ba0d51fae73c462333573021dfdccc2a68503501d17027e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37e26588ad4ce86ba0d51fae73c462333573021dfdccc2a68503501d17027e06" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37e26588ad4ce86ba0d51fae73c462333573021dfdccc2a68503501d17027e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37e26588ad4ce86ba0d51fae73c462333573021dfdccc2a68503501d17027e06" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> Cargo.toml:55:1 [INFO] [stderr] | [INFO] [stderr] 55 | [package.homepage] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | [package.repository] [INFO] [stderr] | -------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `errgonomic` (manifest) generated 1 warning [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking rustix v1.1.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking errgonomic v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] error: useless conversion to the same type: `core::io::Error` [INFO] [stdout] --> src/macros.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 146 | macro_rules! map_err { [INFO] [stdout] ... [INFO] [stdout] 149 | source: source.into(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/functions/writeln_error.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | map_err!(writeln!(writer, "{displayer}"), WriteFailed)?; [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `core::io::Error` [INFO] [stdout] --> src/macros.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 146 | macro_rules! map_err { [INFO] [stdout] ... [INFO] [stdout] 149 | source: source.into(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/functions/writeln_error.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | map_err!(writeln!(writer), WriteFailed)?; [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `core::io::Error` [INFO] [stdout] --> src/macros.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 146 | macro_rules! map_err { [INFO] [stdout] ... [INFO] [stdout] 149 | source: source.into(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/functions/writeln_error.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | map_err!(writeln!(writer, "See the full error report:"), WriteFailed)?; [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `core::io::Error` [INFO] [stdout] --> src/macros.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 146 | macro_rules! map_err { [INFO] [stdout] ... [INFO] [stdout] 149 | source: source.into(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/functions/writeln_error.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | map_err!(writeln!(writer, "{}", path_buf.display()), WriteFailed)?; [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `core::io::Error` [INFO] [stdout] --> src/macros.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 146 | macro_rules! map_err { [INFO] [stdout] ... [INFO] [stdout] 149 | source: source.into(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/functions/writeln_error.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | map_err!(writeln!(writer, "less {}", path_buf.display()), WriteFailed)?; [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `core::io::Error` [INFO] [stdout] --> src/macros.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 146 | macro_rules! map_err { [INFO] [stdout] ... [INFO] [stdout] 149 | source: source.into(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/functions/writeln_error.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | map_err!(writeln!(writer, "{source:#?}"), WriteFailed)?; [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PersistError` [INFO] [stdout] --> src/macros.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 146 | macro_rules! map_err { [INFO] [stdout] ... [INFO] [stdout] 149 | source: source.into(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/functions/write_to_named_temp_file.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | map_err!(temp.keep(), KeepFailed) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `core::io::Error` [INFO] [stdout] --> src/macros.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 8 | macro_rules! handle { [INFO] [stdout] ... [INFO] [stdout] 13 | source: source.into(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/functions/write_to_named_temp_file.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let mut temp = handle!(NamedTempFile::new(), CreateTempFileFailed); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `core::io::Error` [INFO] [stdout] --> src/macros.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 8 | macro_rules! handle { [INFO] [stdout] ... [INFO] [stdout] 13 | source: source.into(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/functions/write_to_named_temp_file.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | handle!(temp.write_all(buf), WriteFailed); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `errgonomic` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "37e26588ad4ce86ba0d51fae73c462333573021dfdccc2a68503501d17027e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37e26588ad4ce86ba0d51fae73c462333573021dfdccc2a68503501d17027e06", kill_on_drop: false }` [INFO] [stdout] 37e26588ad4ce86ba0d51fae73c462333573021dfdccc2a68503501d17027e06