[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/7c97a88f3924aa78b60b2dcd363e76a8f973f382 against master#c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenato-zannon%2Frust-generated" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/renato-zannon/rust-generated on toolchain c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/renato-zannon/rust-generated already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 537db04af981e35db2168c542975d2e1fbd89394e25d39410418ac0c3619deb8 [INFO] running `Command { std: "docker" "start" "-a" "537db04af981e35db2168c542975d2e1fbd89394e25d39410418ac0c3619deb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "537db04af981e35db2168c542975d2e1fbd89394e25d39410418ac0c3619deb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "537db04af981e35db2168c542975d2e1fbd89394e25d39410418ac0c3619deb8", kill_on_drop: false }` [INFO] [stdout] 537db04af981e35db2168c542975d2e1fbd89394e25d39410418ac0c3619deb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c084aefc910e096f433b921c7c1c987a80e352a4aee0329c271f9d854eb04fa [INFO] running `Command { std: "docker" "start" "-a" "9c084aefc910e096f433b921c7c1c987a80e352a4aee0329c271f9d854eb04fa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] | ^^^^ use of undeclared type `Path` [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] 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] | ^^^^ use of undeclared type `Path` [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] 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] [stderr] error: could not compile `generated` (build script) due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9c084aefc910e096f433b921c7c1c987a80e352a4aee0329c271f9d854eb04fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c084aefc910e096f433b921c7c1c987a80e352a4aee0329c271f9d854eb04fa", kill_on_drop: false }` [INFO] [stdout] 9c084aefc910e096f433b921c7c1c987a80e352a4aee0329c271f9d854eb04fa