[INFO] cloning repository https://github.com/Strife-cyber/rustbase [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Strife-cyber/rustbase" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrife-cyber%2Frustbase", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrife-cyber%2Frustbase'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e07e648ab603c2f981694d0249b2aa4b0a020fa3 [INFO] testing Strife-cyber/rustbase against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrife-cyber%2Frustbase" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Strife-cyber/rustbase [INFO] finished tweaking git repo https://github.com/Strife-cyber/rustbase [INFO] tweaked toml for git repo https://github.com/Strife-cyber/rustbase written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Strife-cyber/rustbase on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Strife-cyber/rustbase 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3d10ba4c68febd70523abd18756f32db629beacfc8f9fa2ee6c45e8e9a8109f [INFO] running `Command { std: "docker" "start" "-a" "e3d10ba4c68febd70523abd18756f32db629beacfc8f9fa2ee6c45e8e9a8109f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3d10ba4c68febd70523abd18756f32db629beacfc8f9fa2ee6c45e8e9a8109f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d10ba4c68febd70523abd18756f32db629beacfc8f9fa2ee6c45e8e9a8109f", kill_on_drop: false }` [INFO] [stdout] e3d10ba4c68febd70523abd18756f32db629beacfc8f9fa2ee6c45e8e9a8109f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 02531b52ad9b72ddbaee970f0ee1e05b969020d9b63f44bb95a28ff88fb967fa [INFO] running `Command { std: "docker" "start" "-a" "02531b52ad9b72ddbaee970f0ee1e05b969020d9b63f44bb95a28ff88fb967fa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rustbase v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `get_store` is never used [INFO] [stdout] --> src/memory/database.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Database { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_store(&self, name: &str) -> Option<&Store> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_record` are never used [INFO] [stdout] --> src/memory/structure.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Store { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn new() -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn update_record(&mut self, id: i64, record: HashMap) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_sql_select`, `to_sql_delete`, and `to_sql_update` are never used [INFO] [stdout] --> src/memory/sql_transform.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Store { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn to_sql_select(&self, table_name: &str, columns: Option>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn to_sql_delete(&self, table_name: &str, condition: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn to_sql_update(&self, table_name: &str, id: i64, updates: &HashMap) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_operators` is never used [INFO] [stdout] --> src/commands/store_functions.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn handle_operators() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.04s [INFO] running `Command { std: "docker" "inspect" "02531b52ad9b72ddbaee970f0ee1e05b969020d9b63f44bb95a28ff88fb967fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02531b52ad9b72ddbaee970f0ee1e05b969020d9b63f44bb95a28ff88fb967fa", kill_on_drop: false }` [INFO] [stdout] 02531b52ad9b72ddbaee970f0ee1e05b969020d9b63f44bb95a28ff88fb967fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8d41b521f6556802c3b664a3f6367d9d8243026b816a3ca86551cccaba4c5a63 [INFO] running `Command { std: "docker" "start" "-a" "8d41b521f6556802c3b664a3f6367d9d8243026b816a3ca86551cccaba4c5a63", kill_on_drop: false }` [INFO] [stderr] Compiling rustbase v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/memory/complex_test.rs:78:60 [INFO] [stdout] | [INFO] [stdout] 78 | let result = store.query("age", QueryOperator::Gt, json!(30)).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/memory/complex_test.rs:71:60 [INFO] [stdout] | [INFO] [stdout] 71 | let result = store.query("age", QueryOperator::Eq, json!(30)).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `hashmap` in this scope [INFO] [stdout] --> src/memory/complex_test.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | store.add_record(hashmap! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use maplit::hashmap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `hashmap` in this scope [INFO] [stdout] --> src/memory/complex_test.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | store.add_record( hashmap! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use maplit::hashmap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `hashmap` in this scope [INFO] [stdout] --> src/memory/complex_test.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | store.add_record(hashmap! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use maplit::hashmap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> src/memory/sql_test.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | let store = Store::make_store("test".to_string(), vec!["name", "age"].into_iter().map(String::from).collect()).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Store` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::memory::structure::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> src/memory/sql_test.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let mut store = Store::make_store("test".to_string(), vec!["name", "age"].into_iter().map(String::from).collect()).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Store` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::memory::structure::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> src/memory/sql_test.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let store = Store::make_store("test".to_string(), vec!["name", "age"].into_iter().map(String::from).collect()).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Store` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::memory::structure::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> src/memory/sql_test.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let store = Store::make_store("test".to_string(), HashSet::new()).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Store` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::memory::structure::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> src/memory/sql_test.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let store = Store::make_store("test".to_string(), HashSet::new()).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Store` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::memory::structure::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Database` in this scope [INFO] [stdout] --> src/memory/sql_test.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | let db = Database { name: "test_db".to_string(), stores: HashMap::new() }; [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] 4 + use crate::Database; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Database` in this scope [INFO] [stdout] --> src/memory/sql_test.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | let db = Database { name: "test_db".to_string(), stores: HashMap::new() }; [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] 4 + use crate::Database; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Store` in this scope [INFO] [stdout] --> src/memory/sql_test.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | let store = Store { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::memory::structure::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Database` in this scope [INFO] [stdout] --> src/memory/sql_test.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | let db = Database { [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] 4 + use crate::Database; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Database` in this scope [INFO] [stdout] --> src/memory/sql_test.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | let db = Database { name: "test_db".to_string(), stores: HashMap::new() }; [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] 4 + use crate::Database; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Store` in this scope [INFO] [stdout] --> src/memory/complex_test.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | fn create_test_store() -> Store { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::memory::structure::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> src/memory/complex_test.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | let mut store = Store::make_store( [INFO] [stdout] | ^^^^^ use of undeclared type `Store` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::memory::structure::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/memory/complex_test.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | let attributes: HashSet<&str> = ["name", "city"].iter().cloned().collect(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/memory/complex_test.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let values: HashSet<&str> = ["Alice", "Paris"].iter().cloned().collect(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryOperator` [INFO] [stdout] --> src/memory/complex_test.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | let result = store.query("age", QueryOperator::Eq, json!(30)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `QueryOperator` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use crate::memory::complex::QueryOperator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryOperator` [INFO] [stdout] --> src/memory/complex_test.rs:78:41 [INFO] [stdout] | [INFO] [stdout] 78 | let result = store.query("age", QueryOperator::Gt, json!(30)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `QueryOperator` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use crate::memory::complex::QueryOperator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Database` in this scope [INFO] [stdout] --> src/memory/database_test.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | fn setup_database() -> Database { [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] 4 + use crate::Database; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Database` [INFO] [stdout] --> src/memory/database_test.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | Database::new("test_db").unwrap() [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Database` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 4 + use crate::Database; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Database` [INFO] [stdout] --> src/memory/database_test.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | let loaded_db = Database::load("test_db").unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Database` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 4 + use crate::Database; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Store` in this scope [INFO] [stdout] --> src/memory/structure_test.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | fn new_store() -> Store { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::memory::structure::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> src/memory/structure_test.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | Store::new().unwrap() [INFO] [stdout] | ^^^^^ use of undeclared type `Store` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::memory::structure::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/memory/sql_test.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/memory/complex_test.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/memory/database_test.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/memory/structure_test.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustbase` (bin "rustbase" test) due to 26 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8d41b521f6556802c3b664a3f6367d9d8243026b816a3ca86551cccaba4c5a63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d41b521f6556802c3b664a3f6367d9d8243026b816a3ca86551cccaba4c5a63", kill_on_drop: false }` [INFO] [stdout] 8d41b521f6556802c3b664a3f6367d9d8243026b816a3ca86551cccaba4c5a63