[INFO] fetching crate cargo 0.46.0... [INFO] testing cargo-0.46.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate cargo 0.46.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate cargo 0.46.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo 0.46.0 [INFO] finished tweaking crates.io crate cargo 0.46.0 [INFO] tweaked toml for crates.io crate cargo 0.46.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate cargo 0.46.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e85d75ce172f45a3a97dd155dd16248fdeddec8359b62d314afb3f7ef1d0f79 [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" "7e85d75ce172f45a3a97dd155dd16248fdeddec8359b62d314afb3f7ef1d0f79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e85d75ce172f45a3a97dd155dd16248fdeddec8359b62d314afb3f7ef1d0f79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e85d75ce172f45a3a97dd155dd16248fdeddec8359b62d314afb3f7ef1d0f79", kill_on_drop: false }` [INFO] [stdout] 7e85d75ce172f45a3a97dd155dd16248fdeddec8359b62d314afb3f7ef1d0f79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0be87bfededa352d2e0cd0db3578eb908f7dd4e13736edb52673a4b80c7ee794 [INFO] running `Command { std: "docker" "start" "-a" "0be87bfededa352d2e0cd0db3578eb908f7dd4e13736edb52673a4b80c7ee794", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling curl v0.4.24 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling shell-escape v0.1.4 [INFO] [stderr] Compiling home v0.5.1 [INFO] [stderr] Compiling rustc-workspace-hack v1.0.0 [INFO] [stderr] Compiling opener v0.4.1 [INFO] [stderr] Compiling bytesize v1.0.0 [INFO] [stderr] Compiling humantime v2.0.0 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling hex v0.4.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling im-rc v15.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling vte v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling strip-ansi-escapes v0.1.0 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling filetime v0.2.10 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling bitmaps v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand_xoshiro v0.4.0 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling globset v0.4.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling ignore v0.4.10 [INFO] [stderr] Compiling openssl-sys v0.9.49 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libnghttp2-sys v0.1.3 [INFO] [stderr] Compiling curl-sys v0.4.30+curl-7.69.1 [INFO] [stderr] Compiling libssh2-sys v0.2.12 [INFO] [stderr] Compiling libgit2-sys v0.12.7+1.0.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling sized-chunks v0.6.2 [INFO] [stderr] Compiling flate2 v1.0.11 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling crypto-hash v0.3.4 [INFO] [stderr] Compiling git2 v0.13.6 [INFO] [stderr] Compiling git2-curl v0.14.0 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling serde_ignored v0.1.0 [INFO] [stderr] Compiling toml v0.5.5 [INFO] [stderr] Compiling semver v0.10.0 [INFO] [stderr] Compiling crates-io v0.31.1 [INFO] [stderr] Compiling rustfix v0.5.0 [INFO] [stderr] Compiling cargo v0.46.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 13s [INFO] running `Command { std: "docker" "inspect" "0be87bfededa352d2e0cd0db3578eb908f7dd4e13736edb52673a4b80c7ee794", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be87bfededa352d2e0cd0db3578eb908f7dd4e13736edb52673a4b80c7ee794", kill_on_drop: false }` [INFO] [stdout] 0be87bfededa352d2e0cd0db3578eb908f7dd4e13736edb52673a4b80c7ee794 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab7fcd9609df7246edd0a18c9853dc777b754fb624d809503a749e479f46cbed [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" "ab7fcd9609df7246edd0a18c9853dc777b754fb624d809503a749e479f46cbed", kill_on_drop: false }` [INFO] [stderr] Compiling cargo v0.46.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `cargo_test_macro` [INFO] [stdout] --> tests/testsuite/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate cargo_test_macro; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cargo_test_support` [INFO] [stdout] --> tests/build-std/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use cargo_test_support::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `cargo_test_support` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cargo_test` in this scope [INFO] [stdout] --> tests/build-std/main.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | #[cargo_test(build_std)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cargo_test` in this scope [INFO] [stdout] --> tests/build-std/main.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 122 | #[cargo_test(build_std)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cargo_test` in this scope [INFO] [stdout] --> tests/build-std/main.rs:165:3 [INFO] [stdout] | [INFO] [stdout] 165 | #[cargo_test(build_std)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo`. [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[E0433]: failed to resolve: use of undeclared type or module `paths` [INFO] [stdout] --> tests/build-std/main.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | let sysroot = paths::sysroot(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `paths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Execs` in this scope [INFO] [stdout] --> tests/build-std/main.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | fn enable_build_std(e: &mut Execs, arg: Option<&str>) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Execs` in this scope [INFO] [stdout] --> tests/build-std/main.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | impl BuildStd for Execs { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rustc_host` in this scope [INFO] [stdout] --> tests/build-std/main.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | self.arg("--target").arg(rustc_host()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `project` in this scope [INFO] [stdout] --> tests/build-std/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let p = project() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rustc_host` in this scope [INFO] [stdout] --> tests/build-std/main.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | .join(rustc_host()) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `project` in this scope [INFO] [stdout] --> tests/build-std/main.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let p = project() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `basic_manifest` in this scope [INFO] [stdout] --> tests/build-std/main.rs:141:34 [INFO] [stdout] | [INFO] [stdout] 141 | .file("dep/Cargo.toml", &basic_manifest("dep", "0.1.0")) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `project` in this scope [INFO] [stdout] --> tests/build-std/main.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let p = project() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rustc_host` in this scope [INFO] [stdout] --> tests/build-std/main.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | .join(rustc_host()) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ab7fcd9609df7246edd0a18c9853dc777b754fb624d809503a749e479f46cbed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab7fcd9609df7246edd0a18c9853dc777b754fb624d809503a749e479f46cbed", kill_on_drop: false }` [INFO] [stdout] ab7fcd9609df7246edd0a18c9853dc777b754fb624d809503a749e479f46cbed