[INFO] fetching crate cargo 0.36.0... [INFO] extracting crate cargo 0.36.0 into work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/reg/cargo/0.36.0 [INFO] extracting crate cargo 0.36.0 into work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/reg/cargo/0.36.0 [INFO] validating manifest of cargo-0.36.0 on toolchain master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1 [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of cargo-0.36.0 on toolchain try#8f81d0bf6baf07b92f1246696722485c4ca0b049 [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing cargo-0.36.0 [INFO] finished frobbing cargo-0.36.0 [INFO] frobbed toml for cargo-0.36.0 written to work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/reg/cargo/0.36.0/Cargo.toml [INFO] started frobbing cargo-0.36.0 [INFO] finished frobbing cargo-0.36.0 [INFO] frobbed toml for cargo-0.36.0 written to work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/reg/cargo/0.36.0/Cargo.toml [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking cargo-0.36.0 against master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1 for pr-62008 [INFO] running `"docker" "create" "-v" "/mnt/big/ec2-user/crater/work/local/target-dirs/pr-62008/worker-6/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1:/opt/crater/target:rw,Z" "-v" "/mnt/big/ec2-user/crater/work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/reg/cargo/0.36.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/ec2-user/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/ec2-user/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] efe759222c2d79ec6c1e9e4e8c2a7044161d1b3adab7170d7927ebb33e716bf3 [INFO] running `"docker" "start" "-a" "efe759222c2d79ec6c1e9e4e8c2a7044161d1b3adab7170d7927ebb33e716bf3"` [INFO] [stderr] Checking crates-io v0.24.0 [INFO] [stderr] Compiling im-rc v12.3.4 [INFO] [stderr] Checking cargo v0.36.0 (/opt/crater/workdir) [INFO] [stderr] warning: outlives requirements can be inferred [INFO] [stderr] --> src/cargo/core/compiler/build_context/mod.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct BuildContext<'a, 'cfg: 'a> { [INFO] [stderr] | ^^^^ help: remove this bound [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/cargo/lib.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | #![warn(rust_2018_idioms)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: #[warn(explicit_outlives_requirements)] implied by #[warn(rust_2018_idioms)] [INFO] [stderr] [INFO] [stderr] warning: outlives requirements can be inferred [INFO] [stderr] --> src/cargo/core/compiler/context/mod.rs:73:28 [INFO] [stderr] | [INFO] [stderr] 73 | pub struct Context<'a, 'cfg: 'a> { [INFO] [stderr] | ^^^^ help: remove this bound [INFO] [stderr] [INFO] [stderr] warning: outlives requirements can be inferred [INFO] [stderr] --> src/cargo/core/compiler/context/unit_dependencies.rs:30:16 [INFO] [stderr] | [INFO] [stderr] 30 | struct State<'a: 'tmp, 'cfg: 'a, 'tmp> { [INFO] [stderr] | ^^^^^^ ^^^^ [INFO] [stderr] help: remove these bounds [INFO] [stderr] | [INFO] [stderr] 30 | struct State<'a, 'cfg, 'tmp> { [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: outlives requirements can be inferred [INFO] [stderr] --> src/cargo/core/compiler/context/compilation_files.rs:52:37 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct CompilationFiles<'a, 'cfg: 'a> { [INFO] [stderr] | ^^^^ help: remove this bound [INFO] [stderr] [INFO] [stderr] warning: outlives requirements can be inferred [INFO] [stderr] --> src/cargo/core/package.rs:282:30 [INFO] [stderr] | [INFO] [stderr] 282 | pub struct Downloads<'a, 'cfg: 'a> { [INFO] [stderr] | ^^^^ help: remove this bound [INFO] [stderr] [INFO] [stderr] warning: outlives requirements can be inferred [INFO] [stderr] --> src/cargo/core/resolver/encode.rs:328:37 [INFO] [stderr] | [INFO] [stderr] 328 | pub struct WorkspaceResolve<'a, 'cfg: 'a> { [INFO] [stderr] | ^^^^ help: remove this bound [INFO] [stderr] [INFO] [stderr] warning: outlives requirements can be inferred [INFO] [stderr] --> src/cargo/core/workspace.rs:122:28 [INFO] [stderr] | [INFO] [stderr] 122 | pub struct Members<'a, 'cfg: 'a> { [INFO] [stderr] | ^^^^ help: remove this bound [INFO] [stderr] [INFO] [stderr] error: outlives requirements can be inferred [INFO] [stderr] --> src/cargo/core/compiler/build_context/mod.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct BuildContext<'a, 'cfg: 'a> { [INFO] [stderr] | ^^^^ help: remove this bound [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/cargo/lib.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(test, deny(warnings))] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(explicit_outlives_requirements)] implied by #[deny(warnings)] [INFO] [stderr] [INFO] [stderr] error: outlives requirements can be inferred [INFO] [stderr] --> src/cargo/core/compiler/context/mod.rs:73:28 [INFO] [stderr] | [INFO] [stderr] 73 | pub struct Context<'a, 'cfg: 'a> { [INFO] [stderr] | ^^^^ help: remove this bound [INFO] [stderr] [INFO] [stderr] error: outlives requirements can be inferred [INFO] [stderr] --> src/cargo/core/compiler/context/unit_dependencies.rs:30:16 [INFO] [stderr] | [INFO] [stderr] 30 | struct State<'a: 'tmp, 'cfg: 'a, 'tmp> { [INFO] [stderr] | ^^^^^^ ^^^^ [INFO] [stderr] help: remove these bounds [INFO] [stderr] | [INFO] [stderr] 30 | struct State<'a, 'cfg, 'tmp> { [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] error: outlives requirements can be inferred [INFO] [stderr] --> src/cargo/core/compiler/context/compilation_files.rs:52:37 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct CompilationFiles<'a, 'cfg: 'a> { [INFO] [stderr] | ^^^^ help: remove this bound [INFO] [stderr] [INFO] [stderr] error: outlives requirements can be inferred [INFO] [stderr] --> src/cargo/core/package.rs:282:30 [INFO] [stderr] | [INFO] [stderr] 282 | pub struct Downloads<'a, 'cfg: 'a> { [INFO] [stderr] | ^^^^ help: remove this bound [INFO] [stderr] [INFO] [stderr] error: outlives requirements can be inferred [INFO] [stderr] --> src/cargo/core/resolver/encode.rs:328:37 [INFO] [stderr] | [INFO] [stderr] 328 | pub struct WorkspaceResolve<'a, 'cfg: 'a> { [INFO] [stderr] | ^^^^ help: remove this bound [INFO] [stderr] [INFO] [stderr] error: outlives requirements can be inferred [INFO] [stderr] --> src/cargo/core/workspace.rs:122:28 [INFO] [stderr] | [INFO] [stderr] 122 | pub struct Members<'a, 'cfg: 'a> { [INFO] [stderr] | ^^^^ help: remove this bound [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `cargo`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: cannot borrow `*p` as mutable because it is also borrowed as immutable [INFO] [stderr] --> tests/testsuite/support/mod.rs:794:17 [INFO] [stderr] | [INFO] [stderr] 793 | if let Some(cwd) = p.get_cwd() { [INFO] [stderr] | - immutable borrow occurs here [INFO] [stderr] 794 | p.cwd(cwd.join(path.as_ref())); [INFO] [stderr] | ^ --- immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: #[warn(mutable_borrow_reservation_conflict)] on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "efe759222c2d79ec6c1e9e4e8c2a7044161d1b3adab7170d7927ebb33e716bf3"` [INFO] running `"docker" "rm" "-f" "efe759222c2d79ec6c1e9e4e8c2a7044161d1b3adab7170d7927ebb33e716bf3"` [INFO] [stdout] efe759222c2d79ec6c1e9e4e8c2a7044161d1b3adab7170d7927ebb33e716bf3