[INFO] fetching crate cargo-patch 0.1.7... [INFO] checking cargo-patch-0.1.7 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate cargo-patch 0.1.7 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate cargo-patch 0.1.7 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-patch 0.1.7 [INFO] finished tweaking crates.io crate cargo-patch 0.1.7 [INFO] tweaked toml for crates.io crate cargo-patch 0.1.7 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate cargo-patch 0.1.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2a131e07c705acb85f30be403f25c3ee546f4eb685050615804e58c6dda0711 [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" "f2a131e07c705acb85f30be403f25c3ee546f4eb685050615804e58c6dda0711", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2a131e07c705acb85f30be403f25c3ee546f4eb685050615804e58c6dda0711", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2a131e07c705acb85f30be403f25c3ee546f4eb685050615804e58c6dda0711", kill_on_drop: false }` [INFO] [stdout] f2a131e07c705acb85f30be403f25c3ee546f4eb685050615804e58c6dda0711 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20272a4ed16e41c9018bec9bcf148a546b31e32f05c4d2b688e8364fd17119c6 [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" "20272a4ed16e41c9018bec9bcf148a546b31e32f05c4d2b688e8364fd17119c6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling curl v0.4.29 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking bytecount v0.3.2 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking bytesize v1.0.1 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking rustc-workspace-hack v1.0.0 [INFO] [stderr] Checking shell-escape v0.1.4 [INFO] [stderr] Checking opener v0.4.1 [INFO] [stderr] Checking humantime v2.0.0 [INFO] [stderr] Checking fs_extra v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking vte v0.3.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking strip-ansi-escapes v0.1.0 [INFO] [stderr] Compiling im-rc v14.3.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking filetime v0.2.10 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking tar v0.4.28 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking nom_locate v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libnghttp2-sys v0.1.4+1.41.0 [INFO] [stderr] Compiling libssh2-sys v0.2.17 [INFO] [stderr] Compiling curl-sys v0.4.31+curl-7.70.0 [INFO] [stderr] Compiling libgit2-sys v0.12.7+1.0.0 [INFO] [stderr] Checking patch v0.5.0 [INFO] [stderr] Checking addr2line v0.12.1 [INFO] [stderr] Checking ignore v0.4.16 [INFO] [stderr] Checking backtrace v0.3.48 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking sized-chunks v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking git2 v0.13.6 [INFO] [stderr] Checking git2-curl v0.14.0 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking serde_ignored v0.1.1 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking cargo-platform v0.1.1 [INFO] [stderr] Checking rustfix v0.5.1 [INFO] [stderr] Checking crates-io v0.31.0 [INFO] [stderr] Checking cargo v0.44.1 [INFO] [stderr] Checking cargo-patch v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `cargo_test_macro` [INFO] [stdout] --> tests/patch_git.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cargo_test_macro::cargo_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `cargo_test_macro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cargo_test_support` [INFO] [stdout] --> tests/patch_git.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cargo_test_support::{cargo_dir, main_file, project}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cargo_test_support` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `cargo_test` [INFO] [stdout] --> tests/patch_git.rs:146:3 [INFO] [stdout] | [INFO] [stdout] 146 | #[cargo_test] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `cargo_test` [INFO] [stdout] --> tests/patch_git.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | #[cargo_test] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `cargo_test` [INFO] [stdout] --> tests/patch_git.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | #[cargo_test] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `cargo_test` [INFO] [stdout] --> tests/patch_git.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[cargo_test] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `cargo_test` [INFO] [stdout] --> tests/patch_git.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[cargo_test] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cargo_test_macro` [INFO] [stdout] --> tests/patch_crates_io.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cargo_test_macro::cargo_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `cargo_test_macro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cargo_test_support` [INFO] [stdout] --> tests/patch_crates_io.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cargo_test_support::{cargo_dir, main_file, project}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cargo_test_support` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `cargo_test` [INFO] [stdout] --> tests/patch_crates_io.rs:197:3 [INFO] [stdout] | [INFO] [stdout] 197 | #[cargo_test] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `cargo_test` [INFO] [stdout] --> tests/patch_crates_io.rs:147:3 [INFO] [stdout] | [INFO] [stdout] 147 | #[cargo_test] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `cargo_test` [INFO] [stdout] --> tests/patch_crates_io.rs:97:3 [INFO] [stdout] | [INFO] [stdout] 97 | #[cargo_test] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `cargo_test` [INFO] [stdout] --> tests/patch_crates_io.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | #[cargo_test] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `cargo_test` [INFO] [stdout] --> tests/patch_crates_io.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[cargo_test] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `cargo_test` [INFO] [stdout] --> tests/patch_crates_io.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[cargo_test] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cargo_test_macro` [INFO] [stdout] --> tests/patch_empty.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cargo_test_macro::cargo_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `cargo_test_macro` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-patch` [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[E0432]: unresolved import `cargo_test_support` [INFO] [stdout] --> tests/patch_empty.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cargo_test_support::{cargo_dir, main_file, project}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cargo_test_support` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `cargo_test` [INFO] [stdout] --> tests/patch_empty.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | #[cargo_test] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `cargo_test` [INFO] [stdout] --> tests/patch_empty.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[cargo_test] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `cargo_test` [INFO] [stdout] --> tests/patch_empty.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[cargo_test] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `cargo_test` [INFO] [stdout] --> tests/patch_empty.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[cargo_test] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "20272a4ed16e41c9018bec9bcf148a546b31e32f05c4d2b688e8364fd17119c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20272a4ed16e41c9018bec9bcf148a546b31e32f05c4d2b688e8364fd17119c6", kill_on_drop: false }` [INFO] [stdout] 20272a4ed16e41c9018bec9bcf148a546b31e32f05c4d2b688e8364fd17119c6