[INFO] fetching crate netabase_macros 0.0.7... [INFO] testing netabase_macros-0.0.7 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate netabase_macros 0.0.7 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate netabase_macros 0.0.7 [INFO] finished tweaking crates.io crate netabase_macros 0.0.7 [INFO] tweaked toml for crates.io crate netabase_macros 0.0.7 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate netabase_macros 0.0.7 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate netabase_macros 0.0.7 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52f2be2d02fffd80af3ab49665330ca8736161bcb1092b239526829a6d11596d [INFO] running `Command { std: "docker" "start" "-a" "52f2be2d02fffd80af3ab49665330ca8736161bcb1092b239526829a6d11596d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52f2be2d02fffd80af3ab49665330ca8736161bcb1092b239526829a6d11596d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52f2be2d02fffd80af3ab49665330ca8736161bcb1092b239526829a6d11596d", kill_on_drop: false }` [INFO] [stdout] 52f2be2d02fffd80af3ab49665330ca8736161bcb1092b239526829a6d11596d [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69e220042839e8186be63301db60551110c71faca50ba1573d5e057f58ca8a32 [INFO] running `Command { std: "docker" "start" "-a" "69e220042839e8186be63301db60551110c71faca50ba1573d5e057f58ca8a32", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.30 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling const-str v0.4.3 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling camino v1.2.1 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling toml_writer v1.0.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling cc v1.2.47 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling uniffi_core v0.30.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling match-lookup v0.1.1 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling base256emoji v1.0.2 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling uniffi_internal_macros v0.30.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling data-encoding-macro v0.1.18 [INFO] [stderr] Compiling multibase v0.9.2 [INFO] [stderr] Compiling uniffi_pipeline v0.30.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling uniffi_meta v0.30.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling libp2p-identity v0.2.12 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling futures-bounded v0.2.4 [INFO] [stderr] Compiling quick-protobuf-codec v0.3.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling uniffi_macros v0.30.0 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling uniffi v0.30.0 [INFO] [stderr] Compiling libp2p-core v0.43.1 [INFO] [stderr] Compiling libp2p-swarm v0.47.0 [INFO] [stderr] Compiling libp2p-allow-block-list v0.6.0 [INFO] [stderr] Compiling libp2p-connection-limits v0.6.0 [INFO] [stderr] Compiling libp2p-kad v0.48.0 [INFO] [stderr] Compiling libp2p v0.56.0 [INFO] [stderr] Compiling netabase_deps v0.0.7 [INFO] [stderr] Compiling netabase_macros v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: there exists a built-in attribute with the same name [INFO] [stdout] --> src/lib.rs:479:75 [INFO] [stdout] | [INFO] [stdout] 479 | #[proc_macro_derive(NetabaseModel, attributes(primary_key, secondary_key, link))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #151276 [INFO] [stdout] = note: `#[warn(ambiguous_derive_helpers)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.16s [INFO] running `Command { std: "docker" "inspect" "69e220042839e8186be63301db60551110c71faca50ba1573d5e057f58ca8a32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69e220042839e8186be63301db60551110c71faca50ba1573d5e057f58ca8a32", kill_on_drop: false }` [INFO] [stdout] 69e220042839e8186be63301db60551110c71faca50ba1573d5e057f58ca8a32 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33ad6d582fafb180cbb6f6d11f15a1d1ef3aa178b7ee01f428768d73ec9281ed [INFO] running `Command { std: "docker" "start" "-a" "33ad6d582fafb180cbb6f6d11f15a1d1ef3aa178b7ee01f428768d73ec9281ed", kill_on_drop: false }` [INFO] [stderr] Compiling netabase_macros v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: there exists a built-in attribute with the same name [INFO] [stdout] --> src/lib.rs:479:75 [INFO] [stdout] | [INFO] [stdout] 479 | #[proc_macro_derive(NetabaseModel, attributes(primary_key, secondary_key, link))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #151276 [INFO] [stdout] = note: `#[warn(ambiguous_derive_helpers)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: there exists a built-in attribute with the same name [INFO] [stdout] --> src/lib.rs:479:75 [INFO] [stdout] | [INFO] [stdout] 479 | #[proc_macro_derive(NetabaseModel, attributes(primary_key, secondary_key, link))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #151276 [INFO] [stdout] = note: `#[warn(ambiguous_derive_helpers)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.07s [INFO] running `Command { std: "docker" "inspect" "33ad6d582fafb180cbb6f6d11f15a1d1ef3aa178b7ee01f428768d73ec9281ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33ad6d582fafb180cbb6f6d11f15a1d1ef3aa178b7ee01f428768d73ec9281ed", kill_on_drop: false }` [INFO] [stdout] 33ad6d582fafb180cbb6f6d11f15a1d1ef3aa178b7ee01f428768d73ec9281ed [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7b156cf5f578ccac4ab71bf06a8707456b780c5f5f68c9859d5cb8f0daed9a3c [INFO] running `Command { std: "docker" "start" "-a" "7b156cf5f578ccac4ab71bf06a8707456b780c5f5f68c9859d5cb8f0daed9a3c", kill_on_drop: false }` [INFO] [stderr] warning: there exists a built-in attribute with the same name [INFO] [stderr] --> src/lib.rs:479:75 [INFO] [stderr] | [INFO] [stderr] 479 | #[proc_macro_derive(NetabaseModel, attributes(primary_key, secondary_key, link))] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #151276 [INFO] [stderr] = note: `#[warn(ambiguous_derive_helpers)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `netabase_macros` (lib) generated 1 warning [INFO] [stderr] warning: `netabase_macros` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/netabase_macros-3a2b462c80e2cac5) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test generators::type_utils::tests::test_get_type_width_primitives ... ok [INFO] [stdout] test generators::type_utils::tests::test_calculate_fixed_width ... ok [INFO] [stdout] test generators::type_utils::tests::test_is_borrowable_type ... ok [INFO] [stdout] test generators::type_utils::tests::test_map_option_string_to_borrowed ... ok [INFO] [stdout] test generators::type_utils::tests::test_primitive_unchanged ... ok [INFO] [stdout] test generators::type_utils::tests::test_is_copy_type ... ok [INFO] [stdout] test generators::type_utils::tests::test_get_type_width_variable ... ok [INFO] [stdout] test generators::type_utils::tests::test_map_vec_u8_to_borrowed ... ok [INFO] [stdout] test generators::type_utils::tests::test_get_type_width_tuple ... ok [INFO] [stdout] test generators::table_definitions::tests::test_to_snake_case ... ok [INFO] [stdout] test generators::type_utils::tests::test_get_type_width_array ... ok [INFO] [stdout] test generators::type_utils::tests::test_map_string_to_borrowed ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Doc-tests netabase_macros [INFO] [stdout] [INFO] [stdout] running 36 tests [INFO] [stdout] test src/generators/type_utils.rs - generators::type_utils::calculate_fixed_width (line 24) - compile ... ok [INFO] [stdout] test src/lib.rs - netabase_definition_module (line 810) ... FAILED [INFO] [stdout] test src/lib.rs - netabase_definition_module (line 864) - compile ... FAILED [INFO] [stdout] test src/lib.rs - netabase_definition_module (line 732) ... FAILED [INFO] [stdout] test src/generators/table_definitions.rs - generators::table_definitions::generate_tables_struct (line 11) - compile ... FAILED [INFO] [stdout] test src/lib.rs - netabase_definition_module (line 827) ... ok [INFO] [stdout] test src/lib.rs - netabase_definition_module (line 788) ... FAILED [INFO] [stdout] test src/generators/module_definition.rs - generators::module_definition::def_gen::generate_as_ref_borrow_impls (line 347) - compile ... FAILED [INFO] [stdout] test src/lib.rs - netabase_definition_module (line 900) ... FAILED [INFO] [stdout] test src/lib.rs - netabase_definition_module (line 765) ... ok [INFO] [stdout] test src/lib.rs - netabase_discriminant_derive (line 552) ... FAILED [INFO] [stdout] test src/lib.rs - netabase_definition_module (line 687) ... FAILED [INFO] [stdout] test src/generators/type_utils.rs - generators::type_utils::is_borrowable_type (line 285) ... ok [INFO] [stdout] test src/generators/type_utils.rs - generators::type_utils::get_type_width (line 68) ... ok [INFO] [stdout] test src/lib.rs - netabase (line 520) ... FAILED [INFO] [stdout] test src/generators/type_utils.rs - generators::type_utils::map_to_borrowed_type (line 174) ... ok [INFO] [stdout] test src/lib.rs - netabase_definition_module (line 752) ... ok [INFO] [stdout] test src/lib.rs - netabase_model_derive (line 130) ... FAILED [INFO] [stdout] test src/lib.rs - netabase_model_derive (line 103) ... FAILED [INFO] [stdout] test src/lib.rs - netabase_model_derive (line 113) - compile ... FAILED [INFO] [stdout] test src/lib.rs - netabase_model_derive (line 198) ... FAILED [INFO] [stdout] test src/lib.rs - netabase_definition_module (line 706) ... FAILED [INFO] [stdout] test src/lib.rs - netabase_model_derive (line 171) ... FAILED [INFO] [stdout] test src/lib.rs - streams (line 1174) ... FAILED [INFO] [stdout] test src/lib.rs - netabase_model_derive (line 148) ... FAILED [INFO] [stdout] test src/lib.rs - netabase_model_derive (line 46) ... FAILED [INFO] [stdout] test src/lib.rs - netabase_model_derive (line 271) ... ok [INFO] [stdout] test src/lib.rs - netabase_model_derive (line 225) ... FAILED [INFO] [stdout] test src/lib.rs - netabase_model_derive (line 89) ... FAILED [INFO] [stdout] test src/lib.rs - netabase_definition_module (line 875) - compile ... FAILED [INFO] [stdout] test src/lib.rs - netabase_definition_module (line 927) ... FAILED [INFO] [stdout] test src/lib.rs - netabase_model_derive (line 300) ... FAILED [INFO] [stdout] test src/lib.rs - netabase_model_derive (line 414) ... FAILED [INFO] [stdout] test src/lib.rs - netabase_model_derive (line 65) ... FAILED [INFO] [stdout] test src/lib.rs - netabase_model_derive (line 375) ... FAILED [INFO] [stdout] test src/lib.rs - netabase_model_derive (line 334) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - netabase_definition_module (line 810) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `netabase_store` in this scope [INFO] [stdout] --> src/lib.rs:811:5 [INFO] [stdout] | [INFO] [stdout] 811 | use netabase_store::traits::definition::NetabaseDefinitionTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_definition_module (line 864) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `netabase_store` in this scope [INFO] [stdout] --> src/lib.rs:865:5 [INFO] [stdout] | [INFO] [stdout] 865 | use netabase_store::databases::sled_store::SledStore; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `netabase_store` in this scope [INFO] [stdout] --> src/lib.rs:866:5 [INFO] [stdout] | [INFO] [stdout] 866 | use netabase_store::databases::redb_store::RedbStore; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_definition_module (line 732) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `User: Eq` is not satisfied [INFO] [stdout] --> src/lib.rs:744:10 [INFO] [stdout] | [INFO] [stdout] 739 | #[derive(Clone, Debug, PartialEq, Eq, bincode::Encode, bincode::Decode)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 744 | User(User), [INFO] [stdout] | ^^^^ the trait `Eq` is not implemented for `User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `std::cmp::AssertParamIsEq` [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/cmp.rs:380:0 [INFO] [stdout] help: consider annotating `User` with `#[derive(Eq)]` [INFO] [stdout] | [INFO] [stdout] 735 + #[derive(Eq)] [INFO] [stdout] 736 | struct User { id: u64, name: String } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Post: Eq` is not satisfied [INFO] [stdout] --> src/lib.rs:745:10 [INFO] [stdout] | [INFO] [stdout] 739 | #[derive(Clone, Debug, PartialEq, Eq, bincode::Encode, bincode::Decode)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 745 | Post(Post), [INFO] [stdout] | ^^^^ the trait `Eq` is not implemented for `Post` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `std::cmp::AssertParamIsEq` [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/cmp.rs:380:0 [INFO] [stdout] help: consider annotating `Post` with `#[derive(Eq)]` [INFO] [stdout] | [INFO] [stdout] 737 + #[derive(Eq)] [INFO] [stdout] 738 | struct Post { id: String, title: String } [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 E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generators/table_definitions.rs - generators::table_definitions::generate_tables_struct (line 11) stdout ---- [INFO] [stdout] error: expected identifier, found `{` [INFO] [stdout] --> src/generators/table_definitions.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct {Definition}Tables { [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_definition_module (line 788) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `redb` [INFO] [stdout] --> src/lib.rs:789:5 [INFO] [stdout] | [INFO] [stdout] 789 | use redb::{TableDefinition, MultimapTableDefinition}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `redb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `redb`, use `cargo add redb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generators/module_definition.rs - generators::module_definition::def_gen::generate_as_ref_borrow_impls (line 347) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `User` in this scope [INFO] [stdout] --> src/generators/module_definition.rs:348:26 [INFO] [stdout] | [INFO] [stdout] 348 | fn process_user>(user: T) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `user` in this scope [INFO] [stdout] --> src/generators/module_definition.rs:353:30 [INFO] [stdout] | [INFO] [stdout] 353 | let def = MyDefinition::User(user); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `MyDefinition` in this scope [INFO] [stdout] --> src/generators/module_definition.rs:353:11 [INFO] [stdout] | [INFO] [stdout] 353 | let def = MyDefinition::User(user); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MyDefinition` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/lib.rs - netabase_definition_module (line 900) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `BlogSchema: From` is not satisfied [INFO] [stdout] --> src/lib.rs:906:37 [INFO] [stdout] | [INFO] [stdout] 906 | let item: BlogSchema = user.clone().into(); [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `BlogSchema` [INFO] [stdout] --> src/lib.rs:902:18 [INFO] [stdout] | [INFO] [stdout] 902 | #[derive(Clone)] enum BlogSchema { User(User), Post(Post) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `User` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: TryFrom` is not satisfied [INFO] [stdout] --> src/lib.rs:911:23 [INFO] [stdout] | [INFO] [stdout] 911 | let user: User = item.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `User` [INFO] [stdout] --> src/lib.rs:901:18 [INFO] [stdout] | [INFO] [stdout] 901 | #[derive(Clone)] struct User { id: u64 } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: required for `BlogSchema` to implement `Into` [INFO] [stdout] = note: required for `User` to implement `TryFrom` [INFO] [stdout] = note: required for `BlogSchema` to implement `TryInto` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_discriminant_derive (line 552) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `netabase_store` in this scope [INFO] [stdout] --> src/lib.rs:554:5 [INFO] [stdout] | [INFO] [stdout] 554 | use netabase_store::traits::definition::NetabaseDiscriminant; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_definition_module (line 687) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:694:25 [INFO] [stdout] | [INFO] [stdout] 694 | pub struct Model1 { ... } [INFO] [stdout] | ------ ^^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:698:25 [INFO] [stdout] | [INFO] [stdout] 698 | pub struct Model2 { ... } [INFO] [stdout] | ------ ^^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] error: expected unsuffixed literal, found `...` [INFO] [stdout] --> src/lib.rs:692:29 [INFO] [stdout] | [INFO] [stdout] 692 | #[derive(NetabaseModel, ...)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: expected unsuffixed literal, found `...` [INFO] [stdout] --> src/lib.rs:696:29 [INFO] [stdout] | [INFO] [stdout] 696 | #[derive(NetabaseModel, ...)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `netabase_definition_module` in this scope [INFO] [stdout] --> src/lib.rs:688:3 [INFO] [stdout] | [INFO] [stdout] 688 | #[netabase_definition_module(DefinitionName, KeysEnumName)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 687 + use netabase_macros::netabase_definition_module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `netabase` in this scope [INFO] [stdout] --> src/lib.rs:693:7 [INFO] [stdout] | [INFO] [stdout] 693 | #[netabase(DefinitionName)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 690 + use netabase_macros::netabase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `netabase` in this scope [INFO] [stdout] --> src/lib.rs:697:7 [INFO] [stdout] | [INFO] [stdout] 697 | #[netabase(DefinitionName)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 690 + use netabase_macros::netabase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase (line 520) stdout ---- [INFO] [stdout] error: expected unsuffixed literal, found `...` [INFO] [stdout] --> src/lib.rs:521:25 [INFO] [stdout] | [INFO] [stdout] 521 | #[derive(NetabaseModel, ...)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `netabase` in this scope [INFO] [stdout] --> src/lib.rs:522:3 [INFO] [stdout] | [INFO] [stdout] 522 | #[netabase(MyDefinition)] // Links this model to MyDefinition [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 520 + use netabase_macros::netabase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:524:7 [INFO] [stdout] | [INFO] [stdout] 524 | #[primary_key] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_model_derive (line 130) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | use netabase_store::{NetabaseModel, netabase}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:135:7 [INFO] [stdout] | [INFO] [stdout] 135 | #[primary_key] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `primary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_model_derive (line 103) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `tree` in this scope [INFO] [stdout] --> src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | tree.get_by_secondary_key( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `UserSecondaryKeys` in this scope [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | UserSecondaryKeys::Email(UserEmailSecondaryKey("user@example.com".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `UserSecondaryKeys` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UserEmailSecondaryKey` in this scope [INFO] [stdout] --> src/lib.rs:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | UserSecondaryKeys::Email(UserEmailSecondaryKey("user@example.com".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/lib.rs - netabase_model_derive (line 113) stdout ---- [INFO] [stdout] error: cannot find derive macro `NetabaseModel` in this scope [INFO] [stdout] --> src/lib.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(NetabaseModel, Clone, bincode::Encode, bincode::Decode)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 113 + use netabase_macros::NetabaseModel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `netabase` in this scope [INFO] [stdout] --> src/lib.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | #[netabase(MyDef)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 113 + use netabase_macros::netabase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 117 | #[primary_key] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `secondary_key` in this scope [INFO] [stdout] --> src/lib.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | #[secondary_key] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `secondary_key` in this scope [INFO] [stdout] --> src/lib.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | #[secondary_key] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_model_derive (line 198) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | use netabase_store::{NetabaseModel, netabase}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:203:7 [INFO] [stdout] | [INFO] [stdout] 203 | #[primary_key] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `primary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `secondary_key` in this scope [INFO] [stdout] --> src/lib.rs:205:7 [INFO] [stdout] | [INFO] [stdout] 205 | #[secondary_key] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `secondary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_definition_module (line 706) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:707:5 [INFO] [stdout] | [INFO] [stdout] 707 | use netabase_store::{NetabaseModel, netabase, netabase_definition_module}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:710:7 [INFO] [stdout] | [INFO] [stdout] 710 | use netabase_store::{NetabaseModel, netabase}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:714:11 [INFO] [stdout] | [INFO] [stdout] 714 | #[primary_key] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `primary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:722:11 [INFO] [stdout] | [INFO] [stdout] 722 | #[primary_key] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `primary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_model_derive (line 171) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | use netabase_store::{NetabaseModel, netabase}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:176:7 [INFO] [stdout] | [INFO] [stdout] 176 | #[primary_key] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `primary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `secondary_key` in this scope [INFO] [stdout] --> src/lib.rs:178:7 [INFO] [stdout] | [INFO] [stdout] 178 | #[secondary_key] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `secondary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `secondary_key` in this scope [INFO] [stdout] --> src/lib.rs:180:7 [INFO] [stdout] | [INFO] [stdout] 180 | #[secondary_key] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `secondary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - streams (line 1174) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:1175:5 [INFO] [stdout] | [INFO] [stdout] 1175 | use netabase_store::{netabase_definition_module, streams}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_model_derive (line 148) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | use netabase_store::{NetabaseModel, netabase}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:153:7 [INFO] [stdout] | [INFO] [stdout] 153 | #[primary_key] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `primary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `secondary_key` in this scope [INFO] [stdout] --> src/lib.rs:155:7 [INFO] [stdout] | [INFO] [stdout] 155 | #[secondary_key] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `secondary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `secondary_key` in this scope [INFO] [stdout] --> src/lib.rs:157:7 [INFO] [stdout] | [INFO] [stdout] 157 | #[secondary_key] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `secondary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_model_derive (line 46) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | use netabase_store::NetabaseModel; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `netabase` in this scope [INFO] [stdout] --> src/lib.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | #[netabase(MyDefinition)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 46 + use netabase_macros::netabase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[primary_key] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `primary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_model_derive (line 225) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `netabase_store` in this scope [INFO] [stdout] --> src/lib.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | use netabase_store::traits::model::NetabaseModelTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | use netabase_store::{NetabaseModel, netabase}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:231:7 [INFO] [stdout] | [INFO] [stdout] 231 | #[primary_key] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `primary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_model_derive (line 89) stdout ---- [INFO] [stdout] error: cannot find attribute `secondary_key` in this scope [INFO] [stdout] --> src/lib.rs:92:7 [INFO] [stdout] | [INFO] [stdout] 92 | #[secondary_key] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `secondary_key` in this scope [INFO] [stdout] --> src/lib.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | #[secondary_key] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_definition_module (line 875) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:881:7 [INFO] [stdout] | [INFO] [stdout] 881 | use netabase_store::{NetabaseModel, netabase}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `netabase_store` in this scope [INFO] [stdout] --> src/lib.rs:877:5 [INFO] [stdout] | [INFO] [stdout] 877 | use netabase_store::databases::sled_store::SledStore; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `netabase_store` in this scope [INFO] [stdout] --> src/lib.rs:878:5 [INFO] [stdout] | [INFO] [stdout] 878 | use netabase_store::traits::tree::NetabaseTreeSync; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:876:5 [INFO] [stdout] | [INFO] [stdout] 876 | use netabase_store::{NetabaseModel, netabase, netabase_definition_module}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:884:23 [INFO] [stdout] | [INFO] [stdout] 884 | pub struct User { #[primary_key] pub id: u64, pub name: String } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `primary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:887:23 [INFO] [stdout] | [INFO] [stdout] 887 | pub struct Post { #[primary_key] pub id: String, pub title: String } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `primary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `BlogSchema` in this scope [INFO] [stdout] --> src/lib.rs:890:25 [INFO] [stdout] | [INFO] [stdout] 890 | let store = SledStore::::new("./blog.db")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 875 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_875_0() -> core::result::Result<(), impl core::fmt::Debug> { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_definition_module (line 927) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:928:5 [INFO] [stdout] | [INFO] [stdout] 928 | use netabase_store::{netabase_definition_module, NetabaseModel, netabase}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `NetabaseModel` in this scope [INFO] [stdout] --> src/lib.rs:934:14 [INFO] [stdout] | [INFO] [stdout] 934 | #[derive(NetabaseModel, Clone, Debug, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 932 + use netabase_macros::NetabaseModel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `netabase` in this scope [INFO] [stdout] --> src/lib.rs:937:7 [INFO] [stdout] | [INFO] [stdout] 937 | #[netabase(BlogSchema)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 932 + use netabase_macros::netabase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:939:11 [INFO] [stdout] | [INFO] [stdout] 939 | #[primary_key] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `primary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `secondary_key` in this scope [INFO] [stdout] --> src/lib.rs:942:11 [INFO] [stdout] | [INFO] [stdout] 942 | #[secondary_key] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `secondary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `NetabaseModel` in this scope [INFO] [stdout] --> src/lib.rs:946:14 [INFO] [stdout] | [INFO] [stdout] 946 | #[derive(NetabaseModel, Clone, Debug, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 932 + use netabase_macros::NetabaseModel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `netabase` in this scope [INFO] [stdout] --> src/lib.rs:949:7 [INFO] [stdout] | [INFO] [stdout] 949 | #[netabase(BlogSchema)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 932 + use netabase_macros::netabase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:951:11 [INFO] [stdout] | [INFO] [stdout] 951 | #[primary_key] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `primary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `secondary_key` in this scope [INFO] [stdout] --> src/lib.rs:955:11 [INFO] [stdout] | [INFO] [stdout] 955 | #[secondary_key] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `secondary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `BlogSchema` in this scope [INFO] [stdout] --> src/lib.rs:963:25 [INFO] [stdout] | [INFO] [stdout] 963 | let store = SledStore::::new("./blog_db")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 927 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_927_0() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SledStore` in this scope [INFO] [stdout] --> src/lib.rs:963:13 [INFO] [stdout] | [INFO] [stdout] 963 | let store = SledStore::::new("./blog_db")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SledStore` [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_model_derive (line 300) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | use netabase_store::{NetabaseModel, netabase}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `netabase_store` in this scope [INFO] [stdout] --> src/lib.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | use netabase_store::databases::sled_store::SledStore; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `netabase_store` in this scope [INFO] [stdout] --> src/lib.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | use netabase_store::traits::tree::NetabaseTreeSync; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | use netabase_store::{NetabaseModel, netabase_definition_module}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:313:11 [INFO] [stdout] | [INFO] [stdout] 313 | #[primary_key] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `primary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `secondary_key` in this scope [INFO] [stdout] --> src/lib.rs:316:11 [INFO] [stdout] | [INFO] [stdout] 316 | #[secondary_key] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `secondary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MyDef` in this scope [INFO] [stdout] --> src/lib.rs:324:25 [INFO] [stdout] | [INFO] [stdout] 324 | let store = SledStore::::temp()?; [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: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_model_derive (line 414) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `models::AsUserEmail` [INFO] [stdout] --> src/lib.rs:434:5 [INFO] [stdout] | [INFO] [stdout] 434 | use models::AsUserEmail; // Generated trait [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `AsUserEmail` in `models` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | use netabase_store::{NetabaseModel, netabase}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `netabase_store` in this scope [INFO] [stdout] --> src/lib.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | use netabase_store::databases::sled_store::SledStore; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `netabase_store` in this scope [INFO] [stdout] --> src/lib.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | use netabase_store::traits::tree::NetabaseTreeSync; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 415 | use netabase_store::{NetabaseModel, netabase_definition_module}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:427:11 [INFO] [stdout] | [INFO] [stdout] 427 | #[primary_key] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `primary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `secondary_key` in this scope [INFO] [stdout] --> src/lib.rs:429:11 [INFO] [stdout] | [INFO] [stdout] 429 | #[secondary_key] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `secondary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MyDef` in this scope [INFO] [stdout] --> src/lib.rs:437:25 [INFO] [stdout] | [INFO] [stdout] 437 | let store = SledStore::::temp()?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_user_email_key` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/lib.rs:443:59 [INFO] [stdout] | [INFO] [stdout] 443 | let users = tree.get_by_secondary_key("alice@example.com".as_user_email_key())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `&'static str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_model_derive (line 65) stdout ---- [INFO] [stdout] error: cannot find derive macro `NetabaseModel` in this scope [INFO] [stdout] --> src/lib.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(NetabaseModel, Clone, Debug, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 65 + use netabase_macros::NetabaseModel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `netabase` in this scope [INFO] [stdout] --> src/lib.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | #[netabase(MyDefinition)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 65 + use netabase_macros::netabase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[primary_key] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `secondary_key` in this scope [INFO] [stdout] --> src/lib.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[secondary_key] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `secondary_key` in this scope [INFO] [stdout] --> src/lib.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | #[secondary_key] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_model_derive (line 375) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | use netabase_store::{NetabaseModel, netabase}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `netabase_store` in this scope [INFO] [stdout] --> src/lib.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | use netabase_store::databases::sled_store::SledStore; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `netabase_store` in this scope [INFO] [stdout] --> src/lib.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | use netabase_store::traits::tree::NetabaseTreeSync; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | use netabase_store::{NetabaseModel, netabase_definition_module}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:388:11 [INFO] [stdout] | [INFO] [stdout] 388 | #[primary_key] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `primary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `secondary_key` in this scope [INFO] [stdout] --> src/lib.rs:390:11 [INFO] [stdout] | [INFO] [stdout] 390 | #[secondary_key] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `secondary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MyDef` in this scope [INFO] [stdout] --> src/lib.rs:397:25 [INFO] [stdout] | [INFO] [stdout] 397 | let store = SledStore::::temp()?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `UserSecondaryKeys` in this scope [INFO] [stdout] --> src/lib.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 403 | UserSecondaryKeys::Email(UserEmailSecondaryKey("alice@example.com".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `UserSecondaryKeys` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UserEmailSecondaryKey` in this scope [INFO] [stdout] --> src/lib.rs:403:30 [INFO] [stdout] | [INFO] [stdout] 403 | UserSecondaryKeys::Email(UserEmailSecondaryKey("alice@example.com".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netabase_model_derive (line 334) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | use netabase_store::{NetabaseModel, netabase}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `netabase_store` in this scope [INFO] [stdout] --> src/lib.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | use netabase_store::databases::sled_store::SledStore; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `netabase_store` in this scope [INFO] [stdout] --> src/lib.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | use netabase_store::traits::tree::NetabaseTreeSync; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `netabase_store` in this scope [INFO] [stdout] --> src/lib.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | use netabase_store::traits::model::NetabaseModelTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `netabase_store` [INFO] [stdout] --> src/lib.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | use netabase_store::{NetabaseModel, netabase_definition_module}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `netabase_store` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `netabase_store`, use `cargo add netabase_store` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_key` in this scope [INFO] [stdout] --> src/lib.rs:348:11 [INFO] [stdout] | [INFO] [stdout] 348 | #[primary_key] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `primary_key` is an attribute that can be used by the derive macro `NetabaseModel`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MyDef` in this scope [INFO] [stdout] --> src/lib.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let store = SledStore::::temp()?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `primary_key` found for struct `models::User` in the current scope [INFO] [stdout] --> src/lib.rs:362:31 [INFO] [stdout] | [INFO] [stdout] 347 | pub struct User { [INFO] [stdout] | --------------- method `primary_key` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 362 | let retrieved = tree.get(user.primary_key())?; [INFO] [stdout] | ^^^^^^^^^^^ method not found in `models::User` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/generators/module_definition.rs - generators::module_definition::def_gen::generate_as_ref_borrow_impls (line 347) [INFO] [stdout] src/generators/table_definitions.rs - generators::table_definitions::generate_tables_struct (line 11) [INFO] [stdout] src/lib.rs - netabase (line 520) [INFO] [stdout] src/lib.rs - netabase_definition_module (line 687) [INFO] [stdout] src/lib.rs - netabase_definition_module (line 706) [INFO] [stdout] src/lib.rs - netabase_definition_module (line 732) [INFO] [stdout] src/lib.rs - netabase_definition_module (line 788) [INFO] [stdout] src/lib.rs - netabase_definition_module (line 810) [INFO] [stdout] src/lib.rs - netabase_definition_module (line 864) [INFO] [stdout] src/lib.rs - netabase_definition_module (line 875) [INFO] [stdout] src/lib.rs - netabase_definition_module (line 900) [INFO] [stdout] src/lib.rs - netabase_definition_module (line 927) [INFO] [stdout] src/lib.rs - netabase_discriminant_derive (line 552) [INFO] [stdout] src/lib.rs - netabase_model_derive (line 103) [INFO] [stdout] src/lib.rs - netabase_model_derive (line 113) [INFO] [stdout] src/lib.rs - netabase_model_derive (line 130) [INFO] [stdout] src/lib.rs - netabase_model_derive (line 148) [INFO] [stdout] src/lib.rs - netabase_model_derive (line 171) [INFO] [stdout] src/lib.rs - netabase_model_derive (line 198) [INFO] [stdout] src/lib.rs - netabase_model_derive (line 225) [INFO] [stdout] src/lib.rs - netabase_model_derive (line 300) [INFO] [stdout] src/lib.rs - netabase_model_derive (line 334) [INFO] [stdout] src/lib.rs - netabase_model_derive (line 375) [INFO] [stdout] src/lib.rs - netabase_model_derive (line 414) [INFO] [stdout] src/lib.rs - netabase_model_derive (line 46) [INFO] [stdout] src/lib.rs - netabase_model_derive (line 65) [INFO] [stdout] src/lib.rs - netabase_model_derive (line 89) [INFO] [stdout] src/lib.rs - streams (line 1174) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 28 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.81s [INFO] [stdout] [INFO] [stdout] all doctests ran in 2.60s; merged doctests compilation took 0.79s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7b156cf5f578ccac4ab71bf06a8707456b780c5f5f68c9859d5cb8f0daed9a3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b156cf5f578ccac4ab71bf06a8707456b780c5f5f68c9859d5cb8f0daed9a3c", kill_on_drop: false }` [INFO] [stdout] 7b156cf5f578ccac4ab71bf06a8707456b780c5f5f68c9859d5cb8f0daed9a3c