[INFO] fetching crate writeup 1.0.2... [INFO] building writeup-1.0.2 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate writeup 1.0.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate writeup 1.0.2 [INFO] finished tweaking crates.io crate writeup 1.0.2 [INFO] tweaked toml for crates.io crate writeup 1.0.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate writeup 1.0.2 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate writeup 1.0.2 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14273b3fc9ff8d0bd445a9731b27d6a89e7c27aaa526a7e8df91d6b078b235d0 [INFO] running `Command { std: "docker" "start" "-a" "14273b3fc9ff8d0bd445a9731b27d6a89e7c27aaa526a7e8df91d6b078b235d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14273b3fc9ff8d0bd445a9731b27d6a89e7c27aaa526a7e8df91d6b078b235d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14273b3fc9ff8d0bd445a9731b27d6a89e7c27aaa526a7e8df91d6b078b235d0", kill_on_drop: false }` [INFO] [stdout] 14273b3fc9ff8d0bd445a9731b27d6a89e7c27aaa526a7e8df91d6b078b235d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d0f0aeb76596fd9c500413533a1134f9fbe5c0e9ad6f3086747cd58daadc728 [INFO] running `Command { std: "docker" "start" "-a" "5d0f0aeb76596fd9c500413533a1134f9fbe5c0e9ad6f3086747cd58daadc728", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling runtime-fmt v0.4.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stdout] error[E0432]: unresolved import `std::fmt::ArgumentV1` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/runtime-fmt-0.4.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/runtime-fmt-0.4.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/runtime-fmt-0.4.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/runtime-fmt-0.4.1/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] | [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/runtime-fmt-0.4.1/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] | [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/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[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/runtime-fmt-0.4.1/src/lib.rs:391:62 [INFO] [stdout] | [INFO] [stdout] 391 | let len = self.fmt.as_ref().map_or(self.args.len(), |fmt| fmt.len()); [INFO] [stdout] | ^^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 391 | let len = self.fmt.as_ref().map_or(self.args.len(), |fmt: /* Type */| fmt.len()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/runtime-fmt-0.4.1/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/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/fmt/rt.rs:209:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/runtime-fmt-0.4.1/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/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/fmt/rt.rs:209:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/runtime-fmt-0.4.1/src/lib.rs:542:25 [INFO] [stdout] | [INFO] [stdout] 542 | fmt.push(v1::Argument { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `runtime-fmt` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5d0f0aeb76596fd9c500413533a1134f9fbe5c0e9ad6f3086747cd58daadc728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d0f0aeb76596fd9c500413533a1134f9fbe5c0e9ad6f3086747cd58daadc728", kill_on_drop: false }` [INFO] [stdout] 5d0f0aeb76596fd9c500413533a1134f9fbe5c0e9ad6f3086747cd58daadc728