[INFO] fetching crate dbent-derive 0.1.0... [INFO] testing dbent-derive-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate dbent-derive 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate dbent-derive 0.1.0 [INFO] finished tweaking crates.io crate dbent-derive 0.1.0 [INFO] tweaked toml for crates.io crate dbent-derive 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dbent-derive 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.104) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.105 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37b1e37b909f956406ce9f1279e61a9730f84f8be6a3a455e5ba90d5355c2614 [INFO] running `Command { std: "docker" "start" "-a" "37b1e37b909f956406ce9f1279e61a9730f84f8be6a3a455e5ba90d5355c2614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37b1e37b909f956406ce9f1279e61a9730f84f8be6a3a455e5ba90d5355c2614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37b1e37b909f956406ce9f1279e61a9730f84f8be6a3a455e5ba90d5355c2614", kill_on_drop: false }` [INFO] [stdout] 37b1e37b909f956406ce9f1279e61a9730f84f8be6a3a455e5ba90d5355c2614 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] dab7d3581a442cb8143f857abd9a10bbc91b62fc1ef0d5a86a65f362d5bbc198 [INFO] running `Command { std: "docker" "start" "-a" "dab7d3581a442cb8143f857abd9a10bbc91b62fc1ef0d5a86a65f362d5bbc198", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling dbent-derive v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.13s [INFO] running `Command { std: "docker" "inspect" "dab7d3581a442cb8143f857abd9a10bbc91b62fc1ef0d5a86a65f362d5bbc198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dab7d3581a442cb8143f857abd9a10bbc91b62fc1ef0d5a86a65f362d5bbc198", kill_on_drop: false }` [INFO] [stdout] dab7d3581a442cb8143f857abd9a10bbc91b62fc1ef0d5a86a65f362d5bbc198 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 17cfcc0cc38f37156ff74033a71ea6d8f3ca4869e9bbade2dd815d98f5d926b0 [INFO] running `Command { std: "docker" "start" "-a" "17cfcc0cc38f37156ff74033a71ea6d8f3ca4869e9bbade2dd815d98f5d926b0", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling trybuild v1.0.105 [INFO] [stderr] Compiling dbent-derive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dbent` [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dbent::prelude::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `dbent` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dbent`, use `cargo add dbent` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Entity` in this scope [INFO] [stdout] --> src/tests.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Default, Entity)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use crate::Entity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Entity` in this scope [INFO] [stdout] --> src/tests.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone, Entity)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use crate::Entity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Entity` in this scope [INFO] [stdout] --> src/tests.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Entity)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use crate::Entity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Label` in this scope [INFO] [stdout] --> src/tests.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Label)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use crate::Label; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `label` in this scope [INFO] [stdout] --> src/tests.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | #[label] data: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Entity` in this scope [INFO] [stdout] --> src/tests.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive(Clone, Entity, Label)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use crate::Entity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Label` in this scope [INFO] [stdout] --> src/tests.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive(Clone, Entity, Label)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use crate::Label; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `label` in this scope [INFO] [stdout] --> src/tests.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | #[label] data: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Entity` in this scope [INFO] [stdout] --> src/tests.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Entity)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use crate::Entity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in this scope [INFO] [stdout] --> src/tests.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | id: Key, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Int` in this scope [INFO] [stdout] --> src/tests.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | id: Key, [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:448:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Into` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `syn::Lit::Int`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 16 - id: Key, [INFO] [stdout] 16 + id: Key, [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 16 | id: Key, [INFO] [stdout] | + [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | struct Model { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in this scope [INFO] [stdout] --> src/tests.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | id: Key, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Int` in this scope [INFO] [stdout] --> src/tests.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | id: Key, [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:448:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Into` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `syn::Lit::Int`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 32 - id: Key, [INFO] [stdout] 32 + id: Key, [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 32 | id: Key, [INFO] [stdout] | + [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 31 | struct Model1 { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in this scope [INFO] [stdout] --> src/tests.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | id: Key, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Int` in this scope [INFO] [stdout] --> src/tests.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | id: Key, [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:448:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Into` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `syn::Lit::Int`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 38 - id: Key, [INFO] [stdout] 38 + id: Key, [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 38 | id: Key, [INFO] [stdout] | + [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 37 | struct Model2 { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityInt` in this scope [INFO] [stdout] --> src/tests.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | model1: EntityInt, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in this scope [INFO] [stdout] --> src/tests.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | id: Key, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Int` in this scope [INFO] [stdout] --> src/tests.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | id: Key, [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:448:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Into` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `syn::Lit::Int`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 64 - id: Key, [INFO] [stdout] 64 + id: Key, [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 64 | id: Key, [INFO] [stdout] | + [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 63 | struct Model { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in this scope [INFO] [stdout] --> src/tests.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | id: Key, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Int` in this scope [INFO] [stdout] --> src/tests.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | id: Key, [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:448:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Into` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `syn::Lit::Int`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 78 - id: Key, [INFO] [stdout] 78 + id: Key, [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 78 | id: Key, [INFO] [stdout] | + [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 77 | struct Model1 { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in this scope [INFO] [stdout] --> src/tests.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | id: Key, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Int` in this scope [INFO] [stdout] --> src/tests.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | id: Key, [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:448:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Into` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `syn::Lit::Int`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 84 - id: Key, [INFO] [stdout] 84 + id: Key, [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 84 | id: Key, [INFO] [stdout] | + [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 83 | struct Model2 { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityLabelInt` in this scope [INFO] [stdout] --> src/tests.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | model1: EntityLabelInt, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/tests.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | let model = Model { id: Key::new(1), data: "Data".to_owned() }; [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `key` found for struct `tests::test_key::Model` in the current scope [INFO] [stdout] --> src/tests.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 15 | struct Model { [INFO] [stdout] | ------------ method `key` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 21 | assert_eq!(model.key()?, &Key::new(1)); [INFO] [stdout] | ^^^ method not found in `tests::test_key::Model` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `key`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `toml_edit::TableLike` [INFO] [stdout] candidate #2: `toml_write::TomlWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/tests.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(model.key()?, &Key::new(1)); [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `key` found for struct `tests::test_key::Model` in the current scope [INFO] [stdout] --> src/tests.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 15 | struct Model { [INFO] [stdout] | ------------ method `key` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 23 | assert!(model.key()?.is_none()); [INFO] [stdout] | ^^^ method not found in `tests::test_key::Model` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `key`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `toml_edit::TableLike` [INFO] [stdout] candidate #2: `toml_write::TomlWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/tests.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | let model1 = Model1 { id: Key::new(1), data: "Data".to_owned() }; [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/tests.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | let mut model2 = Model2 { id: Key::new(1), data: "Data".to_owned(), model1: model1.clone().into() }; [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `key` found for struct `tests::test_key_on_entity::Model1` in the current scope [INFO] [stdout] --> src/tests.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 31 | struct Model1 { [INFO] [stdout] | ------------- method `key` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 45 | assert_eq!(model1.key()?, model2.model1.key()?); [INFO] [stdout] | ^^^ method not found in `tests::test_key_on_entity::Model1` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `key`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `toml_edit::TableLike` [INFO] [stdout] candidate #2: `toml_write::TomlWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/tests.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | model2.model1 = Key::new(2).into_entity(); [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/tests.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(model2.model1.key()?, &Key::new(2)); [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Entity` [INFO] [stdout] --> src/tests.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | model2.model1 = Entity::None; [INFO] [stdout] | ^^^^^^ use of undeclared type `Entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/tests.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | let model = Model { id: Key::new(1), data: "Data".to_owned() }; [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `label` found for struct `tests::test_label::Model` in the current scope [INFO] [stdout] --> src/tests.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 63 | struct Model { [INFO] [stdout] | ------------ method `label` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 69 | assert_eq!(model.label()?, "Data"); [INFO] [stdout] | ^^^^^ method not found in `tests::test_label::Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/tests.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | let model1 = Model1 { id: Key::new(1), data: "Data".to_owned() }; [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/tests.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | let mut model2 = Model2 { id: Key::new(1), data: "Data".to_owned(), model1: model1.clone().into() }; [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `label` found for struct `tests::test_label_on_entity_label::Model1` in the current scope [INFO] [stdout] --> src/tests.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 77 | struct Model1 { [INFO] [stdout] | ------------- method `label` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 91 | assert_eq!(model1.label()?, model2.model1.label()?); [INFO] [stdout] | ^^^^^ method not found in `tests::test_label_on_entity_label::Model1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityLabel` [INFO] [stdout] --> src/tests.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | model2.model1 = EntityLabel::KeyLabel(Key::new(2), "Data2".to_owned()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityLabel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/tests.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | model2.model1 = EntityLabel::KeyLabel(Key::new(2), "Data2".to_owned()); [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityLabel` [INFO] [stdout] --> src/tests.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | model2.model1 = EntityLabel::None; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityLabel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dbent` [INFO] [stdout] --> src/tests.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | type Result = dbent::Result<()>; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `dbent` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dbent`, use `cargo add dbent` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dbent-derive` (lib test) due to 43 previous errors [INFO] running `Command { std: "docker" "inspect" "17cfcc0cc38f37156ff74033a71ea6d8f3ca4869e9bbade2dd815d98f5d926b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17cfcc0cc38f37156ff74033a71ea6d8f3ca4869e9bbade2dd815d98f5d926b0", kill_on_drop: false }` [INFO] [stdout] 17cfcc0cc38f37156ff74033a71ea6d8f3ca4869e9bbade2dd815d98f5d926b0