[INFO] cloning repository https://github.com/ViteFalcon/rusthena [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ViteFalcon/rusthena" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FViteFalcon%2Frusthena", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FViteFalcon%2Frusthena'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1696713461249e5c423a4d93e9c2b02817766b5c [INFO] checking ViteFalcon/rusthena against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FViteFalcon%2Frusthena" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ViteFalcon/rusthena on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ViteFalcon/rusthena [INFO] finished tweaking git repo https://github.com/ViteFalcon/rusthena [INFO] tweaked toml for git repo https://github.com/ViteFalcon/rusthena written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ViteFalcon/rusthena 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1647b72c0b9b82d667e6ee07ec5c36e369ce30a7e059ae57db91d4e8d4a6434 [INFO] running `Command { std: "docker" "start" "-a" "c1647b72c0b9b82d667e6ee07ec5c36e369ce30a7e059ae57db91d4e8d4a6434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1647b72c0b9b82d667e6ee07ec5c36e369ce30a7e059ae57db91d4e8d4a6434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1647b72c0b9b82d667e6ee07ec5c36e369ce30a7e059ae57db91d4e8d4a6434", kill_on_drop: false }` [INFO] [stdout] c1647b72c0b9b82d667e6ee07ec5c36e369ce30a7e059ae57db91d4e8d4a6434 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9b44e0aae0d6093091d73cb85180806265046a21c7f4b1b8851d6bba4817741 [INFO] running `Command { std: "docker" "start" "-a" "d9b44e0aae0d6093091d73cb85180806265046a21c7f4b1b8851d6bba4817741", kill_on_drop: false }` [INFO] [stderr] Checking rusthena v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/db/txtdb.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | contents: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 10 + use db::txtdb::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/db/txtdb.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let path = Path::new(file_name); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 10 + use db::txtdb::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/db/txtdb.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | let mut file = match File::open(&path) { [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 10 + use db::txtdb::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/db/txtdb.rs:21:83 [INFO] [stdout] | [INFO] [stdout] 21 | Err(why) => panic!("Failed to open file {}. Reason: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 + use db::txtdb::Error; [INFO] [stdout] | [INFO] [stdout] 10 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 10 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/db/txtdb.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | let mut contents = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 10 + use db::txtdb::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TxtTable` in this scope [INFO] [stdout] --> src/db/mod.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn open_table(table_name: &str) -> TxtTable { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `db::txtdb::db::TxtTable` exists but is inaccessible [INFO] [stdout] --> src/db/txtdb.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TxtTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TxtTable` [INFO] [stdout] --> src/db/mod.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | return TxtTable::new(table_name); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TxtTable` [INFO] [stdout] | [INFO] [stdout] note: struct `db::txtdb::db::TxtTable` exists but is inaccessible [INFO] [stdout] --> src/db/txtdb.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TxtTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `open_table` in module `db` [INFO] [stdout] --> src/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | let table = db::open_table("../conf/login_athena.conf"); [INFO] [stdout] | ^^^^^^^^^^ not found in `db` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use db::db::open_table; [INFO] [stdout] | [INFO] [stdout] help: if you import `open_table`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let table = db::open_table("../conf/login_athena.conf"); [INFO] [stdout] 5 + let table = open_table("../conf/login_athena.conf"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/db/txtdb.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | contents: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 10 + use db::txtdb::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/db/txtdb.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let path = Path::new(file_name); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 10 + use db::txtdb::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusthena` (bin "rusthena") due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/db/txtdb.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | let mut file = match File::open(&path) { [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 10 + use db::txtdb::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/db/txtdb.rs:21:83 [INFO] [stdout] | [INFO] [stdout] 21 | Err(why) => panic!("Failed to open file {}. Reason: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 + use db::txtdb::Error; [INFO] [stdout] | [INFO] [stdout] 10 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 10 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/db/txtdb.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | let mut contents = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 10 + use db::txtdb::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TxtTable` in this scope [INFO] [stdout] --> src/db/mod.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn open_table(table_name: &str) -> TxtTable { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `db::txtdb::db::TxtTable` exists but is inaccessible [INFO] [stdout] --> src/db/txtdb.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TxtTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TxtTable` [INFO] [stdout] --> src/db/mod.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | return TxtTable::new(table_name); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TxtTable` [INFO] [stdout] | [INFO] [stdout] note: struct `db::txtdb::db::TxtTable` exists but is inaccessible [INFO] [stdout] --> src/db/txtdb.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TxtTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `open_table` in module `db` [INFO] [stdout] --> src/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | let table = db::open_table("../conf/login_athena.conf"); [INFO] [stdout] | ^^^^^^^^^^ not found in `db` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use db::db::open_table; [INFO] [stdout] | [INFO] [stdout] help: if you import `open_table`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let table = db::open_table("../conf/login_athena.conf"); [INFO] [stdout] 5 + let table = open_table("../conf/login_athena.conf"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusthena` (bin "rusthena" test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "d9b44e0aae0d6093091d73cb85180806265046a21c7f4b1b8851d6bba4817741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9b44e0aae0d6093091d73cb85180806265046a21c7f4b1b8851d6bba4817741", kill_on_drop: false }` [INFO] [stdout] d9b44e0aae0d6093091d73cb85180806265046a21c7f4b1b8851d6bba4817741