[INFO] fetching crate data_structures_SD 0.1.1... [INFO] testing data_structures_SD-0.1.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate data_structures_SD 0.1.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate data_structures_SD 0.1.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ed3569aa9da0af040e331425a4e46aa2c95efe8b999fd14fcdb7bc9173e30ff [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" "1ed3569aa9da0af040e331425a4e46aa2c95efe8b999fd14fcdb7bc9173e30ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ed3569aa9da0af040e331425a4e46aa2c95efe8b999fd14fcdb7bc9173e30ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ed3569aa9da0af040e331425a4e46aa2c95efe8b999fd14fcdb7bc9173e30ff", kill_on_drop: false }` [INFO] [stdout] 1ed3569aa9da0af040e331425a4e46aa2c95efe8b999fd14fcdb7bc9173e30ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 8d9926fd74f15f2c5f923c8721a02ccdcb8e8f7b5c7310d65aa5b4cd340cd893 [INFO] running `Command { std: "docker" "start" "-a" "8d9926fd74f15f2c5f923c8721a02ccdcb8e8f7b5c7310d65aa5b4cd340cd893", 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] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `data_structures_sd` [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)]` 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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "8d9926fd74f15f2c5f923c8721a02ccdcb8e8f7b5c7310d65aa5b4cd340cd893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d9926fd74f15f2c5f923c8721a02ccdcb8e8f7b5c7310d65aa5b4cd340cd893", kill_on_drop: false }` [INFO] [stdout] 8d9926fd74f15f2c5f923c8721a02ccdcb8e8f7b5c7310d65aa5b4cd340cd893 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1e02e8a348fd135770cdbb0079df8483f83869a82981822cd8b7b89ec7fe98c [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" "a1e02e8a348fd135770cdbb0079df8483f83869a82981822cd8b7b89ec7fe98c", 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] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `data_structures_sd` [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)]` 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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `data_structures_SD` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `data_structures_sd` [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)]` 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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "a1e02e8a348fd135770cdbb0079df8483f83869a82981822cd8b7b89ec7fe98c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1e02e8a348fd135770cdbb0079df8483f83869a82981822cd8b7b89ec7fe98c", kill_on_drop: false }` [INFO] [stdout] a1e02e8a348fd135770cdbb0079df8483f83869a82981822cd8b7b89ec7fe98c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", 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] c98c992c57568466373e57c89310a325b6cb4f1417db983fa77e1ecf2e400d31 [INFO] running `Command { std: "docker" "start" "-a" "c98c992c57568466373e57c89310a325b6cb4f1417db983fa77e1ecf2e400d31", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: crate `data_structures_SD` should have a snake case name [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] = help: convert the identifier to snake case: `data_structures_sd` [INFO] [stdout] [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)]` 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 3 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/data_structures_SD-8b55a9dee0de8ee5) [INFO] [stderr] Doc-tests data_structures_SD [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::set_data (line 330) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::new (line 274) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::get_data (line 353) ... 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::Datapair::get_data (line 348) ... 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 (line 36) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::new (line 281) ... 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_key (line 317) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::add_pair (line 50) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::set_key (line 299) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::change_data (line 86) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::set_key (line 294) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::clear (line 180) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Datapair::new (line 263) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::get_pair (line 131) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::change_data (line 80) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::get_data (line 163) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::get_data (line 153) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::get_data (line 158) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::change_key (line 109) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::new (line 12) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::new (line 17) ... 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 66) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::get_pair (line 126) ... FAILED [INFO] [stdout] test src/lists.rs - lists::dictionary::Dictionary::remove (line 71) ... 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] test src/lists.rs - lists::dictionary::Dictionary::change_key (line 103) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Datapair::set_data (line 330) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `d` in this scope [INFO] [stdout] --> src/lists.rs:331:1 [INFO] [stdout] | [INFO] [stdout] 3 | d:D // the new data [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write a `struct` literal [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_330_0() { SomeStruct { [INFO] [stdout] 3 | d:D // the new data [INFO] [stdout] 4 ~ }} _doctest_main_src_lists_rs_330_0() } [INFO] [stdout] | [INFO] [stdout] help: maybe you meant to write a path separator here [INFO] [stdout] | [INFO] [stdout] 3 | d::D // the new data [INFO] [stdout] | ~~ [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/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] | ^^^^^^^^ 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: 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::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] 3 | 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] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | 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::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] | ^^^^^^ help: use struct literal syntax instead: `String { vec: val }` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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] 3 | 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] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | 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::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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_348_0() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 3 | &D [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/lists.rs - lists::dictionary::Datapair::new (line 269) stdout ---- [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/lists.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 3 | Datapair [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] = help: or use `(...)` if you meant to specify fn arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to 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 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 (line 36) stdout ---- [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/lists.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_36_0() { [INFO] [stdout] | - while parsing this struct [INFO] [stdout] 3 | p: Datapair [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] = help: or use `(...)` if you meant to specify fn arguments [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p` in this scope [INFO] [stdout] --> src/lists.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 3 | p: Datapair [INFO] [stdout] | ^ expecting a type here because of type ascription [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write a `struct` literal [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_36_0() { SomeStruct { [INFO] [stdout] 3 | p: Datapair [INFO] [stdout] 4 ~ }} _doctest_main_src_lists_rs_36_0() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datapair` in this scope [INFO] [stdout] --> src/lists.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 3 | p: Datapair [INFO] [stdout] | ^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write a `struct` literal [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_36_0() { SomeStruct { [INFO] [stdout] 3 | p: Datapair [INFO] [stdout] 4 ~ }} _doctest_main_src_lists_rs_36_0() } [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[E0412]: cannot find type `D` in this scope [INFO] [stdout] --> src/lists.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 3 | p: Datapair [INFO] [stdout] | ^ expecting a type here because of type ascription [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write a `struct` literal [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_36_0() { SomeStruct { [INFO] [stdout] 3 | p: Datapair [INFO] [stdout] 4 ~ }} _doctest_main_src_lists_rs_36_0() } [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_36_0() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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::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] | ^^^^^^^^ 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: aborting due to 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::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] | ^^^^^^^^ 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: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_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] 3 | 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] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | 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::add_pair (line 50) stdout ---- [INFO] [stdout] error: expected `;`, found `d` [INFO] [stdout] --> src/lists.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 3 | k: String // the key [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | d: D // the data [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `k` in this scope [INFO] [stdout] --> src/lists.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 3 | k: String // the key [INFO] [stdout] | ^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d` in this scope [INFO] [stdout] --> src/lists.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 4 | d: D // the data [INFO] [stdout] | ^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D` in this scope [INFO] [stdout] --> src/lists.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_50_0() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 3 | k: String // the key [INFO] [stdout] 4 | d: D // the data [INFO] [stdout] | ^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lists.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 3 | k: String // the key [INFO] [stdout] | ^^^^^^^^^ expected `()`, found struct `String` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [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] 3 | 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] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | 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 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 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[E0425]: cannot find value `k` in this scope [INFO] [stdout] --> src/lists.rs:295:1 [INFO] [stdout] | [INFO] [stdout] 3 | k:String // new key [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write a `struct` literal [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_294_0() { SomeStruct { [INFO] [stdout] 3 | k:String // new key [INFO] [stdout] 4 ~ }} _doctest_main_src_lists_rs_294_0() } [INFO] [stdout] | [INFO] [stdout] help: maybe you meant to write a path separator here [INFO] [stdout] | [INFO] [stdout] 3 | k::String // new key [INFO] [stdout] | ~~ [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | Ok:String // new key [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lists.rs:295:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_294_0() { [INFO] [stdout] | - help: try adding a return type: `-> String` [INFO] [stdout] 3 | k:String // new key [INFO] [stdout] | ^^^^^^^^ expected `()`, found struct `String` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [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 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::new (line 263) stdout ---- [INFO] [stdout] error: expected `;`, found `d` [INFO] [stdout] --> src/lists.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 3 | k:String // the key [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | d:D // the data [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `k` in this scope [INFO] [stdout] --> src/lists.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 3 | k:String // the key [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: maybe you meant to write a path separator here [INFO] [stdout] | [INFO] [stdout] 3 | k::String // the key [INFO] [stdout] | ~~ [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | Ok:String // the key [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d` in this scope [INFO] [stdout] --> src/lists.rs:265:1 [INFO] [stdout] | [INFO] [stdout] 4 | d:D // the data [INFO] [stdout] | ^- help: maybe you meant to write a path separator here: `::` [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lists.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 3 | k:String // the key [INFO] [stdout] | ^^^^^^^^ expected `()`, found struct `String` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Dictionary::get_pair (line 131) stdout ---- [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/lists.rs:132:11 [INFO] [stdout] | [INFO] [stdout] 3 | &Dictonary [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] = help: or use `(...)` if you meant to specify fn arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Dictionary::change_data (line 80) stdout ---- [INFO] [stdout] error: expected `;`, found `d` [INFO] [stdout] --> src/lists.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 3 | k:String // the key [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | d:D // the new data [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `k` in this scope [INFO] [stdout] --> src/lists.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 3 | k:String // the key [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: maybe you meant to write a path separator here [INFO] [stdout] | [INFO] [stdout] 3 | k::String // the key [INFO] [stdout] | ~~ [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | Ok:String // the key [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d` in this scope [INFO] [stdout] --> src/lists.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 4 | d:D // the new data [INFO] [stdout] | ^- help: maybe you meant to write a path separator here: `::` [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lists.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 3 | k:String // the key [INFO] [stdout] | ^^^^^^^^ expected `()`, found struct `String` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [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 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 153) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `k` in this scope [INFO] [stdout] --> src/lists.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 3 | k:String // the key [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write a `struct` literal [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_153_0() { SomeStruct { [INFO] [stdout] 3 | k:String // the key [INFO] [stdout] 4 ~ }} _doctest_main_src_lists_rs_153_0() } [INFO] [stdout] | [INFO] [stdout] help: maybe you meant to write a path separator here [INFO] [stdout] | [INFO] [stdout] 3 | k::String // the key [INFO] [stdout] | ~~ [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | Ok:String // the key [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lists.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_153_0() { [INFO] [stdout] | - help: try adding a return type: `-> String` [INFO] [stdout] 3 | k:String // the key [INFO] [stdout] | ^^^^^^^^ expected `()`, found struct `String` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_158_0() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 3 | &D [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/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 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::new (line 12) stdout ---- [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/lists.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 3 | Dictionary [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] = help: or use `(...)` if you meant to specify fn arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [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] [stderr] error: test failed, to rerun pass '--doc' [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: 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 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] | ^^^^^^^^^^ 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: aborting due to 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 66) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `k` in this scope [INFO] [stdout] --> src/lists.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 3 | k: String // the key [INFO] [stdout] | ^ expecting a type here because of type ascription [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write a `struct` literal [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_66_0() { SomeStruct { [INFO] [stdout] 3 | k: String // the key [INFO] [stdout] 4 ~ }} _doctest_main_src_lists_rs_66_0() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lists.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_66_0() { [INFO] [stdout] | - help: try adding a return type: `-> String` [INFO] [stdout] 3 | k: String // the key [INFO] [stdout] | ^^^^^^^^^ expected `()`, found struct `String` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lists.rs - lists::dictionary::Dictionary::get_pair (line 126) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `k` in this scope [INFO] [stdout] --> src/lists.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 3 | k:String // the key [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write a `struct` literal [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_126_0() { SomeStruct { [INFO] [stdout] 3 | k:String // the key [INFO] [stdout] 4 ~ }} _doctest_main_src_lists_rs_126_0() } [INFO] [stdout] | [INFO] [stdout] help: maybe you meant to write a path separator here [INFO] [stdout] | [INFO] [stdout] 3 | k::String // the key [INFO] [stdout] | ~~ [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | Ok:String // the key [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lists.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_126_0() { [INFO] [stdout] | - help: try adding a return type: `-> String` [INFO] [stdout] 3 | k:String // the key [INFO] [stdout] | ^^^^^^^^ expected `()`, found struct `String` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [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 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::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 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 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_key (line 103) stdout ---- [INFO] [stdout] error: expected `;`, found `nk` [INFO] [stdout] --> src/lists.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 3 | ok:String // the old key [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | nk:String // the new key [INFO] [stdout] | -- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ok` in this scope [INFO] [stdout] --> src/lists.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 3 | ok:String // the old key [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: maybe you meant to write a path separator here [INFO] [stdout] | [INFO] [stdout] 3 | ok::String // the old key [INFO] [stdout] | ~~ [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | Ok:String // the old key [INFO] [stdout] | ~~ [INFO] [stdout] notice the capitalization difference [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `nk` in this scope [INFO] [stdout] --> src/lists.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 4 | nk:String // the new key [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: maybe you meant to write a path separator here [INFO] [stdout] | [INFO] [stdout] 4 | nk::String // the new key [INFO] [stdout] | ~~ [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 | Ok:String // the new key [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lists.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 3 | ok:String // the old key [INFO] [stdout] | ^^^^^^^^^ expected `()`, found struct `String` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lists.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lists_rs_103_0() { [INFO] [stdout] | - help: try adding a return type: `-> String` [INFO] [stdout] 3 | ok:String // the old key [INFO] [stdout] 4 | nk:String // the new key [INFO] [stdout] | ^^^^^^^^^ expected `()`, found struct `String` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [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 3.52s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c98c992c57568466373e57c89310a325b6cb4f1417db983fa77e1ecf2e400d31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c98c992c57568466373e57c89310a325b6cb4f1417db983fa77e1ecf2e400d31", kill_on_drop: false }` [INFO] [stdout] c98c992c57568466373e57c89310a325b6cb4f1417db983fa77e1ecf2e400d31