[INFO] fetching crate runtime-fmt 0.4.1... [INFO] checking runtime-fmt-0.4.1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate runtime-fmt 0.4.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate runtime-fmt 0.4.1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-0-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 465a2851dc4e59f830dc89086e6481d775ded04a22ef3699c6750160608e0c42 [INFO] running `Command { std: "docker" "start" "-a" "465a2851dc4e59f830dc89086e6481d775ded04a22ef3699c6750160608e0c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "465a2851dc4e59f830dc89086e6481d775ded04a22ef3699c6750160608e0c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "465a2851dc4e59f830dc89086e6481d775ded04a22ef3699c6750160608e0c42", kill_on_drop: false }` [INFO] [stdout] 465a2851dc4e59f830dc89086e6481d775ded04a22ef3699c6750160608e0c42 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d12c2425ecab1a2dfdf9417560553436ebcd74ba681dbc8d01724b217582ffd1 [INFO] running `Command { std: "docker" "start" "-a" "d12c2425ecab1a2dfdf9417560553436ebcd74ba681dbc8d01724b217582ffd1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking unicode-xid v0.2.0 [INFO] [stderr] Compiling runtime-fmt-derive v0.2.0 [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/ff1737bb00913444173658b4e0b274fd79aabf66/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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/fmt/mod.rs:348: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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/fmt/mod.rs:348: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 [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/ff1737bb00913444173658b4e0b274fd79aabf66/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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/fmt/mod.rs:348: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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/fmt/mod.rs:348: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 test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "d12c2425ecab1a2dfdf9417560553436ebcd74ba681dbc8d01724b217582ffd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d12c2425ecab1a2dfdf9417560553436ebcd74ba681dbc8d01724b217582ffd1", kill_on_drop: false }` [INFO] [stdout] d12c2425ecab1a2dfdf9417560553436ebcd74ba681dbc8d01724b217582ffd1