[INFO] fetching crate data_structures_SD 0.1.1... [INFO] testing data_structures_SD-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate data_structures_SD 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate data_structures_SD 0.1.1 [INFO] finished tweaking crates.io crate data_structures_SD 0.1.1 [INFO] tweaked toml for crates.io crate data_structures_SD 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate data_structures_SD 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae3cc384fa0919964c0d5aec12da67125cde2ac2bc1f0ff06edc1a1ec5b0080e [INFO] running `Command { std: "docker" "start" "-a" "ae3cc384fa0919964c0d5aec12da67125cde2ac2bc1f0ff06edc1a1ec5b0080e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae3cc384fa0919964c0d5aec12da67125cde2ac2bc1f0ff06edc1a1ec5b0080e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae3cc384fa0919964c0d5aec12da67125cde2ac2bc1f0ff06edc1a1ec5b0080e", kill_on_drop: false }` [INFO] [stdout] ae3cc384fa0919964c0d5aec12da67125cde2ac2bc1f0ff06edc1a1ec5b0080e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3db84db163de5bc2ee69703424c3e12f41a5b4ad40a0e3d699123202c6b90e3a [INFO] running `Command { std: "docker" "start" "-a" "3db84db163de5bc2ee69703424c3e12f41a5b4ad40a0e3d699123202c6b90e3a", kill_on_drop: false }` [INFO] [stderr] Compiling data_structures_SD v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: crate `data_structures_SD` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `data_structures_sd` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lists.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | &self.pairs[i].set_data(d); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 94 | let _ = &self.pairs[i].set_data(d); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lists.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | &self.pairs[i].set_key(nk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 117 | let _ = &self.pairs[i].set_key(nk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "3db84db163de5bc2ee69703424c3e12f41a5b4ad40a0e3d699123202c6b90e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3db84db163de5bc2ee69703424c3e12f41a5b4ad40a0e3d699123202c6b90e3a", kill_on_drop: false }` [INFO] [stdout] 3db84db163de5bc2ee69703424c3e12f41a5b4ad40a0e3d699123202c6b90e3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 235dec1910e8f6b1931b2d97ec9fbe6f6f9d6a6fd6181c481c396b4f0a30665c [INFO] running `Command { std: "docker" "start" "-a" "235dec1910e8f6b1931b2d97ec9fbe6f6f9d6a6fd6181c481c396b4f0a30665c", kill_on_drop: false }` [INFO] [stdout] warning: crate `data_structures_SD` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `data_structures_sd` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lists.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | &self.pairs[i].set_data(d); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 94 | let _ = &self.pairs[i].set_data(d); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lists.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | &self.pairs[i].set_key(nk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 117 | let _ = &self.pairs[i].set_key(nk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling data_structures_SD v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lists.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | &self.pairs[i].set_data(d); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 94 | let _ = &self.pairs[i].set_data(d); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lists.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | &self.pairs[i].set_key(nk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 117 | let _ = &self.pairs[i].set_key(nk); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "235dec1910e8f6b1931b2d97ec9fbe6f6f9d6a6fd6181c481c396b4f0a30665c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "235dec1910e8f6b1931b2d97ec9fbe6f6f9d6a6fd6181c481c396b4f0a30665c", kill_on_drop: false }` [INFO] [stdout] 235dec1910e8f6b1931b2d97ec9fbe6f6f9d6a6fd6181c481c396b4f0a30665c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 211eab1548c09f949fa1659159ab0d2585aa4085773f6755d14a8472a1c31324 [INFO] running `Command { std: "docker" "start" "-a" "211eab1548c09f949fa1659159ab0d2585aa4085773f6755d14a8472a1c31324", kill_on_drop: false }` [INFO] [stderr] warning: crate `data_structures_SD` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = help: convert the identifier to snake case: `data_structures_sd` [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/lists.rs:94:21 [INFO] [stderr] | [INFO] [stderr] 94 | &self.pairs[i].set_data(d); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 94 | let _ = &self.pairs[i].set_data(d); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/lists.rs:117:21 [INFO] [stderr] | [INFO] [stderr] 117 | &self.pairs[i].set_key(nk); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 117 | let _ = &self.pairs[i].set_key(nk); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `data_structures_SD` (lib) generated 3 warnings [INFO] [stderr] warning: `data_structures_SD` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/data_structures_SD-1147e822e58c8ef3) [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 data_structures_SD [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::add (line 36) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::new (line 263) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::new (line 269) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::add (line 41) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::add_pair (line 50) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::new (line 274) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::set_key (line 299) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::new (line 281) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::get_key (line 317) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::change_data (line 80) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::add_pair (line 56) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::get_data (line 348) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::get_key (line 312) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::set_data (line 335) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::change_key (line 103) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::get_data (line 353) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::get_pair (line 131) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::set_data (line 330) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::new (line 12) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::change_key (line 109) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::clear (line 180) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::change_data (line 86) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::get_data (line 163) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::set_key (line 294) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::get_data (line 153) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::new (line 17) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::get_data (line 158) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::remove (line 66) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::get_pair (line 136) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::new (line 24) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::remove (line 71) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::get_pair (line 126) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::size (line 189) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::size (line 194) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Dictionary::add (line 36) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `:` [INFO] [stdout] --> src/lists.rs:37:2 [INFO] [stdout] | [INFO] [stdout] 1 | p: Datapair [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Datapair::new (line 263) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `:` [INFO] [stdout] --> src/lists.rs:264:2 [INFO] [stdout] | [INFO] [stdout] 1 | k:String // the key [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Datapair::new (line 269) stdout ---- [INFO] [stdout] error: missing `fn` or `struct` for function or struct definition [INFO] [stdout] --> src/lists.rs:270:1 [INFO] [stdout] | [INFO] [stdout] 1 | Datapair [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Dictionary::add (line 41) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `dictionary` in this scope [INFO] [stdout] --> src/lists.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 3 | dictionary.add(String::from("Lola"),String::from("Sky")); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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/lists.rs - lists::dictionary::Dictionary::add_pair (line 50) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `:` [INFO] [stdout] --> src/lists.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 1 | k: String // the key [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Datapair::new (line 274) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Datapair` in this scope [INFO] [stdout] --> src/lists.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 3 | let datapair:Datapair = Datapair::new(String::from("key"),0_u8); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_structures_SD::lists::dictionary::Datapair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datapair` [INFO] [stdout] --> src/lists.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 3 | let datapair:Datapair = Datapair::new(String::from("key"),0_u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Datapair` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_structures_SD::lists::dictionary::Datapair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/lists.rs - lists::dictionary::Datapair::set_key (line 299) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Datapair` in this scope [INFO] [stdout] --> src/lists.rs:301:18 [INFO] [stdout] | [INFO] [stdout] 4 | let mut datapair:Datapair = Datapair::new(String::from("key"),0_u8); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_structures_SD::lists::dictionary::Datapair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datapair` [INFO] [stdout] --> src/lists.rs:301:33 [INFO] [stdout] | [INFO] [stdout] 4 | let mut datapair:Datapair = Datapair::new(String::from("key"),0_u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Datapair` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_structures_SD::lists::dictionary::Datapair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/lists.rs - lists::dictionary::Datapair::new (line 281) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datapair` [INFO] [stdout] --> src/lists.rs:282:16 [INFO] [stdout] | [INFO] [stdout] 3 | let datapair = Datapair::new(String::from("key"),0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Datapair` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_structures_SD::lists::dictionary::Datapair; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Datapair::get_key (line 317) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Datapair` in this scope [INFO] [stdout] --> src/lists.rs:319:18 [INFO] [stdout] | [INFO] [stdout] 4 | let mut datapair:Datapair = Datapair::new(String::from("key"),0_u8); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_structures_SD::lists::dictionary::Datapair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datapair` [INFO] [stdout] --> src/lists.rs:319:33 [INFO] [stdout] | [INFO] [stdout] 4 | let mut datapair:Datapair = Datapair::new(String::from("key"),0_u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Datapair` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_structures_SD::lists::dictionary::Datapair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/lists.rs - lists::dictionary::Dictionary::change_data (line 80) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `:` [INFO] [stdout] --> src/lists.rs:81:2 [INFO] [stdout] | [INFO] [stdout] 1 | k:String // the key [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Dictionary::add_pair (line 56) stdout ---- [INFO] [stdout] error: expected `;`, found `dictionary` [INFO] [stdout] --> src/lists.rs:57:89 [INFO] [stdout] | [INFO] [stdout] 3 | let pair: Datapair = Datapair::new(String::from("Marie"),String::from("Karate")) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | dictionary.add_pair(pair); [INFO] [stdout] | ---------- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datapair` in this scope [INFO] [stdout] --> src/lists.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 3 | let pair: Datapair = Datapair::new(String::from("Marie"),String::from("Karate")) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_structures_SD::lists::dictionary::Datapair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datapair` [INFO] [stdout] --> src/lists.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 3 | let pair: Datapair = Datapair::new(String::from("Marie"),String::from("Karate")) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Datapair` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_structures_SD::lists::dictionary::Datapair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dictionary` in this scope [INFO] [stdout] --> src/lists.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 4 | dictionary.add_pair(pair); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Datapair::get_data (line 348) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `D` in this scope [INFO] [stdout] --> src/lists.rs:349:2 [INFO] [stdout] | [INFO] [stdout] 3 | &D [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_348_0() { [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Datapair::get_key (line 312) stdout ---- [INFO] [stdout] error[E0423]: expected value, found struct `String` [INFO] [stdout] --> src/lists.rs:313:2 [INFO] [stdout] | [INFO] [stdout] 3 | &String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: `String` defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Datapair::set_data (line 335) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Datapair` in this scope [INFO] [stdout] --> src/lists.rs:337:18 [INFO] [stdout] | [INFO] [stdout] 4 | let mut datapair:Datapair = Datapair::new(String::from("key"),0_u8); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_structures_SD::lists::dictionary::Datapair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datapair` [INFO] [stdout] --> src/lists.rs:337:33 [INFO] [stdout] | [INFO] [stdout] 4 | let mut datapair:Datapair = Datapair::new(String::from("key"),0_u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Datapair` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_structures_SD::lists::dictionary::Datapair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/lists.rs - lists::dictionary::Dictionary::change_key (line 103) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `:` [INFO] [stdout] --> src/lists.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 1 | ok:String // the old key [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Datapair::get_data (line 353) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Datapair` in this scope [INFO] [stdout] --> src/lists.rs:355:18 [INFO] [stdout] | [INFO] [stdout] 4 | let mut datapair:Datapair = Datapair::new(String::from("key"),0_u8); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_structures_SD::lists::dictionary::Datapair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datapair` [INFO] [stdout] --> src/lists.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 4 | let mut datapair:Datapair = Datapair::new(String::from("key"),0_u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Datapair` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_structures_SD::lists::dictionary::Datapair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/lists.rs - lists::dictionary::Dictionary::get_pair (line 131) stdout ---- [INFO] [stdout] error: expected item, found `&` [INFO] [stdout] --> src/lists.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 1 | &Dictonary [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Datapair::set_data (line 330) stdout ---- [INFO] [stdout] error: path separator must be a double colon [INFO] [stdout] --> src/lists.rs:331:2 [INFO] [stdout] | [INFO] [stdout] 3 | d:D [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: use a double colon instead [INFO] [stdout] | [INFO] [stdout] 3 | d::D [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `d` [INFO] [stdout] --> src/lists.rs:331:1 [INFO] [stdout] | [INFO] [stdout] 3 | d:D [INFO] [stdout] | ^ use of unresolved module or unlinked crate `d` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `d`, use `cargo add d` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/lists.rs - lists::dictionary::Dictionary::new (line 12) stdout ---- [INFO] [stdout] error: missing `fn` or `struct` for function or struct definition [INFO] [stdout] --> src/lists.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 1 | Dictionary [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Dictionary::change_key (line 109) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `dictionary` in this scope [INFO] [stdout] --> src/lists.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 3 | dictionary.change_key(String::from("Anna"),String::from("Anna-Lena")); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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/lists.rs - lists::dictionary::Dictionary::clear (line 180) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `dictionary` in this scope [INFO] [stdout] --> src/lists.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 3 | dictionary.clear(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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/lists.rs - lists::dictionary::Dictionary::change_data (line 86) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `dictionary` in this scope [INFO] [stdout] --> src/lists.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 3 | dictionary.change_data(String::from("Maxime"),String::from("Swimming")); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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/lists.rs - lists::dictionary::Dictionary::get_data (line 163) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `dictionary` in this scope [INFO] [stdout] --> src/lists.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 3 | let hobby = dictionary.get_data(String::from("Anna")); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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/lists.rs - lists::dictionary::Datapair::set_key (line 294) stdout ---- [INFO] [stdout] error: path separator must be a double colon [INFO] [stdout] --> src/lists.rs:295:2 [INFO] [stdout] | [INFO] [stdout] 3 | k:String [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: use a double colon instead [INFO] [stdout] | [INFO] [stdout] 3 | k::String [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k` [INFO] [stdout] --> src/lists.rs:295:1 [INFO] [stdout] | [INFO] [stdout] 3 | k:String [INFO] [stdout] | ^ use of unresolved module or unlinked crate `k` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k`, use `cargo add k` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/lists.rs - lists::dictionary::Dictionary::get_data (line 153) stdout ---- [INFO] [stdout] error: path separator must be a double colon [INFO] [stdout] --> src/lists.rs:154:2 [INFO] [stdout] | [INFO] [stdout] 3 | k:String [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: use a double colon instead [INFO] [stdout] | [INFO] [stdout] 3 | k::String [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k` [INFO] [stdout] --> src/lists.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 3 | k:String [INFO] [stdout] | ^ use of unresolved module or unlinked crate `k` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k`, use `cargo add k` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/lists.rs - lists::dictionary::Dictionary::new (line 17) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Dictionary` in this scope [INFO] [stdout] --> src/lists.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 3 | let dictonary:Dictionary = Dictionary::new(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_structures_SD::lists::dictionary::Dictionary; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dictionary` [INFO] [stdout] --> src/lists.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 3 | let dictonary:Dictionary = Dictionary::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Dictionary` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_structures_SD::lists::dictionary::Dictionary; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/lists.rs - lists::dictionary::Dictionary::get_data (line 158) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `D` in this scope [INFO] [stdout] --> src/lists.rs:159:2 [INFO] [stdout] | [INFO] [stdout] 3 | &D [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_158_0() { [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Dictionary::remove (line 66) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `:` [INFO] [stdout] --> src/lists.rs:67:2 [INFO] [stdout] | [INFO] [stdout] 1 | k: String // the key [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Dictionary::get_pair (line 136) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Datapair` in this scope [INFO] [stdout] --> src/lists.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 3 | let pair:Datapair = dictionary.get_pair(String::from("Anna")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_structures_SD::lists::dictionary::Datapair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dictionary` in this scope [INFO] [stdout] --> src/lists.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 3 | let pair:Datapair = dictionary.get_pair(String::from("Anna")); [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/lists.rs - lists::dictionary::Dictionary::new (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dictionary` [INFO] [stdout] --> src/lists.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 3 | let dictionary = Dictionary::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Dictionary` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_structures_SD::lists::dictionary::Dictionary; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Dictionary::remove (line 71) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `dictionary` in this scope [INFO] [stdout] --> src/lists.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 3 | dictionary.remove(String::from("Lola")); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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/lists.rs - lists::dictionary::Dictionary::get_pair (line 126) stdout ---- [INFO] [stdout] error: path separator must be a double colon [INFO] [stdout] --> src/lists.rs:127:2 [INFO] [stdout] | [INFO] [stdout] 3 | k:String [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: use a double colon instead [INFO] [stdout] | [INFO] [stdout] 3 | k::String [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k` [INFO] [stdout] --> src/lists.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 3 | k:String [INFO] [stdout] | ^ use of unresolved module or unlinked crate `k` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k`, use `cargo add k` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/lists.rs - lists::dictionary::Dictionary::size (line 189) stdout ---- [INFO] [stdout] error[E0423]: expected value, found builtin type `usize` [INFO] [stdout] --> src/lists.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 3 | usize [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Dictionary::size (line 194) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `dictionary` in this scope [INFO] [stdout] --> src/lists.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 3 | let size:usize = dictionary.size(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lists.rs - lists::dictionary::Datapair::get_data (line 348) [INFO] [stdout] src/lists.rs - lists::dictionary::Datapair::get_data (line 353) [INFO] [stdout] src/lists.rs - lists::dictionary::Datapair::get_key (line 312) [INFO] [stdout] src/lists.rs - lists::dictionary::Datapair::get_key (line 317) [INFO] [stdout] src/lists.rs - lists::dictionary::Datapair::new (line 263) [INFO] [stdout] src/lists.rs - lists::dictionary::Datapair::new (line 269) [INFO] [stdout] src/lists.rs - lists::dictionary::Datapair::new (line 274) [INFO] [stdout] src/lists.rs - lists::dictionary::Datapair::new (line 281) [INFO] [stdout] src/lists.rs - lists::dictionary::Datapair::set_data (line 330) [INFO] [stdout] src/lists.rs - lists::dictionary::Datapair::set_data (line 335) [INFO] [stdout] src/lists.rs - lists::dictionary::Datapair::set_key (line 294) [INFO] [stdout] src/lists.rs - lists::dictionary::Datapair::set_key (line 299) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::add (line 36) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::add (line 41) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::add_pair (line 50) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::add_pair (line 56) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::change_data (line 80) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::change_data (line 86) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::change_key (line 103) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::change_key (line 109) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::clear (line 180) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::get_data (line 153) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::get_data (line 158) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::get_data (line 163) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::get_pair (line 126) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::get_pair (line 131) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::get_pair (line 136) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::new (line 12) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::new (line 17) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::new (line 24) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::remove (line 66) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::remove (line 71) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::size (line 189) [INFO] [stdout] src/lists.rs - lists::dictionary::Dictionary::size (line 194) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 34 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "211eab1548c09f949fa1659159ab0d2585aa4085773f6755d14a8472a1c31324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "211eab1548c09f949fa1659159ab0d2585aa4085773f6755d14a8472a1c31324", kill_on_drop: false }` [INFO] [stdout] 211eab1548c09f949fa1659159ab0d2585aa4085773f6755d14a8472a1c31324