[INFO] fetching crate strerror 0.6.3... [INFO] checking strerror-0.6.3 against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] extracting crate strerror 0.6.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate strerror 0.6.3 on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ce6408862c0f4858e6cd2b85b2cf085ff7d0d6323904d0a94b71664a228554ab" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6f488eefb605b679fdcbb05125ceddc6d81cb9f22fb7f9d3c86e5b686e52fac [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" "b6f488eefb605b679fdcbb05125ceddc6d81cb9f22fb7f9d3c86e5b686e52fac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6f488eefb605b679fdcbb05125ceddc6d81cb9f22fb7f9d3c86e5b686e52fac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6f488eefb605b679fdcbb05125ceddc6d81cb9f22fb7f9d3c86e5b686e52fac", kill_on_drop: false }` [INFO] [stdout] b6f488eefb605b679fdcbb05125ceddc6d81cb9f22fb7f9d3c86e5b686e52fac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ce6408862c0f4858e6cd2b85b2cf085ff7d0d6323904d0a94b71664a228554ab" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef7cd4790829cf8e1400bca6f7981b5aa65c4f68b7da8ad64440d997f1675098 [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" "ef7cd4790829cf8e1400bca6f7981b5aa65c4f68b7da8ad64440d997f1675098", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 #1 defined on the method body at 368:5... [INFO] [stdout] --> src/lib.rs:368:5 [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 #1 defined on the method body at 368:5... [INFO] [stdout] --> src/lib.rs:368:5 [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" "ef7cd4790829cf8e1400bca6f7981b5aa65c4f68b7da8ad64440d997f1675098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef7cd4790829cf8e1400bca6f7981b5aa65c4f68b7da8ad64440d997f1675098", kill_on_drop: false }` [INFO] [stdout] ef7cd4790829cf8e1400bca6f7981b5aa65c4f68b7da8ad64440d997f1675098