[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/1696713461249e5c423a4d93e9c2b02817766b5c against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [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 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/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" "+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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bde4fd2492c194095e495d88fbd0364d3d6198a5a5980e7b2ca0bdc9ca042e47 [INFO] running `Command { std: "docker" "start" "-a" "bde4fd2492c194095e495d88fbd0364d3d6198a5a5980e7b2ca0bdc9ca042e47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bde4fd2492c194095e495d88fbd0364d3d6198a5a5980e7b2ca0bdc9ca042e47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bde4fd2492c194095e495d88fbd0364d3d6198a5a5980e7b2ca0bdc9ca042e47", kill_on_drop: false }` [INFO] [stdout] bde4fd2492c194095e495d88fbd0364d3d6198a5a5980e7b2ca0bdc9ca042e47 [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=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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28f14a1edcc072c3241d42ecadd9740082dd89805baea14b3fe9dda98629a2fe [INFO] running `Command { std: "docker" "start" "-a" "28f14a1edcc072c3241d42ecadd9740082dd89805baea14b3fe9dda98629a2fe", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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[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 `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 `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 `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 std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 10 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 10 + use db::txtdb::Error; [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 `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 `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 std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 10 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 10 + use db::txtdb::Error; [INFO] [stdout] | [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[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[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[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] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/db/txtdb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/db/txtdb.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/db/txtdb.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/db/txtdb.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Iterator` [INFO] [stdout] --> src/db/txtdb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string::String` [INFO] [stdout] --> src/db/txtdb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/db/txtdb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/db/txtdb.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/db/txtdb.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/db/txtdb.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/db/txtdb.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Iterator` [INFO] [stdout] --> src/db/txtdb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string::String` [INFO] [stdout] --> src/db/txtdb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/db/txtdb.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 7 warnings emitted [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: aborting due to 8 previous errors; 7 warnings emitted [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") due to 9 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rusthena` (bin "rusthena" test) due to 9 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "28f14a1edcc072c3241d42ecadd9740082dd89805baea14b3fe9dda98629a2fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28f14a1edcc072c3241d42ecadd9740082dd89805baea14b3fe9dda98629a2fe", kill_on_drop: false }` [INFO] [stdout] 28f14a1edcc072c3241d42ecadd9740082dd89805baea14b3fe9dda98629a2fe