[INFO] fetching crate cluatoi 0.2.1... [INFO] checking cluatoi-0.2.1 against c0bbd1b6d95c5dc13a0e7f2e2c5dfb0387e1f2d4 for pr-161358 [INFO] extracting crate cluatoi 0.2.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate cluatoi 0.2.1 [INFO] finished tweaking crates.io crate cluatoi 0.2.1 [INFO] tweaked toml for crates.io crate cluatoi 0.2.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cluatoi 0.2.1 on toolchain c0bbd1b6d95c5dc13a0e7f2e2c5dfb0387e1f2d4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0bbd1b6d95c5dc13a0e7f2e2c5dfb0387e1f2d4" "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" "+c0bbd1b6d95c5dc13a0e7f2e2c5dfb0387e1f2d4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0bbd1b6d95c5dc13a0e7f2e2c5dfb0387e1f2d4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `cluatoi` (manifest) generated 1 warning [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 7e9bf7e2e5503c6991c71e8eff5290eec9f83e1a756f70cf4bd967a35e161610 [INFO] running `Command { std: "docker" "start" "7e9bf7e2e5503c6991c71e8eff5290eec9f83e1a756f70cf4bd967a35e161610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e9bf7e2e5503c6991c71e8eff5290eec9f83e1a756f70cf4bd967a35e161610", 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" "7e9bf7e2e5503c6991c71e8eff5290eec9f83e1a756f70cf4bd967a35e161610" "/opt/rustwide/cargo-home/bin/cargo" "+c0bbd1b6d95c5dc13a0e7f2e2c5dfb0387e1f2d4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e9bf7e2e5503c6991c71e8eff5290eec9f83e1a756f70cf4bd967a35e161610", 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" "7e9bf7e2e5503c6991c71e8eff5290eec9f83e1a756f70cf4bd967a35e161610" "/opt/rustwide/cargo-home/bin/cargo" "+c0bbd1b6d95c5dc13a0e7f2e2c5dfb0387e1f2d4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `cluatoi` (manifest) generated 1 warning [INFO] [stderr] Checking cluatoi v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | pub type cluAtoi = Atoi; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | pub type cluAtoi = dyn Atoi; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Atoi` is not dyn compatible [INFO] [stdout] --> src/lib.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub type cluAtoi = Atoi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `Atoi` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/lib.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub trait Atoi { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 100 | fn atoi<'a>(array: &'a [u8]) -> AtoiResult { [INFO] [stdout] | ^^^^ ...because associated function `atoi` has no `self` parameter [INFO] [stdout] ... [INFO] [stdout] 146 | fn atoi_stop<'a>(array: &'a [u8], stop: u8) -> AtoiResult { [INFO] [stdout] | ^^^^^^^^^ ...because associated function `atoi_stop` has no `self` parameter [INFO] [stdout] ... [INFO] [stdout] 172 | fn atoi_wait_stop<'a>(array: &'a [u8], stop: u8) -> AtoiResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ ...because associated function `atoi_wait_stop` has no `self` parameter [INFO] [stdout] ... [INFO] [stdout] 193 | fn atoi_iter<'a, I: Iterator>(iter: I) -> AtoiResult; [INFO] [stdout] | ^^^^^^^^^ ...because associated function `atoi_iter` has no `self` parameter [INFO] [stdout] ... [INFO] [stdout] 235 | fn atoi_iter_stop<'a, I: Iterator>(iter: I, end: u8) -> AtoiResult; [INFO] [stdout] | ^^^^^^^^^^^^^^ ...because associated function `atoi_iter_stop` has no `self` parameter [INFO] [stdout] ... [INFO] [stdout] 259 | fn atoi_iter_wait_stop<'a, I: Iterator>(iter: I, end: u8) -> AtoiResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ...because associated function `atoi_iter_wait_stop` has no `self` parameter [INFO] [stdout] help: consider turning `atoi` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 100 | fn atoi<'a>(&self, array: &'a [u8]) -> AtoiResult { [INFO] [stdout] | ++++++ [INFO] [stdout] help: alternatively, consider constraining `atoi` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 100 | fn atoi<'a>(array: &'a [u8]) -> AtoiResult where Self: Sized { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] help: consider turning `atoi_iter` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 193 | fn atoi_iter<'a, I: Iterator>(&self, iter: I) -> AtoiResult; [INFO] [stdout] | ++++++ [INFO] [stdout] help: alternatively, consider constraining `atoi_iter` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 193 | fn atoi_iter<'a, I: Iterator>(iter: I) -> AtoiResult where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] help: consider turning `atoi_stop` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 146 | fn atoi_stop<'a>(&self, array: &'a [u8], stop: u8) -> AtoiResult { [INFO] [stdout] | ++++++ [INFO] [stdout] help: alternatively, consider constraining `atoi_stop` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 146 | fn atoi_stop<'a>(array: &'a [u8], stop: u8) -> AtoiResult where Self: Sized { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] help: consider turning `atoi_iter_stop` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 235 | fn atoi_iter_stop<'a, I: Iterator>(&self, iter: I, end: u8) -> AtoiResult; [INFO] [stdout] | ++++++ [INFO] [stdout] help: alternatively, consider constraining `atoi_iter_stop` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 235 | fn atoi_iter_stop<'a, I: Iterator>(iter: I, end: u8) -> AtoiResult where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] help: consider turning `atoi_wait_stop` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 172 | fn atoi_wait_stop<'a>(&self, array: &'a [u8], stop: u8) -> AtoiResult { [INFO] [stdout] | ++++++ [INFO] [stdout] help: alternatively, consider constraining `atoi_wait_stop` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 172 | fn atoi_wait_stop<'a>(array: &'a [u8], stop: u8) -> AtoiResult where Self: Sized { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] help: consider turning `atoi_iter_wait_stop` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 259 | fn atoi_iter_wait_stop<'a, I: Iterator>(&self, iter: I, end: u8) -> AtoiResult; [INFO] [stdout] | ++++++ [INFO] [stdout] help: alternatively, consider constraining `atoi_iter_wait_stop` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 259 | fn atoi_iter_wait_stop<'a, I: Iterator>(iter: I, end: u8) -> AtoiResult where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | pub type cluAtoi = Atoi; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | pub type cluAtoi = dyn Atoi; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Atoi` is not dyn compatible [INFO] [stdout] --> src/lib.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub type cluAtoi = Atoi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `Atoi` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/lib.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub trait Atoi { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 100 | fn atoi<'a>(array: &'a [u8]) -> AtoiResult { [INFO] [stdout] | ^^^^ ...because associated function `atoi` has no `self` parameter [INFO] [stdout] ... [INFO] [stdout] 146 | fn atoi_stop<'a>(array: &'a [u8], stop: u8) -> AtoiResult { [INFO] [stdout] | ^^^^^^^^^ ...because associated function `atoi_stop` has no `self` parameter [INFO] [stdout] ... [INFO] [stdout] 172 | fn atoi_wait_stop<'a>(array: &'a [u8], stop: u8) -> AtoiResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ ...because associated function `atoi_wait_stop` has no `self` parameter [INFO] [stdout] ... [INFO] [stdout] 193 | fn atoi_iter<'a, I: Iterator>(iter: I) -> AtoiResult; [INFO] [stdout] | ^^^^^^^^^ ...because associated function `atoi_iter` has no `self` parameter [INFO] [stdout] ... [INFO] [stdout] 235 | fn atoi_iter_stop<'a, I: Iterator>(iter: I, end: u8) -> AtoiResult; [INFO] [stdout] | ^^^^^^^^^^^^^^ ...because associated function `atoi_iter_stop` has no `self` parameter [INFO] [stdout] ... [INFO] [stdout] 259 | fn atoi_iter_wait_stop<'a, I: Iterator>(iter: I, end: u8) -> AtoiResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ...because associated function `atoi_iter_wait_stop` has no `self` parameter [INFO] [stdout] help: consider turning `atoi` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 100 | fn atoi<'a>(&self, array: &'a [u8]) -> AtoiResult { [INFO] [stdout] | ++++++ [INFO] [stdout] help: alternatively, consider constraining `atoi` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 100 | fn atoi<'a>(array: &'a [u8]) -> AtoiResult where Self: Sized { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] help: consider turning `atoi_iter` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 193 | fn atoi_iter<'a, I: Iterator>(&self, iter: I) -> AtoiResult; [INFO] [stdout] | ++++++ [INFO] [stdout] help: alternatively, consider constraining `atoi_iter` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 193 | fn atoi_iter<'a, I: Iterator>(iter: I) -> AtoiResult where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] help: consider turning `atoi_stop` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 146 | fn atoi_stop<'a>(&self, array: &'a [u8], stop: u8) -> AtoiResult { [INFO] [stdout] | ++++++ [INFO] [stdout] help: alternatively, consider constraining `atoi_stop` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 146 | fn atoi_stop<'a>(array: &'a [u8], stop: u8) -> AtoiResult where Self: Sized { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] help: consider turning `atoi_iter_stop` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 235 | fn atoi_iter_stop<'a, I: Iterator>(&self, iter: I, end: u8) -> AtoiResult; [INFO] [stdout] | ++++++ [INFO] [stdout] help: alternatively, consider constraining `atoi_iter_stop` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 235 | fn atoi_iter_stop<'a, I: Iterator>(iter: I, end: u8) -> AtoiResult where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] help: consider turning `atoi_wait_stop` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 172 | fn atoi_wait_stop<'a>(&self, array: &'a [u8], stop: u8) -> AtoiResult { [INFO] [stdout] | ++++++ [INFO] [stdout] help: alternatively, consider constraining `atoi_wait_stop` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 172 | fn atoi_wait_stop<'a>(array: &'a [u8], stop: u8) -> AtoiResult where Self: Sized { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] help: consider turning `atoi_iter_wait_stop` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 259 | fn atoi_iter_wait_stop<'a, I: Iterator>(&self, iter: I, end: u8) -> AtoiResult; [INFO] [stdout] | ++++++ [INFO] [stdout] help: alternatively, consider constraining `atoi_iter_wait_stop` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 259 | fn atoi_iter_wait_stop<'a, I: Iterator>(iter: I, end: u8) -> AtoiResult where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cluatoi` (lib test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cluatoi` (lib) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7e9bf7e2e5503c6991c71e8eff5290eec9f83e1a756f70cf4bd967a35e161610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e9bf7e2e5503c6991c71e8eff5290eec9f83e1a756f70cf4bd967a35e161610", kill_on_drop: false }` [INFO] [stdout] 7e9bf7e2e5503c6991c71e8eff5290eec9f83e1a756f70cf4bd967a35e161610