[INFO] fetching crate runtime-fmt 0.4.1... [INFO] checking runtime-fmt-0.4.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate runtime-fmt 0.4.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate runtime-fmt 0.4.1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-4/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: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fa7b584a8cd458e9ac451e58cb6b398e1ebc09b6ec693d345d48d8a4802425f [INFO] running `Command { std: "docker" "start" "-a" "9fa7b584a8cd458e9ac451e58cb6b398e1ebc09b6ec693d345d48d8a4802425f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fa7b584a8cd458e9ac451e58cb6b398e1ebc09b6ec693d345d48d8a4802425f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fa7b584a8cd458e9ac451e58cb6b398e1ebc09b6ec693d345d48d8a4802425f", kill_on_drop: false }` [INFO] [stdout] 9fa7b584a8cd458e9ac451e58cb6b398e1ebc09b6ec693d345d48d8a4802425f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf93097eecb372e88aa0ef39300984c70a2f9ad9a8bd6252b21ce1eff1403eac [INFO] running `Command { std: "docker" "start" "-a" "bf93097eecb372e88aa0ef39300984c70a2f9ad9a8bd6252b21ce1eff1403eac", kill_on_drop: false }` [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[E0433]: failed to resolve: could not find `Position` in `v1` [INFO] [stdout] --> src/lib.rs:521:39 [INFO] [stdout] | [INFO] [stdout] 521 | position: v1::Position::At(i), [INFO] [stdout] | ^^^^^^^^ not found in `v1` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 37 | use fmt_macros::Position; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Position` in `v1` [INFO] [stdout] --> src/lib.rs:543:39 [INFO] [stdout] | [INFO] [stdout] 543 | position: v1::Position::At(argument_pos), [INFO] [stdout] | ^^^^^^^^ not found in `v1` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 37 | use fmt_macros::Position; [INFO] [stdout] | [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: `#[warn(incomplete_features)]` on by default [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] [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] [stdout] warning: use of deprecated associated function `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 associated function `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[E0495]: cannot infer an appropriate lifetime for autoref due to conflicting requirements [INFO] [stdout] --> src/lib.rs:194:33 [INFO] [stdout] | [INFO] [stdout] 194 | let pieces = self.inner.pieces(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the lifetime `'s` as defined on the impl at 174:6... [INFO] [stdout] --> src/lib.rs:174:6 [INFO] [stdout] | [INFO] [stdout] 174 | impl<'s, T: FormatArgs> PreparedFormat<'s, T> { [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that the type `Parsed<'s, DelayedParse>` is not borrowed for too long [INFO] [stdout] --> src/lib.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | let pieces = self.inner.pieces(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: but, the lifetime must be valid for the static lifetime... [INFO] [stdout] note: ...so that the expression is assignable [INFO] [stdout] --> src/lib.rs:200:58 [INFO] [stdout] | [INFO] [stdout] 200 | Some(ref fmt) => Arguments::new_v1_formatted(&pieces, &args, fmt), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected `&[&'static str]` [INFO] [stdout] found `&[&str]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime for autoref due to conflicting requirements [INFO] [stdout] --> src/lib.rs:265:33 [INFO] [stdout] | [INFO] [stdout] 265 | let pieces = self.inner.pieces(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the lifetime `'s` as defined on the impl at 245:6... [INFO] [stdout] --> src/lib.rs:245:6 [INFO] [stdout] | [INFO] [stdout] 245 | impl<'s> FormatBuf<'s> { [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that the type `Parsed<'s, ImmediateParse<'s>>` is not borrowed for too long [INFO] [stdout] --> src/lib.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 265 | let pieces = self.inner.pieces(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: but, the lifetime must be valid for the static lifetime... [INFO] [stdout] note: ...so that the expression is assignable [INFO] [stdout] --> src/lib.rs:267:58 [INFO] [stdout] | [INFO] [stdout] 267 | Some(ref fmt) => Arguments::new_v1_formatted(&pieces, &self.inner.args, fmt), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected `&[&'static str]` [INFO] [stdout] found `&[&str]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0495. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `runtime-fmt` due to 5 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bf93097eecb372e88aa0ef39300984c70a2f9ad9a8bd6252b21ce1eff1403eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf93097eecb372e88aa0ef39300984c70a2f9ad9a8bd6252b21ce1eff1403eac", kill_on_drop: false }` [INFO] [stdout] bf93097eecb372e88aa0ef39300984c70a2f9ad9a8bd6252b21ce1eff1403eac