[INFO] cloning repository https://github.com/LeeJiaLe/rust-jrdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LeeJiaLe/rust-jrdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeeJiaLe%2Frust-jrdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeeJiaLe%2Frust-jrdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 111fd4ee46df5aa52aa163998bd9a4d728393690 [INFO] testing LeeJiaLe/rust-jrdb against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeeJiaLe%2Frust-jrdb" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LeeJiaLe/rust-jrdb on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LeeJiaLe/rust-jrdb [INFO] finished tweaking git repo https://github.com/LeeJiaLe/rust-jrdb [INFO] tweaked toml for git repo https://github.com/LeeJiaLe/rust-jrdb written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/LeeJiaLe/rust-jrdb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e8facba68f28cf508ae1b5e0442c0049be5cf883456eae29f10fc5e97d46235 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2e8facba68f28cf508ae1b5e0442c0049be5cf883456eae29f10fc5e97d46235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e8facba68f28cf508ae1b5e0442c0049be5cf883456eae29f10fc5e97d46235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e8facba68f28cf508ae1b5e0442c0049be5cf883456eae29f10fc5e97d46235", kill_on_drop: false }` [INFO] [stdout] 2e8facba68f28cf508ae1b5e0442c0049be5cf883456eae29f10fc5e97d46235 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab2c1a555c257dd2a585343fa39d576cbe30ed8f8f352e7fc1491de646536cad [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ab2c1a555c257dd2a585343fa39d576cbe30ed8f8f352e7fc1491de646536cad", kill_on_drop: false }` [INFO] [stderr] Compiling jrdb v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.17s [INFO] running `Command { std: "docker" "inspect" "ab2c1a555c257dd2a585343fa39d576cbe30ed8f8f352e7fc1491de646536cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2c1a555c257dd2a585343fa39d576cbe30ed8f8f352e7fc1491de646536cad", kill_on_drop: false }` [INFO] [stdout] ab2c1a555c257dd2a585343fa39d576cbe30ed8f8f352e7fc1491de646536cad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99e37b9a653e458aaec56426f8d73de885049ee304b5bf1675099ecb0226b768 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "99e37b9a653e458aaec56426f8d73de885049ee304b5bf1675099ecb0226b768", kill_on_drop: false }` [INFO] [stderr] Compiling jrdb v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.82s [INFO] running `Command { std: "docker" "inspect" "99e37b9a653e458aaec56426f8d73de885049ee304b5bf1675099ecb0226b768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99e37b9a653e458aaec56426f8d73de885049ee304b5bf1675099ecb0226b768", kill_on_drop: false }` [INFO] [stdout] 99e37b9a653e458aaec56426f8d73de885049ee304b5bf1675099ecb0226b768 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 82ea5e28e5d7c919df9082128c513c04746495f785be0e23db90ad0be604b253 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "82ea5e28e5d7c919df9082128c513c04746495f785be0e23db90ad0be604b253", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.96s [INFO] [stdout] running 0 tests [INFO] [stderr] Running /opt/rustwide/target/debug/deps/jrdb-30776fad718d90da [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/example-878984aebaa65176 [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stderr] Doc-tests jrdb [INFO] [stdout] [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/jrdb/lib.rs - Database::condition (line 309) ... FAILED [INFO] [stdout] test src/jrdb/lib.rs - Database::update (line 223) ... FAILED [INFO] [stdout] test src/jrdb/lib.rs - Database::select (line 187) ... FAILED [INFO] [stdout] test src/jrdb/lib.rs - Database::delete (line 268) ... FAILED [INFO] [stdout] test src/jrdb/lib.rs - Database::insert (line 156) ... FAILED [INFO] [stdout] test src/jrdb/lib.rs - Database::execute (line 116) ... FAILED [INFO] [stdout] test src/jrdb/lib.rs - Database::from (line 69) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/jrdb/lib.rs - Database::condition (line 309) stdout ---- [INFO] [stdout] error[E0596]: cannot borrow `db` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/jrdb/lib.rs:324:3 [INFO] [stdout] | [INFO] [stdout] 8 | let db:Database = Database::from("main"); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut db` [INFO] [stdout] ... [INFO] [stdout] 17 | db.insert("users", doc).execute(); [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `db` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/jrdb/lib.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 8 | let db:Database = Database::from("main"); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut db` [INFO] [stdout] ... [INFO] [stdout] 21 | db.select("users") [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `db` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/jrdb/lib.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 8 | let db:Database = Database::from("main"); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut db` [INFO] [stdout] ... [INFO] [stdout] 30 | db.select("users") [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/jrdb/lib.rs - Database::update (line 223) stdout ---- [INFO] [stdout] error[E0596]: cannot borrow `db` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/jrdb/lib.rs:237:3 [INFO] [stdout] | [INFO] [stdout] 7 | let db:Database = Database::from("main"); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut db` [INFO] [stdout] ... [INFO] [stdout] 16 | db.insert("users", doc).execute(); [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `db` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/jrdb/lib.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 7 | let db:Database = Database::from("main"); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut db` [INFO] [stdout] ... [INFO] [stdout] 19 | let collection: JrCollection = db.select("users").execute(); [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `db` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/jrdb/lib.rs:248:3 [INFO] [stdout] | [INFO] [stdout] 7 | let db:Database = Database::from("main"); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut db` [INFO] [stdout] ... [INFO] [stdout] 27 | db.update("users", updated_doc).execute(); [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `db` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/jrdb/lib.rs:250:34 [INFO] [stdout] | [INFO] [stdout] 7 | let db:Database = Database::from("main"); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut db` [INFO] [stdout] ... [INFO] [stdout] 29 | let collection: JrCollection = db.select("users").execute(); [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/jrdb/lib.rs - Database::select (line 187) stdout ---- [INFO] [stdout] error[E0596]: cannot borrow `db` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/jrdb/lib.rs:201:3 [INFO] [stdout] | [INFO] [stdout] 7 | let db:Database = Database::from("main"); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut db` [INFO] [stdout] ... [INFO] [stdout] 16 | db.insert("users", doc).execute(); [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `db` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/jrdb/lib.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 7 | let db:Database = Database::from("main"); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut db` [INFO] [stdout] ... [INFO] [stdout] 19 | let collection: JrCollection = db.select("users").execute(); [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/jrdb/lib.rs - Database::delete (line 268) stdout ---- [INFO] [stdout] error[E0596]: cannot borrow `db` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/jrdb/lib.rs:282:3 [INFO] [stdout] | [INFO] [stdout] 7 | let db:Database = Database::from("main"); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut db` [INFO] [stdout] ... [INFO] [stdout] 16 | db.insert("users", doc).execute(); [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `db` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/jrdb/lib.rs:285:34 [INFO] [stdout] | [INFO] [stdout] 7 | let db:Database = Database::from("main"); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut db` [INFO] [stdout] ... [INFO] [stdout] 19 | let collection: JrCollection = db.select("users").execute(); [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `db` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/jrdb/lib.rs:289:3 [INFO] [stdout] | [INFO] [stdout] 7 | let db:Database = Database::from("main"); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut db` [INFO] [stdout] ... [INFO] [stdout] 23 | db.delete("users").execute(); [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `db` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/jrdb/lib.rs:291:34 [INFO] [stdout] | [INFO] [stdout] 7 | let db:Database = Database::from("main"); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut db` [INFO] [stdout] ... [INFO] [stdout] 25 | let collection: JrCollection = db.select("users").execute(); [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/jrdb/lib.rs - Database::insert (line 156) stdout ---- [INFO] [stdout] error[E0599]: no method named `add_value` found for struct `jrdb::jrdb_type::JrDocument` in the current scope [INFO] [stdout] --> src/jrdb/lib.rs:165:7 [INFO] [stdout] | [INFO] [stdout] 11 | doc.add_value("name", String::from("Joel")); [INFO] [stdout] | ^^^^^^^^^ method not found in `jrdb::jrdb_type::JrDocument` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use crate::jrdb::jrdb_type::AddGetValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_value` found for struct `jrdb::jrdb_type::JrDocument` in the current scope [INFO] [stdout] --> src/jrdb/lib.rs:166:7 [INFO] [stdout] | [INFO] [stdout] 12 | doc.add_value("pass", String::from("ILoveErd")); [INFO] [stdout] | ^^^^^^^^^ method not found in `jrdb::jrdb_type::JrDocument` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use crate::jrdb::jrdb_type::AddGetValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_value` found for struct `jrdb::jrdb_type::JrDocument` in the current scope [INFO] [stdout] --> src/jrdb/lib.rs:167:7 [INFO] [stdout] | [INFO] [stdout] 13 | doc.add_value("age", 30); [INFO] [stdout] | ^^^^^^^^^ method not found in `jrdb::jrdb_type::JrDocument` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use crate::jrdb::jrdb_type::AddGetValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/jrdb/lib.rs - Database::execute (line 116) stdout ---- [INFO] [stdout] error[E0599]: no method named `add_value` found for struct `jrdb::jrdb_type::JrDocument` in the current scope [INFO] [stdout] --> src/jrdb/lib.rs:125:7 [INFO] [stdout] | [INFO] [stdout] 11 | doc.add_value("name", String::from("Joel")); [INFO] [stdout] | ^^^^^^^^^ method not found in `jrdb::jrdb_type::JrDocument` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use crate::jrdb::jrdb_type::AddGetValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_value` found for struct `jrdb::jrdb_type::JrDocument` in the current scope [INFO] [stdout] --> src/jrdb/lib.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 12 | doc.add_value("pass", String::from("ILoveErd")); [INFO] [stdout] | ^^^^^^^^^ method not found in `jrdb::jrdb_type::JrDocument` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use crate::jrdb::jrdb_type::AddGetValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_value` found for struct `jrdb::jrdb_type::JrDocument` in the current scope [INFO] [stdout] --> src/jrdb/lib.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 13 | doc.add_value("age", 30); [INFO] [stdout] | ^^^^^^^^^ method not found in `jrdb::jrdb_type::JrDocument` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use crate::jrdb::jrdb_type::AddGetValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/jrdb/lib.rs - Database::from (line 69) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/jrdb/lib.rs:98:46 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5564b5e806c0 - std::backtrace_rs::backtrace::libunwind::trace::h04d12fdcddff82aa [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/../../backtrace/src/backtrace/libunwind.rs:100:5 [INFO] [stdout] 1: 0x5564b5e806c0 - std::backtrace_rs::backtrace::trace_unsynchronized::h1459b974b6fbe5e1 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5564b5e806c0 - std::sys_common::backtrace::_print_fmt::h9b8396a669123d95 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5564b5e806c0 - ::fmt::he009dcaaa75eed60 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5564b5e99bdc - core::fmt::write::h77b4746b0dea1dd3 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x5564b5e7ebd2 - std::io::Write::write_fmt::heb7e50902e98831c [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/io/mod.rs:1518:15 [INFO] [stdout] 6: 0x5564b5e82825 - std::sys_common::backtrace::_print::h2d880c9e69a21be9 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5564b5e82825 - std::sys_common::backtrace::print::h5f02b1bb49f36879 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5564b5e82825 - std::panicking::default_hook::{{closure}}::h658e288a7a809b29 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x5564b5e824c8 - std::panicking::default_hook::hb52d73f0da9a4bb8 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:227:9 [INFO] [stdout] 10: 0x5564b5e82f61 - std::panicking::rust_panic_with_hook::hfe7e1c684e3e6462 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:593:17 [INFO] [stdout] 11: 0x5564b5e82aa7 - std::panicking::begin_panic_handler::{{closure}}::h42939e004b32765c [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:499:13 [INFO] [stdout] 12: 0x5564b5e80b7c - std::sys_common::backtrace::__rust_end_short_backtrace::h9d2070f7bf9fd56c [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x5564b5e82a09 - rust_begin_unwind [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:495:5 [INFO] [stdout] 14: 0x5564b5e98f81 - core::panicking::panic_fmt::ha0bb065d9a260792 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x5564b5e98da3 - core::option::expect_none_failed::h7e1dd0a94971eb61 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/option.rs:1268:5 [INFO] [stdout] 16: 0x5564b5e65ccb - core::result::Result::unwrap::h88d92e8d4fa80c7e [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/result.rs:973:23 [INFO] [stdout] 17: 0x5564b5e649b4 - jrdb::Database::from::h290c38eecff7f4ea [INFO] [stdout] at /opt/rustwide/workdir/src/jrdb/lib.rs:95:25 [INFO] [stdout] 18: 0x5564b5e643de - rust_out::main::h405f65324f7b53be [INFO] [stdout] 19: 0x5564b5e64253 - core::ops::function::FnOnce::call_once::h3db408b57191f4c8 [INFO] [stdout] 20: 0x5564b5e64179 - std::sys_common::backtrace::__rust_begin_short_backtrace::h63647f327f3ebdae [INFO] [stdout] 21: 0x5564b5e64209 - std::rt::lang_start::{{closure}}::he1e0628789bd119a [INFO] [stdout] 22: 0x5564b5e83387 - core::ops::function::impls:: for &F>::call_once::h57e2a071d427b24c [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x5564b5e83387 - std::panicking::try::do_call::h81cbbe0c3b30a28e [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:381:40 [INFO] [stdout] 24: 0x5564b5e83387 - std::panicking::try::hbeeb95b4e1f0a876 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:345:19 [INFO] [stdout] 25: 0x5564b5e83387 - std::panic::catch_unwind::h59c48ccb40a0bf20 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:396:14 [INFO] [stdout] 26: 0x5564b5e83387 - std::rt::lang_start_internal::ha53ab63f88fee728 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/rt.rs:51:25 [INFO] [stdout] 27: 0x5564b5e641e8 - std::rt::lang_start::hbf8fdee85d7e16e4 [INFO] [stdout] 28: 0x5564b5e6440b - main [INFO] [stdout] 29: 0x7f4f7a0960b3 - __libc_start_main [INFO] [stdout] 30: 0x5564b5e640ae - _start [INFO] [stdout] 31: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/jrdb/lib.rs - Database::condition (line 309) [INFO] [stdout] src/jrdb/lib.rs - Database::delete (line 268) [INFO] [stdout] src/jrdb/lib.rs - Database::execute (line 116) [INFO] [stdout] src/jrdb/lib.rs - Database::from (line 69) [INFO] [stdout] src/jrdb/lib.rs - Database::insert (line 156) [INFO] [stdout] src/jrdb/lib.rs - Database::select (line 187) [INFO] [stdout] src/jrdb/lib.rs - Database::update (line 223) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "82ea5e28e5d7c919df9082128c513c04746495f785be0e23db90ad0be604b253", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82ea5e28e5d7c919df9082128c513c04746495f785be0e23db90ad0be604b253", kill_on_drop: false }` [INFO] [stdout] 82ea5e28e5d7c919df9082128c513c04746495f785be0e23db90ad0be604b253