[INFO] cloning repository https://github.com/andreyrmg/rtest
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andreyrmg/rtest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreyrmg%2Frtest", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreyrmg%2Frtest'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d871c350506071da407ce9b27dd1f4077b03ac08
[INFO] testing andreyrmg/rtest against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreyrmg%2Frtest" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/andreyrmg/rtest on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/andreyrmg/rtest
[INFO] finished tweaking git repo https://github.com/andreyrmg/rtest
[INFO] tweaked toml for git repo https://github.com/andreyrmg/rtest written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/andreyrmg/rtest 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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 223429d8d04dd794e9602d3e30da84e30afe1ef493daca2ada5a7dd1aaf96051
[INFO] running `Command { std: "docker" "start" "-a" "223429d8d04dd794e9602d3e30da84e30afe1ef493daca2ada5a7dd1aaf96051", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "223429d8d04dd794e9602d3e30da84e30afe1ef493daca2ada5a7dd1aaf96051", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "223429d8d04dd794e9602d3e30da84e30afe1ef493daca2ada5a7dd1aaf96051", kill_on_drop: false }`
[INFO] [stdout] 223429d8d04dd794e9602d3e30da84e30afe1ef493daca2ada5a7dd1aaf96051
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 64e45b95ad75df54e2576ef8b3b58d54642d1e06a6170faf27ebc6a8900a15bf
[INFO] running `Command { std: "docker" "start" "-a" "64e45b95ad75df54e2576ef8b3b58d54642d1e06a6170faf27ebc6a8900a15bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling rtest v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0463]: can't find crate for `regex`
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate regex;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::io::IoError`, `std::io::TempDir`
[INFO] [stdout]  --> src/main.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{IoError,TempDir};
[INFO] [stdout]   |               ^^^^^^^ ^^^^^^^ no `TempDir` in `io`
[INFO] [stdout]   |               |
[INFO] [stdout]   |               no `IoError` in `io`
[INFO] [stdout]   |               help: a similar name exists in the module: `Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::fs`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::fs;
[INFO] [stdout]   |     ^^^^^^^^^^^ no `fs` in `io`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items instead
[INFO] [stdout]   |
[INFO] [stdout] 5 | use os::linux::fs;
[INFO] [stdout]   |     ~~~~~~~~~~~~~
[INFO] [stdout] 5 | use os::unix::fs;
[INFO] [stdout]   |     ~~~~~~~~~~~~
[INFO] [stdout] 5 | use std::fs;
[INFO] [stdout]   |     ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::fs`
[INFO] [stdout]  --> src/main.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::fs::PathExtensions;
[INFO] [stdout]   |              ^^ could not find `fs` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::process`
[INFO] [stdout]  --> src/main.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::process::{Command,ProcessOutput};
[INFO] [stdout]   |              ^^^^^^^ could not find `process` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Success` in this scope
[INFO] [stdout]   --> src/main.rs:35:39
[INFO] [stdout]    |
[INFO] [stdout] 35 |                         Some(name) => Success(working_dir.join(name).with_extension("")),
[INFO] [stdout]    |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 2  + use CompilationResult::Success;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope
[INFO] [stdout]   --> src/main.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 39 |                     Error(process_output)
[INFO] [stdout]    |                     ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use CompilationResult::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Failed` in this scope
[INFO] [stdout]   --> src/main.rs:42:23
[INFO] [stdout]    |
[INFO] [stdout] 42 |             Err(e) => Failed(e),
[INFO] [stdout]    |                       ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 2  + use CompilationResult::Failed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getcwd` in module `os`
[INFO] [stdout]   --> src/main.rs:81:47
[INFO] [stdout]    |
[INFO] [stdout] 81 |     println!("The current directory: {}", os::getcwd().display());
[INFO] [stdout]    |                                               ^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `make_absolute` in module `os`
[INFO] [stdout]   --> src/main.rs:84:31
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let abs_source_path = os::make_absolute(&source_path);
[INFO] [stdout]    |                               ^^^^^^^^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::from_utf8`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::str::from_utf8;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Success(Path),
[INFO] [stdout]    |             ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `Path`, the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout]    = note: required because it appears within the type `Path`
[INFO] [stdout]    = note: no field of an enum variant may have a dynamically sized type
[INFO] [stdout]    = help: change the field's type to have a statically known size
[INFO] [stdout] help: borrowed types always have a statically known size
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Success(&Path),
[INFO] [stdout]    |             +
[INFO] [stdout] help: the `Box` type always has a statically known size and allocates its contents in the heap
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Success(Box<Path>),
[INFO] [stdout]    |             ++++    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     input: Path,
[INFO] [stdout]    |            ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `Path`, the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout]    = note: required because it appears within the type `Path`
[INFO] [stdout]    = note: only the last field of a struct may have a dynamically sized type
[INFO] [stdout]    = help: change the field's type to have a statically known size
[INFO] [stdout] help: borrowed types always have a statically known size
[INFO] [stdout]    |
[INFO] [stdout] 53 |     input: &Path,
[INFO] [stdout]    |            +
[INFO] [stdout] help: the `Box` type always has a statically known size and allocates its contents in the heap
[INFO] [stdout]    |
[INFO] [stdout] 53 |     input: Box<Path>,
[INFO] [stdout]    |            ++++    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:58:41
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn find_tests(&self, dir: &Path) -> Vec<ProblemTest> {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `ProblemTest`, the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout] note: required because it appears within the type `ProblemTest`
[INFO] [stdout]   --> src/main.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | struct ProblemTest {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `Vec`
[INFO] [stdout]   --> /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/alloc/src/vec/mod.rs:396:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0463.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rtest` (bin "rtest") due to 14 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "64e45b95ad75df54e2576ef8b3b58d54642d1e06a6170faf27ebc6a8900a15bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64e45b95ad75df54e2576ef8b3b58d54642d1e06a6170faf27ebc6a8900a15bf", kill_on_drop: false }`
[INFO] [stdout] 64e45b95ad75df54e2576ef8b3b58d54642d1e06a6170faf27ebc6a8900a15bf
