[INFO] updating cached repository https://github.com/axos88/out_dir_bug [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4f5ae460809abb2ac3c7ffad50e97ce5bd5a63cd [INFO] checking axos88/out_dir_bug against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faxos88%2Fout_dir_bug" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/axos88/out_dir_bug on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/axos88/out_dir_bug [INFO] finished tweaking git repo https://github.com/axos88/out_dir_bug [INFO] tweaked toml for git repo https://github.com/axos88/out_dir_bug written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/axos88/out_dir_bug already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c52601880c3457144d966a00a98e32818e3221de2f9af1bde04cd009461f1305 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "c52601880c3457144d966a00a98e32818e3221de2f9af1bde04cd009461f1305"` [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Checking phf v0.7.23 [INFO] [stderr] Checking flate2 v1.0.4 [INFO] [stderr] Checking includedir v0.4.0 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling includedir_codegen v0.4.0 [INFO] [stderr] Compiling out_dir_bug v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `prelude` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use prelude::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | unresolved import [INFO] [stderr] | help: a similar path exists: `std::prelude` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `env` [INFO] [stderr] --> src/foo.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use env; // This is causing the bug [INFO] [stderr] | ^^^ no `env` in the root [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `env` [INFO] [stderr] --> src/foo.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | include!(concat!(env!("NON_EXISTENT"), "/data.rs")); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error[E0432]: unresolved import `prelude` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use prelude::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | unresolved import [INFO] [stderr] | help: a similar path exists: `std::prelude` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `env` [INFO] [stderr] --> src/foo.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use env; // This is causing the bug [INFO] [stderr] | ^^^ no `env` in the root [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `env` [INFO] [stderr] --> src/foo.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | include!(concat!(env!("NON_EXISTENT"), "/data.rs")); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: could not compile `out_dir_bug`. [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: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `out_dir_bug`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c52601880c3457144d966a00a98e32818e3221de2f9af1bde04cd009461f1305"` [INFO] running `"docker" "rm" "-f" "c52601880c3457144d966a00a98e32818e3221de2f9af1bde04cd009461f1305"` [INFO] [stdout] c52601880c3457144d966a00a98e32818e3221de2f9af1bde04cd009461f1305