[INFO] fetching crate libcanopy 0.0.5... [INFO] testing libcanopy-0.0.5 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate libcanopy 0.0.5 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate libcanopy 0.0.5 [INFO] finished tweaking crates.io crate libcanopy 0.0.5 [INFO] tweaked toml for crates.io crate libcanopy 0.0.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libcanopy 0.0.5 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libcanopy 0.0.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f581e9b480c2e4f143b48a9c47cb6abaa3603763f92b4adbb2ad5d326c44c66 [INFO] running `Command { std: "docker" "start" "-a" "0f581e9b480c2e4f143b48a9c47cb6abaa3603763f92b4adbb2ad5d326c44c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f581e9b480c2e4f143b48a9c47cb6abaa3603763f92b4adbb2ad5d326c44c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f581e9b480c2e4f143b48a9c47cb6abaa3603763f92b4adbb2ad5d326c44c66", kill_on_drop: false }` [INFO] [stdout] 0f581e9b480c2e4f143b48a9c47cb6abaa3603763f92b4adbb2ad5d326c44c66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c89dc82099a66039e24ba61119cc244e981a62f85ab7c2e9905f257ac017718 [INFO] running `Command { std: "docker" "start" "-a" "0c89dc82099a66039e24ba61119cc244e981a62f85ab7c2e9905f257ac017718", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling branches v0.1.3 [INFO] [stderr] Compiling rclite v0.2.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling libcanopy v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.75s [INFO] running `Command { std: "docker" "inspect" "0c89dc82099a66039e24ba61119cc244e981a62f85ab7c2e9905f257ac017718", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c89dc82099a66039e24ba61119cc244e981a62f85ab7c2e9905f257ac017718", kill_on_drop: false }` [INFO] [stdout] 0c89dc82099a66039e24ba61119cc244e981a62f85ab7c2e9905f257ac017718 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 554f9bd1fb76b6181ee604d7bb7389a737dc21946162006151565012edd1887c [INFO] running `Command { std: "docker" "start" "-a" "554f9bd1fb76b6181ee604d7bb7389a737dc21946162006151565012edd1887c", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling libcanopy v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.94s [INFO] running `Command { std: "docker" "inspect" "554f9bd1fb76b6181ee604d7bb7389a737dc21946162006151565012edd1887c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "554f9bd1fb76b6181ee604d7bb7389a737dc21946162006151565012edd1887c", kill_on_drop: false }` [INFO] [stdout] 554f9bd1fb76b6181ee604d7bb7389a737dc21946162006151565012edd1887c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 65dd3bca0cb751847974d383fc71b69c11a4c8ab6bd7876f5dede99196b3b10a [INFO] running `Command { std: "docker" "start" "-a" "65dd3bca0cb751847974d383fc71b69c11a4c8ab6bd7876f5dede99196b3b10a", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libcanopy-c56e364e24274062) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test tests::iter_test ... ok [INFO] [stdout] test tests::node_insertion ... ok [INFO] [stdout] test tests::create_leaf_node ... ok [INFO] [stdout] test tests::downgrade_root_failure ... ok [INFO] [stdout] test tests::create_root_node ... ok [INFO] [stdout] test tests::display_node ... ok [INFO] [stdout] test tests::downgrade_failure ... ok [INFO] [stdout] test tests::pop_node ... ok [INFO] [stdout] test tests::insert_node ... ok [INFO] [stdout] test tests::non_root_expectation ... ok [INFO] [stdout] test tests::pop_nonexistent_node ... ok [INFO] [stdout] test tests::root_has_no_children ... ok [INFO] [stdout] test tests::upgrade_failure_for_parent ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests libcanopy [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/node.rs - node::Node::pop (line 537) ... FAILED [INFO] [stdout] test src/node.rs - node::Node (line 77) ... FAILED [INFO] [stdout] test src/node.rs - node::Node::insert (line 429) ... FAILED [INFO] [stdout] test src/node.rs - node::Node (line 88) ... FAILED [INFO] [stdout] test src/../README.md - (line 82) ... FAILED [INFO] [stdout] test src/node.rs - node::Node (line 83) ... FAILED [INFO] [stdout] test src/node.rs - node::Node::insert_node (line 452) ... FAILED [INFO] [stdout] test src/../README.md - (line 99) ... FAILED [INFO] [stdout] test src/node.rs - node::Node::downgrade (line 253) ... FAILED [INFO] [stdout] test src/node.rs - node::PrevNodeRef (line 66) ... FAILED [INFO] [stdout] test src/node.rs - node::Node::upgrade (line 206) ... FAILED [INFO] [stdout] test src/../README.md - (line 21) ... FAILED [INFO] [stdout] test src/node.rs - node::NodeRef (line 40) ... FAILED [INFO] [stdout] test src/../README.md - (line 58) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/node.rs - node::Node::pop (line 537) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:538:12 [INFO] [stdout] | [INFO] [stdout] 538 | let root = Node::parent(1); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 537 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:539:13 [INFO] [stdout] | [INFO] [stdout] 539 | let child = Node::insert(&root, 2)?; [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 537 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:540:19 [INFO] [stdout] | [INFO] [stdout] 540 | let grand_child = Node::insert(&child, 3); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 537 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:541:14 [INFO] [stdout] | [INFO] [stdout] 541 | let result = Node::pop(&child, &grand_child)?; [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 537 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/node.rs - node::Node (line 77) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | let node = Node::leaf(true, None); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 77 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `leaf` in this scope [INFO] [stdout] --> src/node.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | assert!(leaf.is_leaf()); [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: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/node.rs - node::Node::insert (line 429) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | let root = Node::parent(1); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 429 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:431:14 [INFO] [stdout] | [INFO] [stdout] 431 | let child1 = Node::insert(root, 2)?; [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 429 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | let _ = Node::insert(child1, 3)?; [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 429 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | let _ = Node::insert(child1, 4)?; [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 429 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/node.rs - node::Node (line 88) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | let node = Node::Parent { value : true, [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 88 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let _ = Node::insert(&node, false)?; [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 88 + use libcanopy::Node; [INFO] [stdout] | [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/../README.md - (line 82) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `NodeError` in this scope [INFO] [stdout] --> src/../README.md:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | fn main() -> Result<(), NodeError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 83 + use libcanopy::error::NodeError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/../README.md:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | Node::pop(&child2, &grand_child1)?; [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 83 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `child2` in this scope [INFO] [stdout] --> src/../README.md:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | Node::pop(&child2, &grand_child1)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `grand_child1` in this scope [INFO] [stdout] --> src/../README.md:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | Node::pop(&child2, &grand_child1)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/../README.md:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | Node::pop(&child2, &grand_child2)?; [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 83 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `child2` in this scope [INFO] [stdout] --> src/../README.md:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | Node::pop(&child2, &grand_child2)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `grand_child2` in this scope [INFO] [stdout] --> src/../README.md:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | Node::pop(&child2, &grand_child2)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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/node.rs - node::Node (line 83) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | let node = Node::parent(true); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 83 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `leaf` in this scope [INFO] [stdout] --> src/node.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | assert!(leaf.is_root()); [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: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/node.rs - node::Node::insert_node (line 452) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:453:12 [INFO] [stdout] | [INFO] [stdout] 453 | let root = Node::parent(1); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 452 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | let child = Node::leaf(2, None); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 452 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | let _ = Node::insert_node(&root, &child)?; [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 452 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 99) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `NodeError` in this scope [INFO] [stdout] --> src/../README.md:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | fn main() -> Result<(), NodeError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 101 + use libcanopy::error::NodeError; [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 E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/node.rs - node::Node::downgrade (line 253) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | let root = Node::parent(42); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 253 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | let child = Node::insert(&root, 69); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 253 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:257:10 [INFO] [stdout] | [INFO] [stdout] 257 | let gc = Node::insert(&child, 420); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 253 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:260:1 [INFO] [stdout] | [INFO] [stdout] 260 | Node::pop(&child, &gc)?; [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 253 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/node.rs - node::PrevNodeRef (line 66) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `NodeRef` in this scope [INFO] [stdout] --> src/node.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | let node: NodeRef = Node::leaf(42, None); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 66 + use libcanopy::NodeRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | let node: NodeRef = Node::leaf(42, None); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 66 + use libcanopy::Node; [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/node.rs - node::Node::upgrade (line 206) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:207:16 [INFO] [stdout] | [INFO] [stdout] 207 | let mut leaf = Node::leaf(42, None); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 206 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let child = Node::leaf(100, Some(leaf.clone())); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 206 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | Node::upgrade(&leaf, &child)?; [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 206 + use libcanopy::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 21) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `PrevNodeRef` in this scope [INFO] [stdout] --> src/../README.md:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | prev: Option>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 21 + use libcanopy::PrevNodeRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrevNodeRef` in this scope [INFO] [stdout] --> src/../README.md:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | prev: Option>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 21 + use libcanopy::PrevNodeRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeRef` in this scope [INFO] [stdout] --> src/../README.md:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | next: Vec>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 21 + use libcanopy::NodeRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/node.rs - node::NodeRef (line 40) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `NodeRef` in this scope [INFO] [stdout] --> src/node.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | let node: NodeRef = Node::leaf(42, None); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 40 + use libcanopy::NodeRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/node.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | let node: NodeRef = Node::leaf(42, None); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 40 + use libcanopy::Node; [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] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 21) [INFO] [stdout] src/../README.md - (line 82) [INFO] [stdout] src/../README.md - (line 99) [INFO] [stdout] src/node.rs - node::Node (line 77) [INFO] [stdout] src/node.rs - node::Node (line 83) [INFO] [stdout] src/node.rs - node::Node (line 88) [INFO] [stdout] src/node.rs - node::Node::downgrade (line 253) [INFO] [stdout] src/node.rs - node::Node::insert (line 429) [INFO] [stdout] src/node.rs - node::Node::insert_node (line 452) [INFO] [stdout] src/node.rs - node::Node::pop (line 537) [INFO] [stdout] src/node.rs - node::Node::upgrade (line 206) [INFO] [stdout] src/node.rs - node::NodeRef (line 40) [INFO] [stdout] src/node.rs - node::PrevNodeRef (line 66) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.45s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.60s; merged doctests compilation took 0.15s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "65dd3bca0cb751847974d383fc71b69c11a4c8ab6bd7876f5dede99196b3b10a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65dd3bca0cb751847974d383fc71b69c11a4c8ab6bd7876f5dede99196b3b10a", kill_on_drop: false }` [INFO] [stdout] 65dd3bca0cb751847974d383fc71b69c11a4c8ab6bd7876f5dede99196b3b10a