[INFO] fetching crate graph_safe_compare 0.2.0... [INFO] testing graph_safe_compare-0.2.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate graph_safe_compare 0.2.0 into /workspace/builds/worker-25/source [INFO] validating manifest of crates.io crate graph_safe_compare 0.2.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate graph_safe_compare 0.2.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate graph_safe_compare 0.2.0 [INFO] tweaked toml for crates.io crate graph_safe_compare 0.2.0 written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate crates.io crate graph_safe_compare 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19498b8f3192863f3ca81a367f0011508bd98663fdfdf8a4c465f5fffdd3e319 [INFO] running `Command { std: "docker" "start" "-a" "19498b8f3192863f3ca81a367f0011508bd98663fdfdf8a4c465f5fffdd3e319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19498b8f3192863f3ca81a367f0011508bd98663fdfdf8a4c465f5fffdd3e319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19498b8f3192863f3ca81a367f0011508bd98663fdfdf8a4c465f5fffdd3e319", kill_on_drop: false }` [INFO] [stdout] 19498b8f3192863f3ca81a367f0011508bd98663fdfdf8a4c465f5fffdd3e319 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9116ed103c44df81df9cc0ef2f9a92d79bc8fce80811fdf85a197d265aa20013 [INFO] running `Command { std: "docker" "start" "-a" "9116ed103c44df81df9cc0ef2f9a92d79bc8fce80811fdf85a197d265aa20013", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cfg_rust_features v0.1.0 [INFO] [stderr] Compiling wyhash v0.5.0 [INFO] [stderr] Compiling graph_safe_compare v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.91s [INFO] running `Command { std: "docker" "inspect" "9116ed103c44df81df9cc0ef2f9a92d79bc8fce80811fdf85a197d265aa20013", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9116ed103c44df81df9cc0ef2f9a92d79bc8fce80811fdf85a197d265aa20013", kill_on_drop: false }` [INFO] [stdout] 9116ed103c44df81df9cc0ef2f9a92d79bc8fce80811fdf85a197d265aa20013 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acca8a0b2eb809df8e19152f556091da9f38ba2ef3c258041b93b205a64e849e [INFO] running `Command { std: "docker" "start" "-a" "acca8a0b2eb809df8e19152f556091da9f38ba2ef3c258041b93b205a64e849e", kill_on_drop: false }` [INFO] [stderr] Compiling graph_safe_compare v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/wide.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | tests_utils::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/common/borrow_pair.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | tests_utils::node_types::borrow_pair::Inner, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/common/rc_pair.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | tests_utils::node_types::rc_pair::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum` [INFO] [stdout] --> tests/wide.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | Datum::Branch { width, .. } if index < width => Some(My(&self.0[*index])), [INFO] [stdout] | ^^^^^ use of undeclared type `Datum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum` [INFO] [stdout] --> tests/wide.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Datum::degenerate_chain(width, depth) [INFO] [stdout] | ^^^^^ use of undeclared type `Datum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/common/borrow_pair.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | tests_utils::node_types::borrow_pair::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/borrow_pair.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | tests_utils::eq_variations_tests!(My<'l>, &'l Datum<'l>, &, DatumAllocator::new); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Inner` [INFO] [stdout] --> tests/common/borrow_pair.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | (0, Inner::Pair(a, _)) => Some(My(a)), [INFO] [stdout] | ^^^^^ use of undeclared type `Inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Inner` [INFO] [stdout] --> tests/common/borrow_pair.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | (1, Inner::Pair(_, b)) => Some(My(b)), [INFO] [stdout] | ^^^^^ use of undeclared type `Inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum` in this scope [INFO] [stdout] --> tests/common/borrow_pair.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct My<'l>(pub &'l Datum<'l>); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum` in this scope [INFO] [stdout] --> tests/common/borrow_pair.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | type Id = RefId<&'l Datum<'l>>; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::borrow_pair::*` [INFO] [stdout] --> tests/borrow_pair.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use common::borrow_pair::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/rc_pair.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | tests_utils::eq_variations_tests!(My, Rc, identity, DatumAllocator::new); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum` in this scope [INFO] [stdout] --> tests/common/rc_pair.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct My(pub Rc); [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum` in this scope [INFO] [stdout] --> tests/common/rc_pair.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 18 | impl Node for My [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 21 | type Id = RefId>; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `common::rc_pair::*`, `std::convert::identity` [INFO] [stdout] --> tests/rc_pair.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | common::rc_pair::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | std::convert::identity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum` in this scope [INFO] [stdout] --> tests/wide.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | struct My<'l>(&'l Datum); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum` in this scope [INFO] [stdout] --> tests/wide.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'l> From> for &'l Datum [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum` in this scope [INFO] [stdout] --> tests/wide.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'l> Node for My<'l> [INFO] [stdout] | - help: you might be missing a type parameter: `, Datum` [INFO] [stdout] ... [INFO] [stdout] 28 | type Id = RefId<&'l Datum>; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum` in this scope [INFO] [stdout] --> tests/wide.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | fn new(depth: u32) -> Datum [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `great_width` in this scope [INFO] [stdout] --> tests/wide.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | let width = f64::from(great_width()).powf(1.0 / f64::from(depth)).round() as usize; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum` in this scope [INFO] [stdout] --> tests/wide.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | fn new_couple(depth: u32) -> (Datum, Datum) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum` in this scope [INFO] [stdout] --> tests/wide.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | fn new_couple(depth: u32) -> (Datum, Datum) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum` in this scope [INFO] [stdout] --> tests/wide.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | depth_tests!(Into::<&Datum>::into, assert_eq); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/diff_index.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | tests_utils::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> examples/derived_eq.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tests_utils::node_types::rc_pair::DatumAllocator; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/common/rc_pair.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | tests_utils::node_types::rc_pair::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/dyn_pair.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | tests_utils::node_types::dyn_pair::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/diff_edge.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | tests_utils::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graph_safe_compare` due to 12 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> examples/derived_eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | tests_utils::eq_shapes_tests!(identity, DatumAllocator::new, identity, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `graph_safe_compare` due to 5 previous errors; 1 warning emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graph_safe_compare` due to 8 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/diff_edge.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | tests_utils::eq_variations_tests!(My, Kind, identity, KindAllocator::new); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::identity` [INFO] [stdout] --> examples/derived_eq.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/custom.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | tests_utils::eq_variation_mod_body!( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/dyn_pair.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | tests_utils::eq_variations_tests!(My, DatumRef, identity, DatumAllocator::new); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/diff_index.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | tests_utils::eq_case!( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/custom.rs:417:1 [INFO] [stdout] | [INFO] [stdout] 417 | tests_utils::eq_shapes_tests!(identity, DatumAllocator::new, eq_variation::MyEq::new, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DowncastDatum` [INFO] [stdout] --> tests/dyn_pair.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | DowncastDatum::Datum1(rd1) => match (idx, &*rd1) { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DowncastDatum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/diff_index.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | tests_utils::eq_case!( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum1` [INFO] [stdout] --> tests/dyn_pair.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | (0, Datum1::Double(a, _)) => Some(My(a.clone())), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/diff_index.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | tests_utils::eq_case!( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum1` [INFO] [stdout] --> tests/dyn_pair.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | (1, Datum1::Double(_, b)) => Some(My(b.clone())), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/diff_index.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | tests_utils::eq_case!( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DowncastDatum` [INFO] [stdout] --> tests/dyn_pair.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | DowncastDatum::Datum2Int32(rd2) => match (idx, &*rd2) { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DowncastDatum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/diff_index.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | struct Index(tests_utils::node_types::diff_index::Index); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum` in this scope [INFO] [stdout] --> tests/common/rc_pair.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct My(pub Rc); [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/dyn_pair.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | (0, Datum2::Two(a, _)) => Some(My(a.clone())), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Inner` [INFO] [stdout] --> tests/diff_index.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | (Zero, Inner::Pair(a, _)) => Some(My(a.clone())), [INFO] [stdout] | ^^^^^ use of undeclared type `Inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/dyn_pair.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | (1, Datum2::Two(_, b)) => Some(My(b.clone())), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Inner` [INFO] [stdout] --> tests/diff_index.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | (One, Inner::Pair(_, b)) => Some(My(b.clone())), [INFO] [stdout] | ^^^^^ use of undeclared type `Inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/dyn_pair.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | (0, Datum2::Four(a, _, _, _)) => Some(My(a.clone())), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Leaf` [INFO] [stdout] --> tests/diff_index.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let leaf1 = Leaf::new_in(&DatumAllocator::new(1)); [INFO] [stdout] | ^^^^ use of undeclared type `Leaf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/dyn_pair.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | (1, Datum2::Four(_, b, _, _)) => Some(My(b.clone())), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum` in this scope [INFO] [stdout] --> tests/common/rc_pair.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 18 | impl Node for My [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 21 | type Id = RefId>; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DatumAllocator` [INFO] [stdout] --> tests/diff_index.rs:159:31 [INFO] [stdout] | [INFO] [stdout] 159 | let leaf1 = Leaf::new_in(&DatumAllocator::new(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DatumAllocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/dyn_pair.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | (2, Datum2::Four(_, _, c, _)) => Some(My(c.clone())), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Leaf` [INFO] [stdout] --> tests/diff_index.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | let leaf2 = Leaf::new_in(&DatumAllocator::new(1)); [INFO] [stdout] | ^^^^ use of undeclared type `Leaf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/dyn_pair.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | (3, Datum2::Four(_, _, _, d)) => Some(My(d.clone())), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DatumAllocator` [INFO] [stdout] --> tests/diff_index.rs:160:31 [INFO] [stdout] | [INFO] [stdout] 160 | let leaf2 = Leaf::new_in(&DatumAllocator::new(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DatumAllocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DowncastDatum` [INFO] [stdout] --> tests/dyn_pair.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | DowncastDatum::Datum2Char(rd2) => match (idx, &*rd2) { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DowncastDatum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum` in this scope [INFO] [stdout] --> tests/diff_index.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | struct My(Datum); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/dyn_pair.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | (0, Datum2::Two(a, _)) => Some(My(a.clone())), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/dyn_pair.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | (1, Datum2::Two(_, b)) => Some(My(b.clone())), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Inner` in this scope [INFO] [stdout] --> tests/diff_index.rs:126:41 [INFO] [stdout] | [INFO] [stdout] 123 | impl Node for My [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 126 | type Id = (Index, RefId]>>); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::convert::identity` [INFO] [stdout] --> tests/custom.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | core::convert::identity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/dyn_pair.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | (0, Datum2::Four(a, _, _, _)) => Some(My(a.clone())), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `identity` [INFO] [stdout] --> tests/diff_index.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | identity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/dyn_pair.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | (1, Datum2::Four(_, b, _, _)) => Some(My(b.clone())), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/custom.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/diff_index.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/diff_index.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/dyn_pair.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | (2, Datum2::Four(_, _, c, _)) => Some(My(c.clone())), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/dyn_pair.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | (3, Datum2::Four(_, _, _, d)) => Some(My(d.clone())), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DowncastDatum` [INFO] [stdout] --> tests/dyn_pair.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | (DowncastDatum::Datum1(_), DowncastDatum::Datum1(_)) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DowncastDatum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DowncastDatum` [INFO] [stdout] --> tests/dyn_pair.rs:74:40 [INFO] [stdout] | [INFO] [stdout] 74 | (DowncastDatum::Datum1(_), DowncastDatum::Datum1(_)) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DowncastDatum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DowncastDatum` [INFO] [stdout] --> tests/dyn_pair.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | | (DowncastDatum::Datum2Int32(_), DowncastDatum::Datum2Int32(_)) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DowncastDatum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DowncastDatum` [INFO] [stdout] --> tests/dyn_pair.rs:75:51 [INFO] [stdout] | [INFO] [stdout] 75 | | (DowncastDatum::Datum2Int32(_), DowncastDatum::Datum2Int32(_)) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DowncastDatum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DowncastDatum` [INFO] [stdout] --> tests/dyn_pair.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | | (DowncastDatum::Datum2Char(_), DowncastDatum::Datum2Char(_)) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DowncastDatum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DowncastDatum` [INFO] [stdout] --> tests/dyn_pair.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | | (DowncastDatum::Datum2Char(_), DowncastDatum::Datum2Char(_)) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DowncastDatum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DatumRef` in this scope [INFO] [stdout] --> tests/dyn_pair.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | struct My(DatumRef); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::identity` [INFO] [stdout] --> tests/dyn_pair.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | use std::convert::identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/diff_edge.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | (0, Datum2::Double(d2a, _)) => Some(My3(Rc::clone(d2a))), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/diff_edge.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | (1, Datum2::Double(_, d2b)) => Some(My3(Rc::clone(d2b))), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/diff_edge.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | (0, Datum2::Triple(d2a, _, _)) => Some(My3(Rc::clone(d2a))), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/diff_edge.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | (1, Datum2::Triple(_, d2b, _)) => Some(My3(Rc::clone(d2b))), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/diff_edge.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | (2, Datum2::Triple(_, _, d2c)) => Some(My3(Rc::clone(d2c))), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/diff_edge.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | (Datum2::Double(_, _), Datum2::Double(_, _)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/diff_edge.rs:156:36 [INFO] [stdout] | [INFO] [stdout] 156 | (Datum2::Double(_, _), Datum2::Double(_, _)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/diff_edge.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | | (Datum2::Triple(_, _, _), Datum2::Triple(_, _, _)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/diff_edge.rs:157:45 [INFO] [stdout] | [INFO] [stdout] 157 | | (Datum2::Triple(_, _, _), Datum2::Triple(_, _, _)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum4` [INFO] [stdout] --> tests/diff_edge.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | (0, Datum4::Link(d1)) => Some(My1(Rc::clone(d1))), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/diff_edge.rs:210:28 [INFO] [stdout] | [INFO] [stdout] 210 | let pair = Datum2::Double(a, b); [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum4` [INFO] [stdout] --> tests/diff_edge.rs:212:38 [INFO] [stdout] | [INFO] [stdout] 212 | *d3.0.borrow_mut() = Datum4::Link(Rc::new(d1)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum4` [INFO] [stdout] --> tests/diff_edge.rs:221:36 [INFO] [stdout] | [INFO] [stdout] 221 | let val = d3.0.replace(Datum4::End); [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum4` [INFO] [stdout] --> tests/diff_edge.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | Datum4::Link(d1) => match &d1.child { [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/diff_edge.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | Datum2::Double(a, b) => [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum2` [INFO] [stdout] --> tests/diff_edge.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 227 | Datum2::Triple(_, _, _) => unreachable!(), [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum4` [INFO] [stdout] --> tests/diff_edge.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | Datum4::End => None, [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum4` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `graph_safe_compare` due to 3 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datum4` [INFO] [stdout] --> tests/diff_edge.rs:254:49 [INFO] [stdout] | [INFO] [stdout] 254 | Kind::C(My3(Rc::new(Datum3(RefCell::new(Datum4::End))))) [INFO] [stdout] | ^^^^^^ use of undeclared type `Datum4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum1` in this scope [INFO] [stdout] --> tests/diff_edge.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct My1(Rc); [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum1` in this scope [INFO] [stdout] --> tests/diff_edge.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct My1(Rc); [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum2` in this scope [INFO] [stdout] --> tests/diff_edge.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct My2(Rc); [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum2` in this scope [INFO] [stdout] --> tests/diff_edge.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct My2(Rc); [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum3` in this scope [INFO] [stdout] --> tests/diff_edge.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct My3(Rc); [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum3` in this scope [INFO] [stdout] --> tests/diff_edge.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct My3(Rc); [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum1` in this scope [INFO] [stdout] --> tests/diff_edge.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum Id [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 51 | { [INFO] [stdout] 52 | Id1(RefId>), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum2` in this scope [INFO] [stdout] --> tests/diff_edge.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum Id [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 53 | Id2(RefId>), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum3` in this scope [INFO] [stdout] --> tests/diff_edge.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum Id [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 54 | Id3(RefId>), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum1` in this scope [INFO] [stdout] --> tests/diff_edge.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum Id [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 51 | { [INFO] [stdout] 52 | Id1(RefId>), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum2` in this scope [INFO] [stdout] --> tests/diff_edge.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum Id [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 53 | Id2(RefId>), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum3` in this scope [INFO] [stdout] --> tests/diff_edge.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum Id [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 54 | Id3(RefId>), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum1` in this scope [INFO] [stdout] --> tests/diff_edge.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 98 | impl My1 [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 99 | { [INFO] [stdout] 100 | fn id(&self) -> RefId> [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Datum1` in this scope [INFO] [stdout] --> tests/diff_edge.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | (0, Datum1 { child: Some(d2) }) => Some(My2(Rc::clone(d2))), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum2` in this scope [INFO] [stdout] --> tests/diff_edge.rs:127:30 [INFO] [stdout] | [INFO] [stdout] 125 | impl My2 [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 126 | { [INFO] [stdout] 127 | fn id(&self) -> RefId> [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum3` in this scope [INFO] [stdout] --> tests/diff_edge.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 162 | impl My3 [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 163 | { [INFO] [stdout] 164 | fn id(&self) -> RefId> [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Leaf` in this scope [INFO] [stdout] --> tests/diff_edge.rs:190:6 [INFO] [stdout] | [INFO] [stdout] 190 | impl Leaf for Kind [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Pair` in this scope [INFO] [stdout] --> tests/diff_edge.rs:200:6 [INFO] [stdout] | [INFO] [stdout] 200 | impl Pair for Kind [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Datum1` in this scope [INFO] [stdout] --> tests/diff_edge.rs:211:26 [INFO] [stdout] | [INFO] [stdout] 211 | let d1 = Datum1 { child: Some(Rc::new(pair)) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Allocator` in this scope [INFO] [stdout] --> tests/diff_edge.rs:250:6 [INFO] [stdout] | [INFO] [stdout] 250 | impl Allocator for KindAllocator [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::alloc::Allocator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::Allocator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Datum3` in this scope [INFO] [stdout] --> tests/diff_edge.rs:254:29 [INFO] [stdout] | [INFO] [stdout] 254 | Kind::C(My3(Rc::new(Datum3(RefCell::new(Datum4::End))))) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::identity` [INFO] [stdout] --> tests/diff_edge.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | use std::convert::identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/lazy.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | tests_utils::node_types::lazy::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `graph_safe_compare` due to 27 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 41 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/diff_index.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Hash, Eq, PartialEq, Ord, PartialOrd, Clone, Default)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] 46 | struct Index(tests_utils::node_types::diff_index::Index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graph_safe_compare` due to 42 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `graph_safe_compare` due to 16 previous errors; 3 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tests_utils` [INFO] [stdout] --> tests/lazy.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | tests_utils::eq_variations_tests!(My, Datum, identity, DatumAllocator::new); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Datum` in this scope [INFO] [stdout] --> tests/lazy.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | struct My(Datum); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Id` in this scope [INFO] [stdout] --> tests/lazy.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | type Id = Id; [INFO] [stdout] | ^^ help: you might have meant to use the associated type: `Self::Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::identity` [INFO] [stdout] --> tests/lazy.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | convert::identity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/custom.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Default)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] 71 | pub struct Map(BTreeMap<::Id, super::custom_rc::Rc>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graph_safe_compare` due to 7 previous errors; 2 warnings emitted [INFO] [stderr] error: could not compile `graph_safe_compare` due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "acca8a0b2eb809df8e19152f556091da9f38ba2ef3c258041b93b205a64e849e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acca8a0b2eb809df8e19152f556091da9f38ba2ef3c258041b93b205a64e849e", kill_on_drop: false }` [INFO] [stdout] acca8a0b2eb809df8e19152f556091da9f38ba2ef3c258041b93b205a64e849e