[INFO] fetching crate cuppa 0.0.18... [INFO] testing cuppa-0.0.18 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate cuppa 0.0.18 into /workspace/builds/worker-75/source [INFO] validating manifest of crates.io crate cuppa 0.0.18 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cuppa 0.0.18 [INFO] finished tweaking crates.io crate cuppa 0.0.18 [INFO] tweaked toml for crates.io crate cuppa 0.0.18 written to /workspace/builds/worker-75/source/Cargo.toml [INFO] crate crates.io crate cuppa 0.0.18 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e1a8ef7caf3efd242a309718d6cae4d10f52b695807012e657dae1965620c47 [INFO] running `Command { std: "docker" "start" "-a" "0e1a8ef7caf3efd242a309718d6cae4d10f52b695807012e657dae1965620c47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e1a8ef7caf3efd242a309718d6cae4d10f52b695807012e657dae1965620c47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e1a8ef7caf3efd242a309718d6cae4d10f52b695807012e657dae1965620c47", kill_on_drop: false }` [INFO] [stdout] 0e1a8ef7caf3efd242a309718d6cae4d10f52b695807012e657dae1965620c47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1fd35dffa9d5aeaaf1d9bb71570a38da53afabfe0e28fdf563af7603d573066 [INFO] running `Command { std: "docker" "start" "-a" "a1fd35dffa9d5aeaaf1d9bb71570a38da53afabfe0e28fdf563af7603d573066", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling mysql v20.1.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling io-enum v0.2.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling lru v0.6.5 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling lexical v5.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling twox-hash v1.6.0 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rust_decimal v1.14.2 [INFO] [stderr] Compiling mysql_common v0.24.1 [INFO] [stderr] Compiling cuppa v0.0.18 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.25s [INFO] running `Command { std: "docker" "inspect" "a1fd35dffa9d5aeaaf1d9bb71570a38da53afabfe0e28fdf563af7603d573066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1fd35dffa9d5aeaaf1d9bb71570a38da53afabfe0e28fdf563af7603d573066", kill_on_drop: false }` [INFO] [stdout] a1fd35dffa9d5aeaaf1d9bb71570a38da53afabfe0e28fdf563af7603d573066 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57fbc514c810f380b7828c09397015e14a9a8529c31511756021ce6c35065d69 [INFO] running `Command { std: "docker" "start" "-a" "57fbc514c810f380b7828c09397015e14a9a8529c31511756021ce6c35065d69", 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] [stderr] Compiling cuppa v0.0.18 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.44s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cuppa-28fa36bbaa831866) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/cuppa-e08499d714342bb9) [INFO] running `Command { std: "docker" "inspect" "57fbc514c810f380b7828c09397015e14a9a8529c31511756021ce6c35065d69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57fbc514c810f380b7828c09397015e14a9a8529c31511756021ce6c35065d69", kill_on_drop: false }` [INFO] [stdout] 57fbc514c810f380b7828c09397015e14a9a8529c31511756021ce6c35065d69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6d3334d490b6e0f37be7b9df9a09e940b9e0676dc58a6da6a58676728d91a201 [INFO] running `Command { std: "docker" "start" "-a" "6d3334d490b6e0f37be7b9df9a09e940b9e0676dc58a6da6a58676728d91a201", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cuppa-28fa36bbaa831866) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cuppa-e08499d714342bb9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests cuppa [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/database.rs - database::DataBase::get_total_rows (line 174) ... FAILED [INFO] [stdout] test src/database.rs - database::DataBase::add (line 40) ... FAILED [INFO] [stdout] test src/database.rs - database::DataBase::insert (line 67) ... FAILED [INFO] [stdout] test src/utils.rs - utils::json_decode (line 10) ... FAILED [INFO] [stdout] test src/database.rs - database::DataBase::get_list (line 150) ... FAILED [INFO] [stdout] test src/database.rs - database::DataBase::update (line 110) ... FAILED [INFO] [stdout] test src/database.rs - database::DataBase::sql (line 226) ... FAILED [INFO] [stdout] test src/database.rs - database::DataBase::new (line 27) ... FAILED [INFO] [stdout] test src/database.rs - database::DataBase::get_row (line 196) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/database.rs - database::DataBase::get_total_rows (line 174) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/database.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 3 | let total_rows = db.get_total_rows("users".to_string(), "".to_string()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/database.rs - database::DataBase::add (line 40) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/database.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 4 | data.insert("name".to_string(), json!("Zulay")); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] serde_json::json [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Map` [INFO] [stdout] --> src/database.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut data = Map::new(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/database.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 6 | let row = db.add("users".to_string(), data, "id = 333".to_string(), "".to_string()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/database.rs - database::DataBase::insert (line 67) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/database.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 4 | data.insert("name".to_string(), json!("Francisco")); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] serde_json::json [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Map` [INFO] [stdout] --> src/database.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut data = Map::new(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/database.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 6 | let row = db.insert("users".to_string(), data, "".to_string()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::json_decode (line 10) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `json_decode` in this scope [INFO] [stdout] --> src/utils.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 3 | let result = json_decode(r#"{"name":"Tufik", "age":99}"#).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use cuppa::utils::json_decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/database.rs - database::DataBase::get_list (line 150) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/database.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 3 | let rows = db.get_list("users".to_string(), "".to_string(), "10".to_string(), "id ASC".to_string(), "id, name".to_string()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/database.rs - database::DataBase::update (line 110) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/database.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 4 | data.insert("name".to_string(), json!("Francisco")); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] serde_json::json [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Map` [INFO] [stdout] --> src/database.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut data = Map::new(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/database.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 6 | let row = db.update("users".to_string(), data, "id = 1".to_string(), "".to_string()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/database.rs - database::DataBase::sql (line 226) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/database.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 3 | let rows = db.sql("SELECT * from users".to_string()).unwrap(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/database.rs - database::DataBase::new (line 27) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataBase` [INFO] [stdout] --> src/database.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 3 | let db = DataBase::new("localhost", 3306, "rust", "root", ""); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cuppa::database::DataBase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/database.rs - database::DataBase::get_row (line 196) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/database.rs:197:11 [INFO] [stdout] | [INFO] [stdout] 3 | let row = db.get_row("users".to_string(), "id = 1".to_string(), "".to_string(), "".to_string()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/database.rs - database::DataBase::add (line 40) [INFO] [stdout] src/database.rs - database::DataBase::get_list (line 150) [INFO] [stdout] src/database.rs - database::DataBase::get_row (line 196) [INFO] [stdout] src/database.rs - database::DataBase::get_total_rows (line 174) [INFO] [stdout] src/database.rs - database::DataBase::insert (line 67) [INFO] [stdout] src/database.rs - database::DataBase::new (line 27) [INFO] [stdout] src/database.rs - database::DataBase::sql (line 226) [INFO] [stdout] src/database.rs - database::DataBase::update (line 110) [INFO] [stdout] src/utils.rs - utils::json_decode (line 10) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "6d3334d490b6e0f37be7b9df9a09e940b9e0676dc58a6da6a58676728d91a201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d3334d490b6e0f37be7b9df9a09e940b9e0676dc58a6da6a58676728d91a201", kill_on_drop: false }` [INFO] [stdout] 6d3334d490b6e0f37be7b9df9a09e940b9e0676dc58a6da6a58676728d91a201