[INFO] fetching crate runtime-fmt 0.4.1... [INFO] checking runtime-fmt-0.4.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate runtime-fmt 0.4.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate runtime-fmt 0.4.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc1/source/Cargo.toml [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b48f62b6fc8e7639a06e4ead142abf16554c6e6e51ed1e12297692c3796a3b92 [INFO] running `Command { std: "docker" "start" "-a" "b48f62b6fc8e7639a06e4ead142abf16554c6e6e51ed1e12297692c3796a3b92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b48f62b6fc8e7639a06e4ead142abf16554c6e6e51ed1e12297692c3796a3b92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b48f62b6fc8e7639a06e4ead142abf16554c6e6e51ed1e12297692c3796a3b92", kill_on_drop: false }` [INFO] [stdout] b48f62b6fc8e7639a06e4ead142abf16554c6e6e51ed1e12297692c3796a3b92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04f35bc7789809a837b667f8378018bc208808b92ab0e476224ee5928c2901b3 [INFO] running `Command { std: "docker" "start" "-a" "04f35bc7789809a837b667f8378018bc208808b92ab0e476224ee5928c2901b3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/fmt/mod.rs:319: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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/fmt/mod.rs:319: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: elided lifetime has a name [INFO] [stdout] --> src/erase.rs:67:67 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn codegen_get_child<'n, T: ::FormatArgs>(name: &'n str, idx: usize) [INFO] [stdout] | -- lifetime `'n` declared here [INFO] [stdout] 67 | -> Result fmt::Result, Error> [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'n` [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: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:180:51 [INFO] [stdout] | [INFO] [stdout] 174 | impl<'s, T: FormatArgs> PreparedFormat<'s, T> { [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn prepare(spec: &'s str) -> Result { [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'s` [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/fmt/mod.rs:345: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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/fmt/mod.rs:345:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 13 warnings emitted [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 8 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "04f35bc7789809a837b667f8378018bc208808b92ab0e476224ee5928c2901b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04f35bc7789809a837b667f8378018bc208808b92ab0e476224ee5928c2901b3", kill_on_drop: false }` [INFO] [stdout] 04f35bc7789809a837b667f8378018bc208808b92ab0e476224ee5928c2901b3