[INFO] cloning repository https://github.com/BlakeWilliams/rust-brainfuck [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BlakeWilliams/rust-brainfuck" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlakeWilliams%2Frust-brainfuck", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlakeWilliams%2Frust-brainfuck'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2bfffbc4584601297338231f62c9b0669263cbd6 [INFO] checking BlakeWilliams/rust-brainfuck/2bfffbc4584601297338231f62c9b0669263cbd6 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlakeWilliams%2Frust-brainfuck" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BlakeWilliams/rust-brainfuck on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BlakeWilliams/rust-brainfuck [INFO] finished tweaking git repo https://github.com/BlakeWilliams/rust-brainfuck [INFO] tweaked toml for git repo https://github.com/BlakeWilliams/rust-brainfuck written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BlakeWilliams/rust-brainfuck 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49f5ff27a567060420379864c32b05fc47fbc9cdd5278d337761200a4c2ceff2 [INFO] running `Command { std: "docker" "start" "-a" "49f5ff27a567060420379864c32b05fc47fbc9cdd5278d337761200a4c2ceff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49f5ff27a567060420379864c32b05fc47fbc9cdd5278d337761200a4c2ceff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49f5ff27a567060420379864c32b05fc47fbc9cdd5278d337761200a4c2ceff2", kill_on_drop: false }` [INFO] [stdout] 49f5ff27a567060420379864c32b05fc47fbc9cdd5278d337761200a4c2ceff2 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87babcf428c275a582a1105e6fdd874510b2231730372277a02a972fd244835c [INFO] running `Command { std: "docker" "start" "-a" "87babcf428c275a582a1105e6fdd874510b2231730372277a02a972fd244835c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking brainfuck v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::io::stdio::StdinReader` [INFO] [stdout] --> src/brainfuck/tape.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::stdio::StdinReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `StdinReader` in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::stdio::StdinReader` [INFO] [stdout] --> src/brainfuck/tape.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::stdio::StdinReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `StdinReader` in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/brainfuck/program.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/brainfuck/program.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/brainfuck/program.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(file_path: &Path) -> Program { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/brainfuck/program.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | fn read_program(path: &Path) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/main.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_path() -> Path { [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] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/brainfuck/program.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(file_path: &Path) -> Program { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `std::os` [INFO] [stdout] --> src/main.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let args = std::os::args().clone(); [INFO] [stdout] | ^^^^ not found in `std::os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 36 - let args = std::os::args().clone(); [INFO] [stdout] 36 + let args = args().clone(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/brainfuck/program.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | fn read_program(path: &Path) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `std::os` [INFO] [stdout] --> src/main.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | let path_string = std::os::args()[1].clone(); [INFO] [stdout] | ^^^^ not found in `std::os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 42 - let path_string = std::os::args()[1].clone(); [INFO] [stdout] 42 + let path_string = args()[1].clone(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/main.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_path() -> Path { [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] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | Path::new(path_string) [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 `args` in module `std::os` [INFO] [stdout] --> src/main.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let args = std::os::args().clone(); [INFO] [stdout] | ^^^^ not found in `std::os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 36 - let args = std::os::args().clone(); [INFO] [stdout] 36 + let args = args().clone(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `std::os` [INFO] [stdout] --> src/main.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | let path_string = std::os::args()[1].clone(); [INFO] [stdout] | ^^^^ not found in `std::os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 42 - let path_string = std::os::args()[1].clone(); [INFO] [stdout] 42 + let path_string = args()[1].clone(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | Path::new(path_string) [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[E0603]: module `stdio` is private [INFO] [stdout] --> src/brainfuck/tape.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::stdio::StdinReader; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/mod.rs:338:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/brainfuck/tape.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | content: iter::repeat(0u8).take(30_000us).collect(), [INFO] [stdout] | ^^^^^^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/brainfuck/tape.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::stdio::StdinReader; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/mod.rs:338:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/brainfuck/tape.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | content: iter::repeat(0u8).take(30_000us).collect(), [INFO] [stdout] | ^^^^^^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `brainfuck` (bin "brainfuck") due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `brainfuck` (bin "brainfuck" test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "87babcf428c275a582a1105e6fdd874510b2231730372277a02a972fd244835c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87babcf428c275a582a1105e6fdd874510b2231730372277a02a972fd244835c", kill_on_drop: false }` [INFO] [stdout] 87babcf428c275a582a1105e6fdd874510b2231730372277a02a972fd244835c