[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 try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeeJiaLe%2Frust-jrdb" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LeeJiaLe/rust-jrdb on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LeeJiaLe/rust-jrdb 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ad7d59ac737a42c7c6f1e81f22f0afc7dee050337daa58de971c23959b68660a
[INFO] running `Command { std: "docker" "start" "-a" "ad7d59ac737a42c7c6f1e81f22f0afc7dee050337daa58de971c23959b68660a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad7d59ac737a42c7c6f1e81f22f0afc7dee050337daa58de971c23959b68660a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad7d59ac737a42c7c6f1e81f22f0afc7dee050337daa58de971c23959b68660a", kill_on_drop: false }`
[INFO] [stdout] ad7d59ac737a42c7c6f1e81f22f0afc7dee050337daa58de971c23959b68660a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0ebf00b084a1815f13b4d55dbfe43f8672ad874de30e4c9c3ebf5f480aac31ef
[INFO] running `Command { std: "docker" "start" "-a" "0ebf00b084a1815f13b4d55dbfe43f8672ad874de30e4c9c3ebf5f480aac31ef", kill_on_drop: false }`
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling jrdb v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait `GenericDatabaseFeature` is never used
[INFO] [stdout]   --> src/jrdb/lib.rs:59:7
[INFO] [stdout]    |
[INFO] [stdout] 59 | trait GenericDatabaseFeature<T>{
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.46s
[INFO] running `Command { std: "docker" "inspect" "0ebf00b084a1815f13b4d55dbfe43f8672ad874de30e4c9c3ebf5f480aac31ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ebf00b084a1815f13b4d55dbfe43f8672ad874de30e4c9c3ebf5f480aac31ef", kill_on_drop: false }`
[INFO] [stdout] 0ebf00b084a1815f13b4d55dbfe43f8672ad874de30e4c9c3ebf5f480aac31ef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a9f2ac294f8e6ef123b886590d14aba5e521f283b9ef8a72fd5ea0d0f6895f53
[INFO] running `Command { std: "docker" "start" "-a" "a9f2ac294f8e6ef123b886590d14aba5e521f283b9ef8a72fd5ea0d0f6895f53", kill_on_drop: false }`
[INFO] [stderr]    Compiling jrdb v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait `GenericDatabaseFeature` is never used
[INFO] [stdout]   --> src/jrdb/lib.rs:59:7
[INFO] [stdout]    |
[INFO] [stdout] 59 | trait GenericDatabaseFeature<T>{
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `GenericDatabaseFeature` is never used
[INFO] [stdout]   --> src/jrdb/lib.rs:59:7
[INFO] [stdout]    |
[INFO] [stdout] 59 | trait GenericDatabaseFeature<T>{
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s
[INFO] running `Command { std: "docker" "inspect" "a9f2ac294f8e6ef123b886590d14aba5e521f283b9ef8a72fd5ea0d0f6895f53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9f2ac294f8e6ef123b886590d14aba5e521f283b9ef8a72fd5ea0d0f6895f53", kill_on_drop: false }`
[INFO] [stdout] a9f2ac294f8e6ef123b886590d14aba5e521f283b9ef8a72fd5ea0d0f6895f53
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e72843107d7ea48a8fdc3cd830ce1dd08474d41648a1b4041ee2429080c6b5d1
[INFO] running `Command { std: "docker" "start" "-a" "e72843107d7ea48a8fdc3cd830ce1dd08474d41648a1b4041ee2429080c6b5d1", kill_on_drop: false }`
[INFO] [stderr] warning: trait `GenericDatabaseFeature` is never used
[INFO] [stderr]   --> src/jrdb/lib.rs:59:7
[INFO] [stderr]    |
[INFO] [stderr] 59 | trait GenericDatabaseFeature<T>{
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `jrdb` (lib) generated 1 warning
[INFO] [stderr] warning: `jrdb` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/jrdb/lib.rs (/opt/rustwide/target/debug/deps/jrdb-d8abce04cdd942ef)
[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 example/exp-1.rs (/opt/rustwide/target/debug/deps/example-94bb93bac4086493)
[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 jrdb
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test src/jrdb/lib.rs - Database::select (line 187) ... FAILED
[INFO] [stdout] test src/jrdb/lib.rs - Database::update (line 223) ... FAILED
[INFO] [stdout] test src/jrdb/lib.rs - Database::condition (line 309) ... FAILED
[INFO] [stdout] test src/jrdb/lib.rs - Database::insert (line 156) ... FAILED
[INFO] [stdout] test src/jrdb/lib.rs - Database::delete (line 268) ... 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::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:193:7
[INFO] [stdout]     |
[INFO] [stdout] 193 |   let db:Database = Database::from("main");
[INFO] [stdout]     |       ^^ not mutable
[INFO] [stdout] ...
[INFO] [stdout] 202 |   db.insert("users", doc).execute();
[INFO] [stdout]     |   -- cannot borrow as mutable
[INFO] [stdout] ...
[INFO] [stdout] 205 |   let collection: JrCollection = db.select("users").execute();
[INFO] [stdout]     |                                  -- cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 193 |   let mut db:Database = Database::from("main");
[INFO] [stdout]     |       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[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:229:7
[INFO] [stdout]     |
[INFO] [stdout] 229 |   let db:Database = Database::from("main");
[INFO] [stdout]     |       ^^ not mutable
[INFO] [stdout] ...
[INFO] [stdout] 238 |   db.insert("users", doc).execute();
[INFO] [stdout]     |   -- cannot borrow as mutable
[INFO] [stdout] ...
[INFO] [stdout] 241 |   let collection: JrCollection = db.select("users").execute();
[INFO] [stdout]     |                                  -- cannot borrow as mutable
[INFO] [stdout] ...
[INFO] [stdout] 249 |   db.update("users", updated_doc).execute();
[INFO] [stdout]     |   -- cannot borrow as mutable
[INFO] [stdout] 250 |  
[INFO] [stdout] 251 |   let collection: JrCollection = db.select("users").execute();
[INFO] [stdout]     |                                  -- cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 229 |   let mut db:Database = Database::from("main");
[INFO] [stdout]     |       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[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::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:316:7
[INFO] [stdout]     |
[INFO] [stdout] 316 |   let db:Database = Database::from("main");
[INFO] [stdout]     |       ^^ not mutable
[INFO] [stdout] ...
[INFO] [stdout] 325 |   db.insert("users", doc).execute();
[INFO] [stdout]     |   -- cannot borrow as mutable
[INFO] [stdout] ...
[INFO] [stdout] 329 |     db.select("users")
[INFO] [stdout]     |     -- cannot borrow as mutable
[INFO] [stdout] ...
[INFO] [stdout] 338 |     db.select("users")
[INFO] [stdout]     |     -- cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 316 |   let mut db:Database = Database::from("main");
[INFO] [stdout]     |       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[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:166:7
[INFO] [stdout]     |
[INFO] [stdout] 166 |   doc.add_value("name", String::from("Joel"));
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/jrdb/jrdb_type.rs:179:6
[INFO] [stdout]     |
[INFO] [stdout] 179 |   fn add_value(&mut self, key:&str, item: T);
[INFO] [stdout]     |      --------- the method is available for `jrdb::jrdb_type::JrDocument` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get_value` with a similar name, but with different arguments
[INFO] [stdout]    --> src/jrdb/jrdb_type.rs:180:3
[INFO] [stdout]     |
[INFO] [stdout] 180 |   fn get_value(&self, key:&str)->Result<T, &str>;
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `AddGetValue` which provides `add_value` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 156 + 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] 167 |   doc.add_value("pass", String::from("ILoveErd"));
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/jrdb/jrdb_type.rs:179:6
[INFO] [stdout]     |
[INFO] [stdout] 179 |   fn add_value(&mut self, key:&str, item: T);
[INFO] [stdout]     |      --------- the method is available for `jrdb::jrdb_type::JrDocument` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get_value` with a similar name, but with different arguments
[INFO] [stdout]    --> src/jrdb/jrdb_type.rs:180:3
[INFO] [stdout]     |
[INFO] [stdout] 180 |   fn get_value(&self, key:&str)->Result<T, &str>;
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `AddGetValue` which provides `add_value` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 156 + 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:168:7
[INFO] [stdout]     |
[INFO] [stdout] 168 |   doc.add_value("age", 30);
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/jrdb/jrdb_type.rs:179:6
[INFO] [stdout]     |
[INFO] [stdout] 179 |   fn add_value(&mut self, key:&str, item: T);
[INFO] [stdout]     |      --------- the method is available for `jrdb::jrdb_type::JrDocument` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get_value` with a similar name, but with different arguments
[INFO] [stdout]    --> src/jrdb/jrdb_type.rs:180:3
[INFO] [stdout]     |
[INFO] [stdout] 180 |   fn get_value(&self, key:&str)->Result<T, &str>;
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `AddGetValue` which provides `add_value` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 156 + 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::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:274:7
[INFO] [stdout]     |
[INFO] [stdout] 274 |   let db:Database = Database::from("main");
[INFO] [stdout]     |       ^^ not mutable
[INFO] [stdout] ...
[INFO] [stdout] 283 |   db.insert("users", doc).execute();
[INFO] [stdout]     |   -- cannot borrow as mutable
[INFO] [stdout] ...
[INFO] [stdout] 286 |   let collection: JrCollection = db.select("users").execute();
[INFO] [stdout]     |                                  -- cannot borrow as mutable
[INFO] [stdout] ...
[INFO] [stdout] 290 |   db.delete("users").execute();
[INFO] [stdout]     |   -- cannot borrow as mutable
[INFO] [stdout] 291 |  
[INFO] [stdout] 292 |   let collection: JrCollection = db.select("users").execute();
[INFO] [stdout]     |                                  -- cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 274 |   let mut db:Database = Database::from("main");
[INFO] [stdout]     |       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[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::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:126:7
[INFO] [stdout]     |
[INFO] [stdout] 126 |   doc.add_value("name", String::from("Joel"));
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/jrdb/jrdb_type.rs:179:6
[INFO] [stdout]     |
[INFO] [stdout] 179 |   fn add_value(&mut self, key:&str, item: T);
[INFO] [stdout]     |      --------- the method is available for `jrdb::jrdb_type::JrDocument` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get_value` with a similar name, but with different arguments
[INFO] [stdout]    --> src/jrdb/jrdb_type.rs:180:3
[INFO] [stdout]     |
[INFO] [stdout] 180 |   fn get_value(&self, key:&str)->Result<T, &str>;
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `AddGetValue` which provides `add_value` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 116 + 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] 127 |   doc.add_value("pass", String::from("ILoveErd"));
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/jrdb/jrdb_type.rs:179:6
[INFO] [stdout]     |
[INFO] [stdout] 179 |   fn add_value(&mut self, key:&str, item: T);
[INFO] [stdout]     |      --------- the method is available for `jrdb::jrdb_type::JrDocument` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get_value` with a similar name, but with different arguments
[INFO] [stdout]    --> src/jrdb/jrdb_type.rs:180:3
[INFO] [stdout]     |
[INFO] [stdout] 180 |   fn get_value(&self, key:&str)->Result<T, &str>;
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `AddGetValue` which provides `add_value` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 116 + 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:128:7
[INFO] [stdout]     |
[INFO] [stdout] 128 |   doc.add_value("age", 30);
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/jrdb/jrdb_type.rs:179:6
[INFO] [stdout]     |
[INFO] [stdout] 179 |   fn add_value(&mut self, key:&str, item: T);
[INFO] [stdout]     |      --------- the method is available for `jrdb::jrdb_type::JrDocument` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get_value` with a similar name, but with different arguments
[INFO] [stdout]    --> src/jrdb/jrdb_type.rs:180:3
[INFO] [stdout]     |
[INFO] [stdout] 180 |   fn get_value(&self, key:&str)->Result<T, &str>;
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `AddGetValue` which provides `add_value` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 116 + 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 status: 101).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] 
[INFO] [stdout] thread 'main' (78) panicked at src/jrdb/lib.rs:98:46:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x63cde68998da - std[ec4e911328de40a6]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x63cde68998da - std[ec4e911328de40a6]::backtrace_rs::backtrace::trace_unsynchronized::<std[ec4e911328de40a6]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x63cde68998da - std[ec4e911328de40a6]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x63cde68998da - <<std[ec4e911328de40a6]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a96a4c5c53f902a3]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x63cde68aa1ea - <core[a96a4c5c53f902a3]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x63cde68aa1ea - core[a96a4c5c53f902a3]::fmt::write
[INFO] [stdout]    6:     0x63cde689d102 - std[ec4e911328de40a6]::io::default_write_fmt::<std[ec4e911328de40a6]::sys::stdio::unix::Stderr>
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x63cde689d102 - <std[ec4e911328de40a6]::sys::stdio::unix::Stderr as std[ec4e911328de40a6]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x63cde688584f - <std[ec4e911328de40a6]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x63cde688584f - std[ec4e911328de40a6]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x63cde6895e91 - std[ec4e911328de40a6]::panicking::default_hook
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panicking.rs:319:9
[INFO] [stdout]   11:     0x63cde689604b - std[ec4e911328de40a6]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panicking.rs:825:13
[INFO] [stdout]   12:     0x63cde6885908 - std[ec4e911328de40a6]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panicking.rs:698:13
[INFO] [stdout]   13:     0x63cde687d689 - std[ec4e911328de40a6]::sys::backtrace::__rust_end_short_backtrace::<std[ec4e911328de40a6]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   14:     0x63cde68860ed - __rustc[aa69f48705c57ca8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panicking.rs:689:5
[INFO] [stdout]   15:     0x63cde68aa8fc - core[a96a4c5c53f902a3]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/core/src/panicking.rs:80:14
[INFO] [stdout]   16:     0x63cde68aa672 - core[a96a4c5c53f902a3]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/core/src/result.rs:1867:5
[INFO] [stdout]   17:     0x63cde686b537 - <core[a96a4c5c53f902a3]::result::Result<std[ec4e911328de40a6]::fs::File, std[ec4e911328de40a6]::io::error::Error>>::unwrap
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/core/src/result.rs:1233:23
[INFO] [stdout]   18:     0x63cde686b537 - <jrdb[53e88e6693d80028]::Database>::from
[INFO] [stdout]                                at /opt/rustwide/workdir/src/jrdb/lib.rs:98:46
[INFO] [stdout]   19:     0x63cde686abeb - rust_out[c29997ca7713e474]::main
[INFO] [stdout]   20:     0x63cde686ac13 - <fn() as core[a96a4c5c53f902a3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   21:     0x63cde686ab96 - std[ec4e911328de40a6]::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
[INFO] [stdout]   22:     0x63cde686aba9 - std[ec4e911328de40a6]::rt::lang_start::<()>::{closure#0}
[INFO] [stdout]   23:     0x63cde6895614 - <&dyn core[a96a4c5c53f902a3]::ops::function::Fn<(), Output = i32> + core[a96a4c5c53f902a3]::panic::unwind_safe::RefUnwindSafe + core[a96a4c5c53f902a3]::marker::Sync as core[a96a4c5c53f902a3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/core/src/ops/function.rs:287:21
[INFO] [stdout]   24:     0x63cde6895614 - std[ec4e911328de40a6]::panicking::catch_unwind::do_call::<&dyn core[a96a4c5c53f902a3]::ops::function::Fn<(), Output = i32> + core[a96a4c5c53f902a3]::panic::unwind_safe::RefUnwindSafe + core[a96a4c5c53f902a3]::marker::Sync, i32>
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panicking.rs:581:40
[INFO] [stdout]   25:     0x63cde6895614 - std[ec4e911328de40a6]::panicking::catch_unwind::<i32, &dyn core[a96a4c5c53f902a3]::ops::function::Fn<(), Output = i32> + core[a96a4c5c53f902a3]::panic::unwind_safe::RefUnwindSafe + core[a96a4c5c53f902a3]::marker::Sync>
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panicking.rs:544:19
[INFO] [stdout]   26:     0x63cde6895614 - std[ec4e911328de40a6]::panic::catch_unwind::<&dyn core[a96a4c5c53f902a3]::ops::function::Fn<(), Output = i32> + core[a96a4c5c53f902a3]::panic::unwind_safe::RefUnwindSafe + core[a96a4c5c53f902a3]::marker::Sync, i32>
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panic.rs:359:14
[INFO] [stdout]   27:     0x63cde6895614 - std[ec4e911328de40a6]::rt::lang_start_internal::{closure#0}
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/rt.rs:175:24
[INFO] [stdout]   28:     0x63cde6895614 - std[ec4e911328de40a6]::panicking::catch_unwind::do_call::<std[ec4e911328de40a6]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x63cde6895614 - std[ec4e911328de40a6]::panicking::catch_unwind::<isize, std[ec4e911328de40a6]::rt::lang_start_internal::{closure#0}>
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x63cde6895614 - std[ec4e911328de40a6]::panic::catch_unwind::<std[ec4e911328de40a6]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x63cde6895614 - std[ec4e911328de40a6]::rt::lang_start_internal
[INFO] [stdout]                                at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/rt.rs:171:5
[INFO] [stdout]   32:     0x63cde686ab81 - std[ec4e911328de40a6]::rt::lang_start::<()>
[INFO] [stdout]   33:     0x63cde686ac75 - main
[INFO] [stdout]   34:     0x70265ac371ca - <unknown>
[INFO] [stdout]   35:     0x70265ac3728b - __libc_start_main
[INFO] [stdout]   36:     0x63cde686a9c5 - _start
[INFO] [stdout]   37:                0x0 - <unknown>
[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; finished in 0.36s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "e72843107d7ea48a8fdc3cd830ce1dd08474d41648a1b4041ee2429080c6b5d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e72843107d7ea48a8fdc3cd830ce1dd08474d41648a1b4041ee2429080c6b5d1", kill_on_drop: false }`
[INFO] [stdout] e72843107d7ea48a8fdc3cd830ce1dd08474d41648a1b4041ee2429080c6b5d1
