[INFO] cloning repository https://github.com/renato-zannon/rust-generated [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/renato-zannon/rust-generated" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenato-zannon%2Frust-generated", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenato-zannon%2Frust-generated'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c97a88f3924aa78b60b2dcd363e76a8f973f382 [INFO] checking renato-zannon/rust-generated against master#43d9f3859e0204e764161ee085a360274b5f3e9a for pr-97346 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenato-zannon%2Frust-generated" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/renato-zannon/rust-generated on toolchain 43d9f3859e0204e764161ee085a360274b5f3e9a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/renato-zannon/rust-generated [INFO] finished tweaking git repo https://github.com/renato-zannon/rust-generated [INFO] tweaked toml for git repo https://github.com/renato-zannon/rust-generated written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/renato-zannon/rust-generated already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44b2c65b6ebc38c9f8f695ac90cdf9533fe7f5cf3925cae39828df470c59166a [INFO] running `Command { std: "docker" "start" "-a" "44b2c65b6ebc38c9f8f695ac90cdf9533fe7f5cf3925cae39828df470c59166a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44b2c65b6ebc38c9f8f695ac90cdf9533fe7f5cf3925cae39828df470c59166a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44b2c65b6ebc38c9f8f695ac90cdf9533fe7f5cf3925cae39828df470c59166a", kill_on_drop: false }` [INFO] [stdout] 44b2c65b6ebc38c9f8f695ac90cdf9533fe7f5cf3925cae39828df470c59166a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bcd13b086d33f21fe17a16be2873257181773d6a6a100963835f0509a4c18b2 [INFO] running `Command { std: "docker" "start" "-a" "4bcd13b086d33f21fe17a16be2873257181773d6a6a100963835f0509a4c18b2", kill_on_drop: false }` [INFO] [stderr] Compiling generated v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> build.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use std::old_io::{fs, File, BufferedReader}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> build.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | let target_dir = Path::new(env::var_string("OUT_DIR").unwrap()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `generated` due to 8 previous errors; 2 warnings emitted [INFO] [stdout] error[E0425]: cannot find function `var_string` in module `env` [INFO] [stdout] --> build.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | let target_dir = Path::new(env::var_string("OUT_DIR").unwrap()); [INFO] [stdout] | ^^^^^^^^^^ not found in `env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> build.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | let source_code_path = Path::new(file!()).join_many(&["..", "src/"]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `env` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> build.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core, unicode, path, io, env)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> build.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core, unicode, path, io, env)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `io` [INFO] [stdout] --> build.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core, unicode, path, io, env)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unicode` [INFO] [stdout] --> build.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core, unicode, path, io, env)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `path` [INFO] [stdout] --> build.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core, unicode, path, io, env)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4bcd13b086d33f21fe17a16be2873257181773d6a6a100963835f0509a4c18b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bcd13b086d33f21fe17a16be2873257181773d6a6a100963835f0509a4c18b2", kill_on_drop: false }` [INFO] [stdout] 4bcd13b086d33f21fe17a16be2873257181773d6a6a100963835f0509a4c18b2