[INFO] updating cached repository https://github.com/ViteFalcon/rusthena [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1696713461249e5c423a4d93e9c2b02817766b5c [INFO] checking ViteFalcon/rusthena against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FViteFalcon%2Frusthena" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ViteFalcon/rusthena on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-13/source/Cargo.toml [INFO] crate git repo https://github.com/ViteFalcon/rusthena already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4bd4dcfb27c7e7f5d8440f48caf81f867aed1cd3a03cb3f7af94b879072329c6 [INFO] running `"docker" "start" "-a" "4bd4dcfb27c7e7f5d8440f48caf81f867aed1cd3a03cb3f7af94b879072329c6"` [INFO] [stderr] Checking rusthena v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/db/txtdb.rs:17:24 [INFO] [stderr] | [INFO] [stderr] 17 | let path = Path::new(file_name); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stderr] --> src/db/txtdb.rs:20:34 [INFO] [stderr] | [INFO] [stderr] 20 | let mut file = match File::open(&path) { [INFO] [stderr] | ^^^^ use of undeclared type or module `File` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> src/db/txtdb.rs:21:83 [INFO] [stderr] | [INFO] [stderr] 21 | Err(why) => panic!("Failed to open file {}. Reason: {}", display, Error::description(&why)), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HashMap` [INFO] [stderr] --> src/db/txtdb.rs:37:32 [INFO] [stderr] | [INFO] [stderr] 37 | let mut contents = HashMap::new(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `HashMap` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TxtTable` [INFO] [stderr] --> src/db/mod.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | return TxtTable::new(table_name); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `TxtTable` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stderr] --> src/db/txtdb.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | contents: HashMap, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 10 | use std::collections::HashMap; [INFO] [stderr] | [INFO] [stderr] 10 | use std::collections::hash_map::HashMap; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TxtTable` in this scope [INFO] [stderr] --> src/db/mod.rs:5:44 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn open_table(table_name: &str) -> TxtTable { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use db::txtdb::db::TxtTable; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `open_table` in module `db` [INFO] [stderr] --> src/main.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | let table = db::open_table("../conf/login_athena.conf"); [INFO] [stderr] | ^^^^^^^^^^ not found in `db` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use db::db::open_table; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/db/txtdb.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/db/txtdb.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::prelude::*` [INFO] [stderr] --> src/db/txtdb.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/db/txtdb.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::iter::Iterator` [INFO] [stderr] --> src/db/txtdb.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::iter::Iterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::string::String` [INFO] [stderr] --> src/db/txtdb.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::string::String; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/db/txtdb.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/db/txtdb.rs:17:24 [INFO] [stderr] | [INFO] [stderr] 17 | let path = Path::new(file_name); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors; 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stderr] --> src/db/txtdb.rs:20:34 [INFO] [stderr] | [INFO] [stderr] 20 | let mut file = match File::open(&path) { [INFO] [stderr] | ^^^^ use of undeclared type or module `File` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stderr] --> src/db/txtdb.rs:21:83 [INFO] [stderr] | [INFO] [stderr] 21 | Err(why) => panic!("Failed to open file {}. Reason: {}", display, Error::description(&why)), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HashMap` [INFO] [stderr] --> src/db/txtdb.rs:37:32 [INFO] [stderr] | [INFO] [stderr] 37 | let mut contents = HashMap::new(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `HashMap` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TxtTable` [INFO] [stderr] --> src/db/mod.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | return TxtTable::new(table_name); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `TxtTable` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stderr] --> src/db/txtdb.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | contents: HashMap, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 10 | use std::collections::HashMap; [INFO] [stderr] | [INFO] [stderr] 10 | use std::collections::hash_map::HashMap; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TxtTable` in this scope [INFO] [stderr] --> src/db/mod.rs:5:44 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn open_table(table_name: &str) -> TxtTable { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use db::txtdb::db::TxtTable; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `open_table` in module `db` [INFO] [stderr] --> src/main.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | let table = db::open_table("../conf/login_athena.conf"); [INFO] [stderr] | ^^^^^^^^^^ not found in `db` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use db::db::open_table; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/db/txtdb.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/db/txtdb.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::prelude::*` [INFO] [stderr] --> src/db/txtdb.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/db/txtdb.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::iter::Iterator` [INFO] [stderr] --> src/db/txtdb.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::iter::Iterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::string::String` [INFO] [stderr] --> src/db/txtdb.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::string::String; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/db/txtdb.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: could not compile `rusthena`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 8 previous errors; 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `rusthena`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4bd4dcfb27c7e7f5d8440f48caf81f867aed1cd3a03cb3f7af94b879072329c6"` [INFO] running `"docker" "rm" "-f" "4bd4dcfb27c7e7f5d8440f48caf81f867aed1cd3a03cb3f7af94b879072329c6"` [INFO] [stdout] 4bd4dcfb27c7e7f5d8440f48caf81f867aed1cd3a03cb3f7af94b879072329c6