[INFO] cloning repository https://github.com/rust-lang-nursery/rustfmt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rust-lang-nursery/rustfmt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang-nursery%2Frustfmt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang-nursery%2Frustfmt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 541aeba5b2c6063f73ee6ce7aa050a4df4bccce9 [INFO] testing rust-lang-nursery/rustfmt against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang-nursery%2Frustfmt" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rust-lang-nursery/rustfmt on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-11/source/rust-toolchain [INFO] started tweaking git repo https://github.com/rust-lang-nursery/rustfmt [INFO] finished tweaking git repo https://github.com/rust-lang-nursery/rustfmt [INFO] tweaked toml for git repo https://github.com/rust-lang-nursery/rustfmt written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/rust-lang-nursery/rustfmt already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6bd1ed0a0cd8ad1499dd3217f1e91a9a9e81b5c6fa84a27dafe7543443f4f87 [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" "e6bd1ed0a0cd8ad1499dd3217f1e91a9a9e81b5c6fa84a27dafe7543443f4f87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6bd1ed0a0cd8ad1499dd3217f1e91a9a9e81b5c6fa84a27dafe7543443f4f87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6bd1ed0a0cd8ad1499dd3217f1e91a9a9e81b5c6fa84a27dafe7543443f4f87", kill_on_drop: false }` [INFO] [stdout] e6bd1ed0a0cd8ad1499dd3217f1e91a9a9e81b5c6fa84a27dafe7543443f4f87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccf48b1d87f0436a86cfa800ac1c919b31a8a9dbcdaeee219f5c02590846a8d3 [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" "ccf48b1d87f0436a86cfa800ac1c919b31a8a9dbcdaeee219f5c02590846a8d3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.25 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling rustfmt-nightly v1.4.37 (/opt/rustwide/workdir) [INFO] [stderr] Compiling yansi-term v0.1.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling diff v0.1.11 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling rustc-workspace-hack v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.11 [INFO] [stderr] Compiling proc-macro-error v0.4.11 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling annotate-snippets v0.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling env_logger v0.8.1 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.6 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Compiling rustfmt-config_proc_macro v0.2.0 (/opt/rustwide/workdir/config_proc_macro) [INFO] [stderr] Compiling structopt-derive v0.4.4 [INFO] [stderr] Compiling thiserror v1.0.6 [INFO] [stderr] Compiling structopt v0.3.11 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling toml v0.5.3 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stdout] error[E0463]: can't find crate for `rustc_ast` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate rustc_ast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [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 `rustfmt-nightly` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ccf48b1d87f0436a86cfa800ac1c919b31a8a9dbcdaeee219f5c02590846a8d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccf48b1d87f0436a86cfa800ac1c919b31a8a9dbcdaeee219f5c02590846a8d3", kill_on_drop: false }` [INFO] [stdout] ccf48b1d87f0436a86cfa800ac1c919b31a8a9dbcdaeee219f5c02590846a8d3