[INFO] fetching crate runtime-fmt 0.4.1... [INFO] checking runtime-fmt-0.4.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate runtime-fmt 0.4.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate runtime-fmt 0.4.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-6-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 978e0d067e8433cd18c3b9f8053fe09153d396b81cc95c7bac227f2ed3a12146 [INFO] running `Command { std: "docker" "start" "-a" "978e0d067e8433cd18c3b9f8053fe09153d396b81cc95c7bac227f2ed3a12146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "978e0d067e8433cd18c3b9f8053fe09153d396b81cc95c7bac227f2ed3a12146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "978e0d067e8433cd18c3b9f8053fe09153d396b81cc95c7bac227f2ed3a12146", kill_on_drop: false }` [INFO] [stdout] 978e0d067e8433cd18c3b9f8053fe09153d396b81cc95c7bac227f2ed3a12146 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cf575094d7820dbef13562bf8f7b0d0b61d421e5ab861dbab025a5d78166ccf [INFO] running `Command { std: "docker" "start" "-a" "5cf575094d7820dbef13562bf8f7b0d0b61d421e5ab861dbab025a5d78166ccf", kill_on_drop: false }` [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/fmt/mod.rs:311: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/fmt/mod.rs:311: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[E0277]: the size for values of type `[core::fmt::rt::Placeholder]` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | Some(ref fmt) => Arguments::new_v1_formatted(&pieces, &args, fmt), [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[core::fmt::rt::Placeholder]` [INFO] [stdout] note: required by a bound in `Some` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/lib.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | Some(ref fmt) => Arguments::new_v1_formatted(&pieces, &args, fmt), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------- an argument of type `core::fmt::rt::UnsafeArg` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/fmt/mod.rs:354:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 200 | Some(ref fmt) => Arguments::new_v1_formatted(&pieces, &args, fmt, /* core::fmt::rt::UnsafeArg */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[core::fmt::rt::Placeholder]` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | Some(ref fmt) => Arguments::new_v1_formatted(&pieces, &self.inner.args, fmt), [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[core::fmt::rt::Placeholder]` [INFO] [stdout] note: required by a bound in `Some` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/lib.rs:267:30 [INFO] [stdout] | [INFO] [stdout] 267 | Some(ref fmt) => Arguments::new_v1_formatted(&pieces, &self.inner.args, fmt), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------- an argument of type `core::fmt::rt::UnsafeArg` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/fmt/mod.rs:354:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 267 | Some(ref fmt) => Arguments::new_v1_formatted(&pieces, &self.inner.args, fmt, /* core::fmt::rt::UnsafeArg */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `runtime-fmt` (lib) due to 10 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5cf575094d7820dbef13562bf8f7b0d0b61d421e5ab861dbab025a5d78166ccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cf575094d7820dbef13562bf8f7b0d0b61d421e5ab861dbab025a5d78166ccf", kill_on_drop: false }` [INFO] [stdout] 5cf575094d7820dbef13562bf8f7b0d0b61d421e5ab861dbab025a5d78166ccf