[INFO] fetching crate kafi 0.1.2... [INFO] checking kafi-0.1.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate kafi 0.1.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate kafi 0.1.2 [INFO] finished tweaking crates.io crate kafi 0.1.2 [INFO] tweaked toml for crates.io crate kafi 0.1.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kafi 0.1.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding bincode v0.9.2 (available: v2.0.1) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15bfbca7fc72cdcd57a3e36a66234535d748c49338b09895478bebbf37cd5c0e [INFO] running `Command { std: "docker" "start" "-a" "15bfbca7fc72cdcd57a3e36a66234535d748c49338b09895478bebbf37cd5c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15bfbca7fc72cdcd57a3e36a66234535d748c49338b09895478bebbf37cd5c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15bfbca7fc72cdcd57a3e36a66234535d748c49338b09895478bebbf37cd5c0e", kill_on_drop: false }` [INFO] [stdout] 15bfbca7fc72cdcd57a3e36a66234535d748c49338b09895478bebbf37cd5c0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abdff911a465e67f574dd919ec13b4c029c143a82026ab015b5be01ca84cd420 [INFO] running `Command { std: "docker" "start" "-a" "abdff911a465e67f574dd919ec13b4c029c143a82026ab015b5be01ca84cd420", 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 unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking bincode v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking kafi v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | .map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | .map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:56:57 [INFO] [stdout] | [INFO] [stdout] 56 | _data = deserialize(&buf).map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | .map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:120:32 [INFO] [stdout] | [INFO] [stdout] 120 | .map_err(|e| e.description().to_string()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | .map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | .map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:56:57 [INFO] [stdout] | [INFO] [stdout] 56 | _data = deserialize(&buf).map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | .map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:120:32 [INFO] [stdout] | [INFO] [stdout] 120 | .map_err(|e| e.description().to_string()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn get_path<'a>(&'a self) -> &Path { [INFO] [stdout] | ^^ ----- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 130 | pub fn get_path<'a>(&'a self) -> &'a Path { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 149 | | "Cannot flush {}: {:?}", [INFO] [stdout] 150 | | self.file_path.display(), [INFO] [stdout] 151 | | e [INFO] [stdout] 152 | | )); [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: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 148 ~ panic!( [INFO] [stdout] 149 | "Cannot flush {}: {:?}", [INFO] [stdout] 150 | self.file_path.display(), [INFO] [stdout] 151 | e [INFO] [stdout] 152 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn get_path<'a>(&'a self) -> &Path { [INFO] [stdout] | ^^ ----- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 130 | pub fn get_path<'a>(&'a self) -> &'a Path { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 149 | | "Cannot flush {}: {:?}", [INFO] [stdout] 150 | | self.file_path.display(), [INFO] [stdout] 151 | | e [INFO] [stdout] 152 | | )); [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: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 148 ~ panic!( [INFO] [stdout] 149 | "Cannot flush {}: {:?}", [INFO] [stdout] 150 | self.file_path.display(), [INFO] [stdout] 151 | e [INFO] [stdout] 152 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.13s [INFO] running `Command { std: "docker" "inspect" "abdff911a465e67f574dd919ec13b4c029c143a82026ab015b5be01ca84cd420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abdff911a465e67f574dd919ec13b4c029c143a82026ab015b5be01ca84cd420", kill_on_drop: false }` [INFO] [stdout] abdff911a465e67f574dd919ec13b4c029c143a82026ab015b5be01ca84cd420