[INFO] crate mvdb 0.3.0 is already in cache [INFO] testing mvdb-0.3.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate mvdb 0.3.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate mvdb 0.3.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eae4acd8e5548baa84ac2b5ac6308fc6df02256daa13b97608ff04bdc3a319cd [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" "eae4acd8e5548baa84ac2b5ac6308fc6df02256daa13b97608ff04bdc3a319cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eae4acd8e5548baa84ac2b5ac6308fc6df02256daa13b97608ff04bdc3a319cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eae4acd8e5548baa84ac2b5ac6308fc6df02256daa13b97608ff04bdc3a319cd", kill_on_drop: false }` [INFO] [stdout] eae4acd8e5548baa84ac2b5ac6308fc6df02256daa13b97608ff04bdc3a319cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f474ba2f8fd47ea874549eb5909faf82c366d9cc288ff7f47e2c7958dd07bb58 [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" "f474ba2f8fd47ea874549eb5909faf82c366d9cc288ff7f47e2c7958dd07bb58", kill_on_drop: false }` [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling itoa v0.4.6 [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 5.03s [INFO] running `Command { std: "docker" "inspect" "f474ba2f8fd47ea874549eb5909faf82c366d9cc288ff7f47e2c7958dd07bb58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f474ba2f8fd47ea874549eb5909faf82c366d9cc288ff7f47e2c7958dd07bb58", kill_on_drop: false }` [INFO] [stdout] f474ba2f8fd47ea874549eb5909faf82c366d9cc288ff7f47e2c7958dd07bb58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] d5b1f2a940e54eb4bad0d2ab54ad60cc22aaa6670f1946ededd78ed4cab1e377 [INFO] running `Command { std: "docker" "start" "-a" "d5b1f2a940e54eb4bad0d2ab54ad60cc22aaa6670f1946ededd78ed4cab1e377", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling mvdb v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 19.81s [INFO] running `Command { std: "docker" "inspect" "d5b1f2a940e54eb4bad0d2ab54ad60cc22aaa6670f1946ededd78ed4cab1e377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5b1f2a940e54eb4bad0d2ab54ad60cc22aaa6670f1946ededd78ed4cab1e377", kill_on_drop: false }` [INFO] [stdout] d5b1f2a940e54eb4bad0d2ab54ad60cc22aaa6670f1946ededd78ed4cab1e377 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 32a1be9d2299f79c114c2017e5cc26adf03a1dcc35549de61b16579ba00ef3ad [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" "32a1be9d2299f79c114c2017e5cc26adf03a1dcc35549de61b16579ba00ef3ad", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/mvdb-ec56eb90de02cd5a [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] [stderr] Doc-tests mvdb [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/mvdb.rs - mvdb::Mvdb::from_file_or_default_pretty (line 245) ... FAILED [INFO] [stdout] test src/mvdb.rs - mvdb::Mvdb::from_file_or_default (line 229) ... FAILED [INFO] [stdout] test src/lib.rs - (line 50) ... FAILED [INFO] [stdout] test src/mvdb.rs - mvdb::Mvdb::from_file (line 97) ... FAILED [INFO] [stdout] test src/mvdb.rs - mvdb::Mvdb::access (line 155) ... FAILED [INFO] [stdout] test src/mvdb.rs - mvdb::Mvdb::from_file_pretty (line 115) ... FAILED [INFO] [stdout] test src/mvdb.rs - mvdb::Mvdb::new (line 62) ... FAILED [INFO] [stdout] test src/mvdb.rs - mvdb::Mvdb::access_mut (line 174) ... FAILED [INFO] [stdout] test src/mvdb.rs - mvdb::Mvdb::new_pretty (line 80) ... FAILED [INFO] [stdout] test src/lib.rs - (line 61) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 or module `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 or module `Mvdb` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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] 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/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 or module `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 or module `Mvdb` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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] 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/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 (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 or module `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 or module `Mvdb` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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] 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::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::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 or module `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 or module `Mvdb` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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] 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 (line 62) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `DemoData` [INFO] [stdout] --> src/mvdb.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 3 | let data = DemoData::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `DemoData` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Mvdb` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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_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] ---- src/mvdb.rs - mvdb::Mvdb::new_pretty (line 80) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `DemoData` [INFO] [stdout] --> src/mvdb.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 3 | let data = DemoData::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `DemoData` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Mvdb` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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/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] [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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "32a1be9d2299f79c114c2017e5cc26adf03a1dcc35549de61b16579ba00ef3ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32a1be9d2299f79c114c2017e5cc26adf03a1dcc35549de61b16579ba00ef3ad", kill_on_drop: false }` [INFO] [stdout] 32a1be9d2299f79c114c2017e5cc26adf03a1dcc35549de61b16579ba00ef3ad