[INFO] fetching crate runtime-fmt 0.4.1... [INFO] checking runtime-fmt-0.4.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate runtime-fmt 0.4.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate runtime-fmt 0.4.1 [INFO] finished tweaking crates.io crate runtime-fmt 0.4.1 [INFO] tweaked toml for crates.io crate runtime-fmt 0.4.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate runtime-fmt 0.4.1 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] crate crates.io crate runtime-fmt 0.4.1 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" "+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] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded runtime-fmt-derive v0.2.0 [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e9792e1710275d25bbbec3724eacfa4404e83217a641cd7ba31cc1e5cc35501 [INFO] running `Command { std: "docker" "start" "-a" "9e9792e1710275d25bbbec3724eacfa4404e83217a641cd7ba31cc1e5cc35501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e9792e1710275d25bbbec3724eacfa4404e83217a641cd7ba31cc1e5cc35501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e9792e1710275d25bbbec3724eacfa4404e83217a641cd7ba31cc1e5cc35501", kill_on_drop: false }` [INFO] [stdout] 9e9792e1710275d25bbbec3724eacfa4404e83217a641cd7ba31cc1e5cc35501 [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 490cde769b6dfd0f7e60ba20ee1bbbd7142cf5131b4d67fc5543731b5342f321 [INFO] running `Command { std: "docker" "start" "-a" "490cde769b6dfd0f7e60ba20ee1bbbd7142cf5131b4d67fc5543731b5342f321", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking unicode-xid v0.2.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking runtime-fmt v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::fmt::ArgumentV1` [INFO] [stdout] --> src/lib.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | use std::fmt::{self, Arguments, ArgumentV1}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `ArgumentV1` in `fmt` [INFO] [stdout] | help: a similar name exists in the module: `Arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fmt::rt` [INFO] [stdout] --> src/lib.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | use std::fmt::rt::v1; [INFO] [stdout] | ^^ could not find `rt` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ArgumentV1` in `fmt` [INFO] [stdout] --> src/erase.rs:54:48 [INFO] [stdout] | [INFO] [stdout] 54 | Some(f) => Ok(fmt::ArgumentV1::new(self, f)), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | could not find `ArgumentV1` in `fmt` [INFO] [stdout] | help: a struct with a similar name exists: `Arguments` [INFO] [stdout] ... [INFO] [stdout] 85 | / traits! { [INFO] [stdout] 86 | | "", Display, display; [INFO] [stdout] 87 | | "?", Debug, debug; [INFO] [stdout] 88 | | "e", LowerExp, lower_exp; [INFO] [stdout] ... | [INFO] [stdout] 94 | | "X", UpperHex, upper_hex; [INFO] [stdout] 95 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArgumentV1` in module `fmt` [INFO] [stdout] --> src/erase.rs:42:77 [INFO] [stdout] | [INFO] [stdout] 42 | fn by_name<'n>(&self, name: &'n str, idx: usize) -> Result>; [INFO] [stdout] | ^^^^^^^^^^ help: a struct with a similar name exists: `Arguments` [INFO] [stdout] ... [INFO] [stdout] 85 | / traits! { [INFO] [stdout] 86 | | "", Display, display; [INFO] [stdout] 87 | | "?", Debug, debug; [INFO] [stdout] 88 | | "e", LowerExp, lower_exp; [INFO] [stdout] ... | [INFO] [stdout] 94 | | "X", UpperHex, upper_hex; [INFO] [stdout] 95 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/mod.rs:617:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Arguments` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArgumentV1` in module `fmt` [INFO] [stdout] --> src/erase.rs:50:77 [INFO] [stdout] | [INFO] [stdout] 50 | fn by_name<'n>(&self, name: &'n str, idx: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: a struct with a similar name exists: `Arguments` [INFO] [stdout] ... [INFO] [stdout] 85 | / traits! { [INFO] [stdout] 86 | | "", Display, display; [INFO] [stdout] 87 | | "?", Debug, debug; [INFO] [stdout] 88 | | "e", LowerExp, lower_exp; [INFO] [stdout] ... | [INFO] [stdout] 94 | | "X", UpperHex, upper_hex; [INFO] [stdout] 95 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/mod.rs:617:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Arguments` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `fmt_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #![feature(fmt_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `unicode_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | #![feature(unicode_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `print_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | #![feature(print_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/codegen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/codegen.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/codegen.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/codegen.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/codegen.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | Error::Io(ref e) => e.description(), [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:91:36 [INFO] [stdout] | [INFO] [stdout] 91 | Error::Fmt(ref f) => f.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:201:39 [INFO] [stdout] | [INFO] [stdout] 201 | None => Arguments::new_v1(&pieces, &args), [INFO] [stdout] | ----------------- ^^^^^^^ expected `&[&str; _]`, found `&Vec<&str>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[&'static str; _]` [INFO] [stdout] found reference `&Vec<&str>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/rt.rs:209:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:268:39 [INFO] [stdout] | [INFO] [stdout] 268 | None => Arguments::new_v1(&pieces, &self.inner.args), [INFO] [stdout] | ----------------- ^^^^^^^ expected `&[&str; _]`, found `&Vec<&str>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[&'static str; _]` [INFO] [stdout] found reference `&Vec<&str>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/rt.rs:209:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `runtime-fmt` (lib) due to 7 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "490cde769b6dfd0f7e60ba20ee1bbbd7142cf5131b4d67fc5543731b5342f321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "490cde769b6dfd0f7e60ba20ee1bbbd7142cf5131b4d67fc5543731b5342f321", kill_on_drop: false }` [INFO] [stdout] 490cde769b6dfd0f7e60ba20ee1bbbd7142cf5131b4d67fc5543731b5342f321