[INFO] fetching crate mvdb 0.3.0... [INFO] testing mvdb-0.3.0 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate mvdb 0.3.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate mvdb 0.3.0 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mvdb 0.3.0 [INFO] finished tweaking crates.io crate mvdb 0.3.0 [INFO] tweaked toml for crates.io crate mvdb 0.3.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c3b4e492e4b1c8ff24de95b414be9e4366ccc9c98aed58e624b3d5f300f54c7 [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" "9c3b4e492e4b1c8ff24de95b414be9e4366ccc9c98aed58e624b3d5f300f54c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c3b4e492e4b1c8ff24de95b414be9e4366ccc9c98aed58e624b3d5f300f54c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c3b4e492e4b1c8ff24de95b414be9e4366ccc9c98aed58e624b3d5f300f54c7", kill_on_drop: false }` [INFO] [stdout] 9c3b4e492e4b1c8ff24de95b414be9e4366ccc9c98aed58e624b3d5f300f54c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3b06533bea9205e3546fe3212be4aab7e291f5a338c0b169b562f9c014416302 [INFO] running `Command { std: "docker" "start" "-a" "3b06533bea9205e3546fe3212be4aab7e291f5a338c0b169b562f9c014416302", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling mvdb v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.78s [INFO] running `Command { std: "docker" "inspect" "3b06533bea9205e3546fe3212be4aab7e291f5a338c0b169b562f9c014416302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b06533bea9205e3546fe3212be4aab7e291f5a338c0b169b562f9c014416302", kill_on_drop: false }` [INFO] [stdout] 3b06533bea9205e3546fe3212be4aab7e291f5a338c0b169b562f9c014416302 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e4ebf9e0a1128d65c2bb46c4b9397fae33dd4fc62e41ad54723816187d3ea4d3 [INFO] running `Command { std: "docker" "start" "-a" "e4ebf9e0a1128d65c2bb46c4b9397fae33dd4fc62e41ad54723816187d3ea4d3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mvdb v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 19.60s [INFO] running `Command { std: "docker" "inspect" "e4ebf9e0a1128d65c2bb46c4b9397fae33dd4fc62e41ad54723816187d3ea4d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4ebf9e0a1128d65c2bb46c4b9397fae33dd4fc62e41ad54723816187d3ea4d3", kill_on_drop: false }` [INFO] [stdout] e4ebf9e0a1128d65c2bb46c4b9397fae33dd4fc62e41ad54723816187d3ea4d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2acd4cc04cacc7d6e987f19b6b6502566d2e872078415ee8aba3235337a7a646 [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" "2acd4cc04cacc7d6e987f19b6b6502566d2e872078415ee8aba3235337a7a646", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mvdb-9a9bfc01d0d54887) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests mvdb [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] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - (line 61) ... FAILED [INFO] [stdout] test src/mvdb.rs - mvdb::Mvdb::from_file_or_default_pretty (line 245) ... FAILED [INFO] [stdout] test src/lib.rs - (line 50) ... FAILED [INFO] [stdout] test src/mvdb.rs - mvdb::Mvdb::from_file_pretty (line 115) ... FAILED [INFO] [stdout] test src/mvdb.rs - mvdb::Mvdb::new_pretty (line 80) ... FAILED [INFO] [stdout] test src/mvdb.rs - mvdb::Mvdb::from_file (line 97) ... FAILED [INFO] [stdout] test src/mvdb.rs - mvdb::Mvdb::from_file_or_default (line 229) ... FAILED [INFO] [stdout] test src/mvdb.rs - mvdb::Mvdb::new (line 62) ... FAILED [INFO] [stdout] test src/mvdb.rs - mvdb::Mvdb::access (line 155) ... FAILED [INFO] [stdout] test src/mvdb.rs - mvdb::Mvdb::access_mut (line 174) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 61) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `extern` [INFO] [stdout] --> src/lib.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 4 | [macro_use] extern crate serde_derive; [INFO] [stdout] | ^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mvdb.rs - mvdb::Mvdb::from_file_or_default_pretty (line 245) stdout ---- [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/mvdb.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 5 | .expect("Could not write to file"); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mvdb` [INFO] [stdout] --> src/mvdb.rs:247:31 [INFO] [stdout] | [INFO] [stdout] 4 | let my_data: Mvdb = Mvdb::from_file_or_default_pretty(&file); [INFO] [stdout] | ^^^^ use of undeclared type `Mvdb` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/mvdb.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 3 | let file = Path::new("demo_pretty.json"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mvdb` in this scope [INFO] [stdout] --> src/mvdb.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 4 | let my_data: Mvdb = Mvdb::from_file_or_default_pretty(&file); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DemoData` in this scope [INFO] [stdout] --> src/mvdb.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_mvdb_rs_245_0() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 3 | let file = Path::new("demo_pretty.json"); [INFO] [stdout] 4 | let my_data: Mvdb = Mvdb::from_file_or_default_pretty(&file); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 50) stdout ---- [INFO] [stdout] error: expected expression, found keyword `in` [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 4 | in Cargo.toml: [INFO] [stdout] | ^^ expected expression [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mvdb.rs - mvdb::Mvdb::from_file_pretty (line 115) stdout ---- [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/mvdb.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 5 | .expect("File does not exist, or schema mismatch"); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mvdb` [INFO] [stdout] --> src/mvdb.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 4 | let my_data: Mvdb = Mvdb::from_file_pretty(&file); [INFO] [stdout] | ^^^^ use of undeclared type `Mvdb` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/mvdb.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 3 | let file = Path::new("demo_pretty.json"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mvdb` in this scope [INFO] [stdout] --> src/mvdb.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 4 | let my_data: Mvdb = Mvdb::from_file_pretty(&file); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DemoData` in this scope [INFO] [stdout] --> src/mvdb.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_mvdb_rs_115_0() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 3 | let file = Path::new("demo_pretty.json"); [INFO] [stdout] 4 | let my_data: Mvdb = Mvdb::from_file_pretty(&file); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mvdb.rs - mvdb::Mvdb::new_pretty (line 80) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DemoData` [INFO] [stdout] --> src/mvdb.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 3 | let data = DemoData::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `DemoData` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mvdb` [INFO] [stdout] --> src/mvdb.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 6 | let my_data = Mvdb::new_pretty(data, &file) [INFO] [stdout] | ^^^^ use of undeclared type `Mvdb` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/mvdb.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 4 | let file = Path::new("demo_pretty.json"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mvdb.rs - mvdb::Mvdb::from_file (line 97) stdout ---- [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/mvdb.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 5 | .expect("File does not exist, or schema mismatch"); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mvdb` [INFO] [stdout] --> src/mvdb.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 4 | let my_data: Mvdb = Mvdb::from_file(&file); [INFO] [stdout] | ^^^^ use of undeclared type `Mvdb` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/mvdb.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 3 | let file = Path::new("demo.json"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mvdb` in this scope [INFO] [stdout] --> src/mvdb.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 4 | let my_data: Mvdb = Mvdb::from_file(&file); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DemoData` in this scope [INFO] [stdout] --> src/mvdb.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_mvdb_rs_97_0() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 3 | let file = Path::new("demo.json"); [INFO] [stdout] 4 | let my_data: Mvdb = Mvdb::from_file(&file); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mvdb.rs - mvdb::Mvdb::from_file_or_default (line 229) stdout ---- [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/mvdb.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 5 | .expect("Could not write to file"); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mvdb` [INFO] [stdout] --> src/mvdb.rs:231:31 [INFO] [stdout] | [INFO] [stdout] 4 | let my_data: Mvdb = Mvdb::from_file_or_default(&file); [INFO] [stdout] | ^^^^ use of undeclared type `Mvdb` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/mvdb.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 3 | let file = Path::new("demo.json"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mvdb` in this scope [INFO] [stdout] --> src/mvdb.rs:231:14 [INFO] [stdout] | [INFO] [stdout] 4 | let my_data: Mvdb = Mvdb::from_file_or_default(&file); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DemoData` in this scope [INFO] [stdout] --> src/mvdb.rs:231:19 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_mvdb_rs_229_0() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 3 | let file = Path::new("demo.json"); [INFO] [stdout] 4 | let my_data: Mvdb = Mvdb::from_file_or_default(&file); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mvdb.rs - mvdb::Mvdb::new (line 62) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DemoData` [INFO] [stdout] --> src/mvdb.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 3 | let data = DemoData::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `DemoData` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mvdb` [INFO] [stdout] --> src/mvdb.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 6 | let my_data = Mvdb::new(data, &file) [INFO] [stdout] | ^^^^ use of undeclared type `Mvdb` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/mvdb.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 4 | let file = Path::new("demo.json"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mvdb.rs - mvdb::Mvdb::access (line 155) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `my_data` in this scope [INFO] [stdout] --> src/mvdb.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 3 | let foo_from_disk = my_data.access(|db| db.foo.clone()) [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/mvdb.rs - mvdb::Mvdb::access_mut (line 174) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `my_data` in this scope [INFO] [stdout] --> src/mvdb.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 3 | my_data.access_mut(|db: &mut DemoData| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DemoData` in this scope [INFO] [stdout] --> src/mvdb.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 3 | my_data.access_mut(|db: &mut DemoData| { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 50) [INFO] [stdout] src/lib.rs - (line 61) [INFO] [stdout] src/mvdb.rs - mvdb::Mvdb::access (line 155) [INFO] [stdout] src/mvdb.rs - mvdb::Mvdb::access_mut (line 174) [INFO] [stdout] src/mvdb.rs - mvdb::Mvdb::from_file (line 97) [INFO] [stdout] src/mvdb.rs - mvdb::Mvdb::from_file_or_default (line 229) [INFO] [stdout] src/mvdb.rs - mvdb::Mvdb::from_file_or_default_pretty (line 245) [INFO] [stdout] src/mvdb.rs - mvdb::Mvdb::from_file_pretty (line 115) [INFO] [stdout] src/mvdb.rs - mvdb::Mvdb::new (line 62) [INFO] [stdout] src/mvdb.rs - mvdb::Mvdb::new_pretty (line 80) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.38s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "2acd4cc04cacc7d6e987f19b6b6502566d2e872078415ee8aba3235337a7a646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2acd4cc04cacc7d6e987f19b6b6502566d2e872078415ee8aba3235337a7a646", kill_on_drop: false }` [INFO] [stdout] 2acd4cc04cacc7d6e987f19b6b6502566d2e872078415ee8aba3235337a7a646