[INFO] fetching crate strerror 0.6.3... [INFO] checking strerror-0.6.3 against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] extracting crate strerror 0.6.3 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate strerror 0.6.3 on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate strerror 0.6.3 [INFO] finished tweaking crates.io crate strerror 0.6.3 [INFO] tweaked toml for crates.io crate strerror 0.6.3 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8a06750356c1e93a1e56b9ea2f0e3001e7dc0ea7b472b9d72295e79f6a1f40b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f8a06750356c1e93a1e56b9ea2f0e3001e7dc0ea7b472b9d72295e79f6a1f40b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8a06750356c1e93a1e56b9ea2f0e3001e7dc0ea7b472b9d72295e79f6a1f40b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8a06750356c1e93a1e56b9ea2f0e3001e7dc0ea7b472b9d72295e79f6a1f40b", kill_on_drop: false }` [INFO] [stdout] f8a06750356c1e93a1e56b9ea2f0e3001e7dc0ea7b472b9d72295e79f6a1f40b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e80110a99f5d122f398cdd1b4f0d6e7e71205bb74eb3a4e6bc397d66431a454 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9e80110a99f5d122f398cdd1b4f0d6e7e71205bb74eb3a4e6bc397d66431a454", kill_on_drop: false }` [INFO] [stderr] Checking strerror v0.6.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/lib.rs:631:12 [INFO] [stdout] | [INFO] [stdout] 631 | impl_from!(std::alloc::LayoutErr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/lib.rs:631:12 [INFO] [stdout] | [INFO] [stdout] 631 | impl_from!(std::alloc::LayoutErr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/lib.rs:631:12 [INFO] [stdout] | [INFO] [stdout] 631 | impl_from!(std::alloc::LayoutErr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/lib.rs:631:12 [INFO] [stdout] | [INFO] [stdout] 631 | impl_from!(std::alloc::LayoutErr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime for borrow expression due to conflicting requirements [INFO] [stdout] --> src/lib.rs:369:15 [INFO] [stdout] | [INFO] [stdout] 369 | match &self.next { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the anonymous lifetime defined on the method body at 368:13... [INFO] [stdout] --> src/lib.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | fn next(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: ...so that reference does not outlive borrowed content [INFO] [stdout] --> src/lib.rs:369:15 [INFO] [stdout] | [INFO] [stdout] 369 | match &self.next { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: but, the lifetime must be valid for the lifetime `'a` as defined on the impl at 365:6... [INFO] [stdout] --> src/lib.rs:365:6 [INFO] [stdout] | [INFO] [stdout] 365 | impl<'a> Iterator for Iter<'a> { [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that the expression is assignable [INFO] [stdout] --> src/lib.rs:373:29 [INFO] [stdout] | [INFO] [stdout] 373 | self.next = e.source(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: expected `Option<&'a (dyn std::error::Error + 'static)>` [INFO] [stdout] found `Option<&(dyn std::error::Error + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0495`. [INFO] [stdout] [INFO] [stderr] error: could not compile `strerror` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime for borrow expression due to conflicting requirements [INFO] [stdout] --> src/lib.rs:369:15 [INFO] [stdout] | [INFO] [stdout] 369 | match &self.next { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the anonymous lifetime defined on the method body at 368:13... [INFO] [stdout] --> src/lib.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | fn next(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: ...so that reference does not outlive borrowed content [INFO] [stdout] --> src/lib.rs:369:15 [INFO] [stdout] | [INFO] [stdout] 369 | match &self.next { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: but, the lifetime must be valid for the lifetime `'a` as defined on the impl at 365:6... [INFO] [stdout] --> src/lib.rs:365:6 [INFO] [stdout] | [INFO] [stdout] 365 | impl<'a> Iterator for Iter<'a> { [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that the expression is assignable [INFO] [stdout] --> src/lib.rs:373:29 [INFO] [stdout] | [INFO] [stdout] 373 | self.next = e.source(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: expected `Option<&'a (dyn std::error::Error + 'static)>` [INFO] [stdout] found `Option<&(dyn std::error::Error + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0495`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9e80110a99f5d122f398cdd1b4f0d6e7e71205bb74eb3a4e6bc397d66431a454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e80110a99f5d122f398cdd1b4f0d6e7e71205bb74eb3a4e6bc397d66431a454", kill_on_drop: false }` [INFO] [stdout] 9e80110a99f5d122f398cdd1b4f0d6e7e71205bb74eb3a4e6bc397d66431a454