[INFO] crate wither_derive 0.9.0-alpha.1 is already in cache [INFO] testing wither_derive-0.9.0-alpha.1 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate wither_derive 0.9.0-alpha.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate wither_derive 0.9.0-alpha.1 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate wither_derive 0.9.0-alpha.1 [INFO] finished tweaking crates.io crate wither_derive 0.9.0-alpha.1 [INFO] tweaked toml for crates.io crate wither_derive 0.9.0-alpha.1 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d94e06e89c8301f71af21f78e5f8822e8bbf1f3fc62464c5f46919cb3473028 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6d94e06e89c8301f71af21f78e5f8822e8bbf1f3fc62464c5f46919cb3473028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d94e06e89c8301f71af21f78e5f8822e8bbf1f3fc62464c5f46919cb3473028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d94e06e89c8301f71af21f78e5f8822e8bbf1f3fc62464c5f46919cb3473028", kill_on_drop: false }` [INFO] [stdout] 6d94e06e89c8301f71af21f78e5f8822e8bbf1f3fc62464c5f46919cb3473028 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 845b136df0e33fa96c264391d4614cfb8c25661c165cb0f4fc4e9373d3f56876 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "845b136df0e33fa96c264391d4614cfb8c25661c165cb0f4fc4e9373d3f56876", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling wither_derive v0.9.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.93s [INFO] running `Command { std: "docker" "inspect" "845b136df0e33fa96c264391d4614cfb8c25661c165cb0f4fc4e9373d3f56876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "845b136df0e33fa96c264391d4614cfb8c25661c165cb0f4fc4e9373d3f56876", kill_on_drop: false }` [INFO] [stdout] 845b136df0e33fa96c264391d4614cfb8c25661c165cb0f4fc4e9373d3f56876 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a4b8edb57a46786fcf856b8eb78f41204ed30eab03136c8652a0e405ac393b0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2a4b8edb57a46786fcf856b8eb78f41204ed30eab03136c8652a0e405ac393b0", kill_on_drop: false }` [INFO] [stderr] Compiling trybuild v1.0.31 [INFO] [stderr] Compiling wither_derive v0.9.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.40s [INFO] running `Command { std: "docker" "inspect" "2a4b8edb57a46786fcf856b8eb78f41204ed30eab03136c8652a0e405ac393b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a4b8edb57a46786fcf856b8eb78f41204ed30eab03136c8652a0e405ac393b0", kill_on_drop: false }` [INFO] [stdout] 2a4b8edb57a46786fcf856b8eb78f41204ed30eab03136c8652a0e405ac393b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1759629ac62826ce471edf0fdd8293251963876134c2ccfb5a5b0cc4e4d41915 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1759629ac62826ce471edf0fdd8293251963876134c2ccfb5a5b0cc4e4d41915", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/wither_derive-e858c96945e8032f [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stdout] test test::derive_tests ... test test::derive_tests has been running for over 60 seconds [INFO] [stderr] Compiling wither_derive v0.9.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling wither_derive-tests v0.0.0 (/opt/rustwide/target/tests/wither_derive) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test model-collection-name.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-collection-name.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::prelude::*; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot find derive macro `Model` in this scope [INFO] [stderr]  --> $DIR/model-collection-name.rs:4:34 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Serialize, Deserialize, Model, Default)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-collection-name.rs:5:3 [INFO] [stderr]  | [INFO] [stderr] 5 | #[model(collection_name="derivations")] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-collection-name.rs:8:20 [INFO] [stderr]  | [INFO] [stderr] 8 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr]  --> $DIR/model-collection-name.rs:8:5 [INFO] [stderr]  | [INFO] [stderr] 8 | pub id: Option, [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stderr]  | [INFO] [stderr]  = note: cannot satisfy `_: std::default::Default` [INFO] [stderr]  = note: required by `std::default::Default::default` [INFO] [stderr]  = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr]  [INFO] [stderr] error[E0599]: no associated item named `COLLECTION_NAME` found for struct `DerivedModel` in the current scope [INFO] [stderr]  --> $DIR/model-collection-name.rs:13:30 [INFO] [stderr]  | [INFO] [stderr] 6 | struct DerivedModel { [INFO] [stderr]  | ------------------- associated item `COLLECTION_NAME` not found for this [INFO] [stderr] ... [INFO] [stderr] 13 | assert_eq!(DerivedModel::COLLECTION_NAME, "derivations"); [INFO] [stderr]  | ^^^^^^^^^^^^^^^ associated item not found in `DerivedModel` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] test model-index.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-index.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::bson::doc; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0432]: unresolved import `wither` [INFO] [stderr]  --> $DIR/model-index.rs:3:5 [INFO] [stderr]  | [INFO] [stderr] 3 | use wither::Model; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-index.rs:5:43 [INFO] [stderr]  | [INFO] [stderr] 5 | #[derive(Default, Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-index.rs:6:3 [INFO] [stderr]  | [INFO] [stderr] 6 | #[model( [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error: cannot find macro `doc` in this scope [INFO] [stderr]  --> $DIR/model-index.rs:19:33 [INFO] [stderr]  | [INFO] [stderr] 19 | assert_eq!(indexes[0].keys, doc!{"id": 1}); [INFO] [stderr]  | ^^^ [INFO] [stderr]  [INFO] [stderr] error: cannot find macro `doc` in this scope [INFO] [stderr]  --> $DIR/model-index.rs:20:41 [INFO] [stderr]  | [INFO] [stderr] 20 | assert_eq!(indexes[0].options, Some(doc!{})); [INFO] [stderr]  | ^^^ [INFO] [stderr]  [INFO] [stderr] error: cannot find macro `doc` in this scope [INFO] [stderr]  --> $DIR/model-index.rs:22:33 [INFO] [stderr]  | [INFO] [stderr] 22 | assert_eq!(indexes[1].keys, doc!{"id": -1}); [INFO] [stderr]  | ^^^ [INFO] [stderr]  [INFO] [stderr] error: cannot find macro `doc` in this scope [INFO] [stderr]  --> $DIR/model-index.rs:23:41 [INFO] [stderr]  | [INFO] [stderr] 23 | assert_eq!(indexes[1].options, Some(doc!{"unique": true})); [INFO] [stderr]  | ^^^ [INFO] [stderr]  [INFO] [stderr] error: cannot find macro `doc` in this scope [INFO] [stderr]  --> $DIR/model-index.rs:25:33 [INFO] [stderr]  | [INFO] [stderr] 25 | assert_eq!(indexes[2].keys, doc!{"id.nested.field": 1}); [INFO] [stderr]  | ^^^ [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-index.rs:13:20 [INFO] [stderr]  | [INFO] [stderr] 13 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr]  --> $DIR/model-index.rs:13:5 [INFO] [stderr]  | [INFO] [stderr] 13 | pub id: Option, [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stderr]  | [INFO] [stderr]  = note: cannot satisfy `_: std::default::Default` [INFO] [stderr]  = note: required by `std::default::Default::default` [INFO] [stderr]  = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr]  [INFO] [stderr] error[E0599]: no function or associated item named `indexes` found for struct `DerivedModel` in the current scope [INFO] [stderr]  --> $DIR/model-index.rs:18:33 [INFO] [stderr]  | [INFO] [stderr] 11 | struct DerivedModel { [INFO] [stderr]  | ------------------- function or associated item `indexes` not found for this [INFO] [stderr] ... [INFO] [stderr] 18 | let indexes = DerivedModel::indexes(); [INFO] [stderr]  | ^^^^^^^ function or associated item not found in `DerivedModel` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] test model-read-concern.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-read-concern.rs:40:9 [INFO] [stderr]  | [INFO] [stderr] 40 | use wither::mongodb::options::ReadConcern; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0432]: unresolved import `wither` [INFO] [stderr]  --> $DIR/model-read-concern.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::Model; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-read-concern.rs:4:43 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Default, Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-read-concern.rs:5:3 [INFO] [stderr]  | [INFO] [stderr] 5 | #[model(read_concern="local")] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-read-concern.rs:11:43 [INFO] [stderr]  | [INFO] [stderr] 11 | #[derive(Default, Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-read-concern.rs:12:3 [INFO] [stderr]  | [INFO] [stderr] 12 | #[model(read_concern="majority")] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-read-concern.rs:18:43 [INFO] [stderr]  | [INFO] [stderr] 18 | #[derive(Default, Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-read-concern.rs:19:3 [INFO] [stderr]  | [INFO] [stderr] 19 | #[model(read_concern="linearizable")] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-read-concern.rs:25:43 [INFO] [stderr]  | [INFO] [stderr] 25 | #[derive(Default, Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-read-concern.rs:26:3 [INFO] [stderr]  | [INFO] [stderr] 26 | #[model(read_concern="available")] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-read-concern.rs:32:43 [INFO] [stderr]  | [INFO] [stderr] 32 | #[derive(Default, Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-read-concern.rs:33:3 [INFO] [stderr]  | [INFO] [stderr] 33 | #[model(read_concern(custom="custom-concern"))] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-read-concern.rs:8:20 [INFO] [stderr]  | [INFO] [stderr] 8 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-read-concern.rs:15:20 [INFO] [stderr]  | [INFO] [stderr] 15 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-read-concern.rs:22:20 [INFO] [stderr]  | [INFO] [stderr] 22 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-read-concern.rs:29:20 [INFO] [stderr]  | [INFO] [stderr] 29 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-read-concern.rs:36:20 [INFO] [stderr]  | [INFO] [stderr] 36 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ReadConcern` [INFO] [stderr]  --> $DIR/model-read-concern.rs:46:45 [INFO] [stderr]  | [INFO] [stderr] 46 | assert_eq!(Model0::read_concern(), Some(ReadConcern::local())); [INFO] [stderr]  | ^^^^^^^^^^^ use of undeclared type or module `ReadConcern` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ReadConcern` [INFO] [stderr]  --> $DIR/model-read-concern.rs:47:45 [INFO] [stderr]  | [INFO] [stderr] 47 | assert_eq!(Model1::read_concern(), Some(ReadConcern::majority())); [INFO] [stderr]  | ^^^^^^^^^^^ use of undeclared type or module `ReadConcern` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ReadConcern` [INFO] [stderr]  --> $DIR/model-read-concern.rs:48:45 [INFO] [stderr]  | [INFO] [stderr] 48 | assert_eq!(Model2::read_concern(), Some(ReadConcern::linearizable())); [INFO] [stderr]  | ^^^^^^^^^^^ use of undeclared type or module `ReadConcern` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ReadConcern` [INFO] [stderr]  --> $DIR/model-read-concern.rs:49:45 [INFO] [stderr]  | [INFO] [stderr] 49 | assert_eq!(Model3::read_concern(), Some(ReadConcern::available())); [INFO] [stderr]  | ^^^^^^^^^^^ use of undeclared type or module `ReadConcern` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ReadConcern` [INFO] [stderr]  --> $DIR/model-read-concern.rs:50:45 [INFO] [stderr]  | [INFO] [stderr] 50 | assert_eq!(Model4::read_concern(), Some(ReadConcern::custom(String::from("custom-concern")))); [INFO] [stderr]  | ^^^^^^^^^^^ use of undeclared type or module `ReadConcern` [INFO] [stderr]  [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr]  --> $DIR/model-read-concern.rs:8:5 [INFO] [stderr]  | [INFO] [stderr] 8 | pub id: Option, [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stderr]  | [INFO] [stderr]  = note: cannot satisfy `_: std::default::Default` [INFO] [stderr]  = note: required by `std::default::Default::default` [INFO] [stderr]  = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr]  [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr]  --> $DIR/model-read-concern.rs:15:5 [INFO] [stderr]  | [INFO] [stderr] 15 | pub id: Option, [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stderr]  | [INFO] [stderr]  = note: cannot satisfy `_: std::default::Default` [INFO] [stderr]  = note: required by `std::default::Default::default` [INFO] [stderr]  = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr]  [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr]  --> $DIR/model-read-concern.rs:22:5 [INFO] [stderr]  | [INFO] [stderr] 22 | pub id: Option, [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stderr]  | [INFO] [stderr]  = note: cannot satisfy `_: std::default::Default` [INFO] [stderr]  = note: required by `std::default::Default::default` [INFO] [stderr]  = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr]  [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr]  --> $DIR/model-read-concern.rs:29:5 [INFO] [stderr]  | [INFO] [stderr] 29 | pub id: Option, [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stderr]  | [INFO] [stderr]  = note: cannot satisfy `_: std::default::Default` [INFO] [stderr]  = note: required by `std::default::Default::default` [INFO] [stderr]  = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr]  [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr]  --> $DIR/model-read-concern.rs:36:5 [INFO] [stderr]  | [INFO] [stderr] 36 | pub id: Option, [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stderr]  | [INFO] [stderr]  = note: cannot satisfy `_: std::default::Default` [INFO] [stderr]  = note: required by `std::default::Default::default` [INFO] [stderr]  = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr]  [INFO] [stderr] error[E0599]: no function or associated item named `read_concern` found for struct `Model0` in the current scope [INFO] [stderr]  --> $DIR/model-read-concern.rs:46:24 [INFO] [stderr]  | [INFO] [stderr] 6 | struct Model0 { [INFO] [stderr]  | ------------- function or associated item `read_concern` not found for this [INFO] [stderr] ... [INFO] [stderr] 46 | assert_eq!(Model0::read_concern(), Some(ReadConcern::local())); [INFO] [stderr]  | ^^^^^^^^^^^^ function or associated item not found in `Model0` [INFO] [stderr]  [INFO] [stderr] error[E0599]: no function or associated item named `read_concern` found for struct `Model1` in the current scope [INFO] [stderr]  --> $DIR/model-read-concern.rs:47:24 [INFO] [stderr]  | [INFO] [stderr] 13 | struct Model1 { [INFO] [stderr]  | ------------- function or associated item `read_concern` not found for this [INFO] [stderr] ... [INFO] [stderr] 47 | assert_eq!(Model1::read_concern(), Some(ReadConcern::majority())); [INFO] [stderr]  | ^^^^^^^^^^^^ function or associated item not found in `Model1` [INFO] [stderr]  [INFO] [stderr] error[E0599]: no function or associated item named `read_concern` found for struct `Model2` in the current scope [INFO] [stderr]  --> $DIR/model-read-concern.rs:48:24 [INFO] [stderr]  | [INFO] [stderr] 20 | struct Model2 { [INFO] [stderr]  | ------------- function or associated item `read_concern` not found for this [INFO] [stderr] ... [INFO] [stderr] 48 | assert_eq!(Model2::read_concern(), Some(ReadConcern::linearizable())); [INFO] [stderr]  | ^^^^^^^^^^^^ function or associated item not found in `Model2` [INFO] [stderr]  [INFO] [stderr] error[E0599]: no function or associated item named `read_concern` found for struct `Model3` in the current scope [INFO] [stderr]  --> $DIR/model-read-concern.rs:49:24 [INFO] [stderr]  | [INFO] [stderr] 27 | struct Model3 { [INFO] [stderr]  | ------------- function or associated item `read_concern` not found for this [INFO] [stderr] ... [INFO] [stderr] 49 | assert_eq!(Model3::read_concern(), Some(ReadConcern::available())); [INFO] [stderr]  | ^^^^^^^^^^^^ function or associated item not found in `Model3` [INFO] [stderr]  [INFO] [stderr] error[E0599]: no function or associated item named `read_concern` found for struct `Model4` in the current scope [INFO] [stderr]  --> $DIR/model-read-concern.rs:50:24 [INFO] [stderr]  | [INFO] [stderr] 34 | struct Model4 { [INFO] [stderr]  | ------------- function or associated item `read_concern` not found for this [INFO] [stderr] ... [INFO] [stderr] 50 | assert_eq!(Model4::read_concern(), Some(ReadConcern::custom(String::from("custom-concern")))); [INFO] [stderr]  | ^^^^^^^^^^^^ function or associated item not found in `Model4` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] test model-selection-criteria.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-selection-criteria.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::prelude::*; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot find derive macro `Model` in this scope [INFO] [stderr]  --> $DIR/model-selection-criteria.rs:4:34 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Serialize, Deserialize, Model, Default)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-selection-criteria.rs:5:3 [INFO] [stderr]  | [INFO] [stderr] 5 | #[model(selection_criteria="DerivedModel::get_selection_criteria")] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-selection-criteria.rs:8:20 [INFO] [stderr]  | [INFO] [stderr] 8 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-selection-criteria.rs:13:57 [INFO] [stderr]  | [INFO] [stderr] 13 | assert_eq!(DerivedModel::selection_criteria(), Some(wither::mongodb::options::SelectionCriteria::ReadPreference( [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-selection-criteria.rs:14:9 [INFO] [stderr]  | [INFO] [stderr] 14 | wither::mongodb::options::ReadPreference::Primary [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-selection-criteria.rs:19:40 [INFO] [stderr]  | [INFO] [stderr] 19 | pub fn get_selection_criteria() -> wither::mongodb::options::SelectionCriteria { [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-selection-criteria.rs:20:9 [INFO] [stderr]  | [INFO] [stderr] 20 | wither::mongodb::options::SelectionCriteria::ReadPreference( [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-selection-criteria.rs:21:13 [INFO] [stderr]  | [INFO] [stderr] 21 | wither::mongodb::options::ReadPreference::Primary [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr]  --> $DIR/model-selection-criteria.rs:8:5 [INFO] [stderr]  | [INFO] [stderr] 8 | pub id: Option, [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stderr]  | [INFO] [stderr]  = note: cannot satisfy `_: std::default::Default` [INFO] [stderr]  = note: required by `std::default::Default::default` [INFO] [stderr]  = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr]  [INFO] [stderr] error[E0599]: no function or associated item named `selection_criteria` found for struct `DerivedModel` in the current scope [INFO] [stderr]  --> $DIR/model-selection-criteria.rs:13:30 [INFO] [stderr]  | [INFO] [stderr] 6 | struct DerivedModel { [INFO] [stderr]  | ------------------- function or associated item `selection_criteria` not found for this [INFO] [stderr] ... [INFO] [stderr] 13 | assert_eq!(DerivedModel::selection_criteria(), Some(wither::mongodb::options::SelectionCriteria::ReadPreference( [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr]  | | [INFO] [stderr]  | function or associated item not found in `DerivedModel` [INFO] [stderr]  | help: there is an associated function with a similar name: `get_selection_criteria` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] test model-skip-serde-checks.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `wither` [INFO] [stderr]  --> $DIR/model-skip-serde-checks.rs:3:5 [INFO] [stderr]  | [INFO] [stderr] 3 | use wither::Model; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-skip-serde-checks.rs:5:34 [INFO] [stderr]  | [INFO] [stderr] 5 | #[derive(Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-skip-serde-checks.rs:6:3 [INFO] [stderr]  | [INFO] [stderr] 6 | #[model(skip_serde_checks)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-skip-serde-checks.rs:8:20 [INFO] [stderr]  | [INFO] [stderr] 8 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] test model-write-concern.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-write-concern.rs:47:9 [INFO] [stderr]  | [INFO] [stderr] 47 | use wither::mongodb::options::WriteConcern; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-write-concern.rs:48:9 [INFO] [stderr]  | [INFO] [stderr] 48 | use wither::mongodb::options::Acknowledgment; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0432]: unresolved import `wither` [INFO] [stderr]  --> $DIR/model-write-concern.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::Model; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-write-concern.rs:4:43 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Default, Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-write-concern.rs:5:3 [INFO] [stderr]  | [INFO] [stderr] 5 | #[model(write_concern(w="majority", w_timeout=10, journal=true))] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-write-concern.rs:11:43 [INFO] [stderr]  | [INFO] [stderr] 11 | #[derive(Default, Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-write-concern.rs:12:3 [INFO] [stderr]  | [INFO] [stderr] 12 | #[model(write_concern(w(nodes=3), w_timeout=0, journal=false))] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-write-concern.rs:18:43 [INFO] [stderr]  | [INFO] [stderr] 18 | #[derive(Default, Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-write-concern.rs:19:3 [INFO] [stderr]  | [INFO] [stderr] 19 | #[model(write_concern(w(custom="custom")))] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-write-concern.rs:25:43 [INFO] [stderr]  | [INFO] [stderr] 25 | #[derive(Default, Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-write-concern.rs:26:3 [INFO] [stderr]  | [INFO] [stderr] 26 | #[model(write_concern(w_timeout=999))] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-write-concern.rs:32:43 [INFO] [stderr]  | [INFO] [stderr] 32 | #[derive(Default, Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-write-concern.rs:33:3 [INFO] [stderr]  | [INFO] [stderr] 33 | #[model(write_concern(journal=true))] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-write-concern.rs:39:43 [INFO] [stderr]  | [INFO] [stderr] 39 | #[derive(Default, Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-write-concern.rs:40:3 [INFO] [stderr]  | [INFO] [stderr] 40 | #[model(write_concern())] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-write-concern.rs:8:20 [INFO] [stderr]  | [INFO] [stderr] 8 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-write-concern.rs:15:20 [INFO] [stderr]  | [INFO] [stderr] 15 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-write-concern.rs:22:20 [INFO] [stderr]  | [INFO] [stderr] 22 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-write-concern.rs:29:20 [INFO] [stderr]  | [INFO] [stderr] 29 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-write-concern.rs:36:20 [INFO] [stderr]  | [INFO] [stderr] 36 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-write-concern.rs:43:20 [INFO] [stderr]  | [INFO] [stderr] 43 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WriteConcern` [INFO] [stderr]  --> $DIR/model-write-concern.rs:55:46 [INFO] [stderr]  | [INFO] [stderr] 55 | assert_eq!(Model0::write_concern(), Some(WriteConcern::builder() [INFO] [stderr]  | ^^^^^^^^^^^^ use of undeclared type or module `WriteConcern` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Acknowledgment` [INFO] [stderr]  --> $DIR/model-write-concern.rs:56:17 [INFO] [stderr]  | [INFO] [stderr] 56 | .w(Some(Acknowledgment::Majority)) [INFO] [stderr]  | ^^^^^^^^^^^^^^ use of undeclared type or module `Acknowledgment` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WriteConcern` [INFO] [stderr]  --> $DIR/model-write-concern.rs:60:46 [INFO] [stderr]  | [INFO] [stderr] 60 | assert_eq!(Model1::write_concern(), Some(WriteConcern::builder() [INFO] [stderr]  | ^^^^^^^^^^^^ use of undeclared type or module `WriteConcern` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Acknowledgment` [INFO] [stderr]  --> $DIR/model-write-concern.rs:61:17 [INFO] [stderr]  | [INFO] [stderr] 61 | .w(Some(Acknowledgment::Nodes(3))) [INFO] [stderr]  | ^^^^^^^^^^^^^^ use of undeclared type or module `Acknowledgment` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WriteConcern` [INFO] [stderr]  --> $DIR/model-write-concern.rs:65:46 [INFO] [stderr]  | [INFO] [stderr] 65 | assert_eq!(Model2::write_concern(), Some(WriteConcern::builder() [INFO] [stderr]  | ^^^^^^^^^^^^ use of undeclared type or module `WriteConcern` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Acknowledgment` [INFO] [stderr]  --> $DIR/model-write-concern.rs:66:17 [INFO] [stderr]  | [INFO] [stderr] 66 | .w(Some(Acknowledgment::Custom(String::from("custom")))) [INFO] [stderr]  | ^^^^^^^^^^^^^^ use of undeclared type or module `Acknowledgment` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WriteConcern` [INFO] [stderr]  --> $DIR/model-write-concern.rs:68:46 [INFO] [stderr]  | [INFO] [stderr] 68 | assert_eq!(Model3::write_concern(), Some(WriteConcern::builder() [INFO] [stderr]  | ^^^^^^^^^^^^ use of undeclared type or module `WriteConcern` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WriteConcern` [INFO] [stderr]  --> $DIR/model-write-concern.rs:71:46 [INFO] [stderr]  | [INFO] [stderr] 71 | assert_eq!(Model4::write_concern(), Some(WriteConcern::builder() [INFO] [stderr]  | ^^^^^^^^^^^^ use of undeclared type or module `WriteConcern` [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WriteConcern` [INFO] [stderr]  --> $DIR/model-write-concern.rs:73:46 [INFO] [stderr]  | [INFO] [stderr] 73 | assert_eq!(Model5::write_concern(), Some(WriteConcern::builder().build())); [INFO] [stderr]  | ^^^^^^^^^^^^ use of undeclared type or module `WriteConcern` [INFO] [stderr]  [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr]  --> $DIR/model-write-concern.rs:8:5 [INFO] [stderr]  | [INFO] [stderr] 8 | pub id: Option, [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stderr]  | [INFO] [stderr]  = note: cannot satisfy `_: std::default::Default` [INFO] [stderr]  = note: required by `std::default::Default::default` [INFO] [stderr]  = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr]  [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr]  --> $DIR/model-write-concern.rs:15:5 [INFO] [stderr]  | [INFO] [stderr] 15 | pub id: Option, [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stderr]  | [INFO] [stderr]  = note: cannot satisfy `_: std::default::Default` [INFO] [stderr]  = note: required by `std::default::Default::default` [INFO] [stderr]  = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr]  [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr]  --> $DIR/model-write-concern.rs:22:5 [INFO] [stderr]  | [INFO] [stderr] 22 | pub id: Option, [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stderr]  | [INFO] [stderr]  = note: cannot satisfy `_: std::default::Default` [INFO] [stderr]  = note: required by `std::default::Default::default` [INFO] [stderr]  = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr]  [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr]  --> $DIR/model-write-concern.rs:29:5 [INFO] [stderr]  | [INFO] [stderr] 29 | pub id: Option, [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stderr]  | [INFO] [stderr]  = note: cannot satisfy `_: std::default::Default` [INFO] [stderr]  = note: required by `std::default::Default::default` [INFO] [stderr]  = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr]  [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr]  --> $DIR/model-write-concern.rs:36:5 [INFO] [stderr]  | [INFO] [stderr] 36 | pub id: Option, [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stderr]  | [INFO] [stderr]  = note: cannot satisfy `_: std::default::Default` [INFO] [stderr]  = note: required by `std::default::Default::default` [INFO] [stderr]  = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr]  [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr]  --> $DIR/model-write-concern.rs:43:5 [INFO] [stderr]  | [INFO] [stderr] 43 | pub id: Option, [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stderr]  | [INFO] [stderr]  = note: cannot satisfy `_: std::default::Default` [INFO] [stderr]  = note: required by `std::default::Default::default` [INFO] [stderr]  = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr]  [INFO] [stderr] error[E0599]: no function or associated item named `write_concern` found for struct `Model0` in the current scope [INFO] [stderr]  --> $DIR/model-write-concern.rs:55:24 [INFO] [stderr]  | [INFO] [stderr] 6 | struct Model0 { [INFO] [stderr]  | ------------- function or associated item `write_concern` not found for this [INFO] [stderr] ... [INFO] [stderr] 55 | assert_eq!(Model0::write_concern(), Some(WriteConcern::builder() [INFO] [stderr]  | ^^^^^^^^^^^^^ function or associated item not found in `Model0` [INFO] [stderr]  [INFO] [stderr] error[E0599]: no function or associated item named `write_concern` found for struct `Model1` in the current scope [INFO] [stderr]  --> $DIR/model-write-concern.rs:60:24 [INFO] [stderr]  | [INFO] [stderr] 13 | struct Model1 { [INFO] [stderr]  | ------------- function or associated item `write_concern` not found for this [INFO] [stderr] ... [INFO] [stderr] 60 | assert_eq!(Model1::write_concern(), Some(WriteConcern::builder() [INFO] [stderr]  | ^^^^^^^^^^^^^ function or associated item not found in `Model1` [INFO] [stderr]  [INFO] [stderr] error[E0599]: no function or associated item named `write_concern` found for struct `Model2` in the current scope [INFO] [stderr]  --> $DIR/model-write-concern.rs:65:24 [INFO] [stderr]  | [INFO] [stderr] 20 | struct Model2 { [INFO] [stderr]  | ------------- function or associated item `write_concern` not found for this [INFO] [stderr] ... [INFO] [stderr] 65 | assert_eq!(Model2::write_concern(), Some(WriteConcern::builder() [INFO] [stderr]  | ^^^^^^^^^^^^^ function or associated item not found in `Model2` [INFO] [stderr]  [INFO] [stderr] error[E0599]: no function or associated item named `write_concern` found for struct `Model3` in the current scope [INFO] [stderr]  --> $DIR/model-write-concern.rs:68:24 [INFO] [stderr]  | [INFO] [stderr] 27 | struct Model3 { [INFO] [stderr]  | ------------- function or associated item `write_concern` not found for this [INFO] [stderr] ... [INFO] [stderr] 68 | assert_eq!(Model3::write_concern(), Some(WriteConcern::builder() [INFO] [stderr]  | ^^^^^^^^^^^^^ function or associated item not found in `Model3` [INFO] [stderr]  [INFO] [stderr] error[E0599]: no function or associated item named `write_concern` found for struct `Model4` in the current scope [INFO] [stderr]  --> $DIR/model-write-concern.rs:71:24 [INFO] [stderr]  | [INFO] [stderr] 34 | struct Model4 { [INFO] [stderr]  | ------------- function or associated item `write_concern` not found for this [INFO] [stderr] ... [INFO] [stderr] 71 | assert_eq!(Model4::write_concern(), Some(WriteConcern::builder() [INFO] [stderr]  | ^^^^^^^^^^^^^ function or associated item not found in `Model4` [INFO] [stderr]  [INFO] [stderr] error[E0599]: no function or associated item named `write_concern` found for struct `Model5` in the current scope [INFO] [stderr]  --> $DIR/model-write-concern.rs:73:24 [INFO] [stderr]  | [INFO] [stderr] 41 | struct Model5 { [INFO] [stderr]  | ------------- function or associated item `write_concern` not found for this [INFO] [stderr] ... [INFO] [stderr] 73 | assert_eq!(Model5::write_concern(), Some(WriteConcern::builder().build())); [INFO] [stderr]  | ^^^^^^^^^^^^^ function or associated item not found in `Model5` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] test field-id-incorrect-serde-rename-value.rs [should fail to compile] ... mismatch [INFO] [stderr]  [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: the serde `rename` attr for wither::Model ID fields should be `rename="_id"` [INFO] [stderr]  --> $DIR/field-id-incorrect-serde-rename-value.rs:6:13 [INFO] [stderr]  | [INFO] [stderr] 6 | #[serde(rename="_bad", skip_serializing_if="Option::is_none")] [INFO] [stderr]  | ^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `wither` [INFO] [stderr]  --> $DIR/field-id-incorrect-serde-rename-value.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::Model; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/field-id-incorrect-serde-rename-value.rs:4:34 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/field-id-incorrect-serde-rename-value.rs:7:16 [INFO] [stderr]  | [INFO] [stderr] 7 | id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test field-id-incorrect-serde-skip-value.rs [should fail to compile] ... mismatch [INFO] [stderr]  [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: the serde `skip_serializing_if` attr for wither::Model ID fields should be `skip_serializing_if="Option::is_none"` [INFO] [stderr]  --> $DIR/field-id-incorrect-serde-skip-value.rs:6:27 [INFO] [stderr]  | [INFO] [stderr] 6 | #[serde(rename="_id", skip_serializing_if="Option::is_some")] [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `wither` [INFO] [stderr]  --> $DIR/field-id-incorrect-serde-skip-value.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::Model; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/field-id-incorrect-serde-skip-value.rs:4:34 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/field-id-incorrect-serde-skip-value.rs:7:16 [INFO] [stderr]  | [INFO] [stderr] 7 | id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test field-id-incorrect-type.rs [should fail to compile] ... mismatch [INFO] [stderr]  [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr]  --> $DIR/field-id-incorrect-type.rs:4:34 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | | [INFO] [stderr]  | expected struct `bson::oid::ObjectId`, found struct `std::string::String` [INFO] [stderr]  | expected `std::option::Option` because of return type [INFO] [stderr]  | [INFO] [stderr]  = note: expected enum `std::option::Option` [INFO] [stderr]  found enum `std::option::Option` [INFO] [stderr]  = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr]  [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr]  --> $DIR/field-id-incorrect-type.rs:4:34 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | | [INFO] [stderr]  | expected struct `std::string::String`, found struct `bson::oid::ObjectId` [INFO] [stderr]  | help: try using a conversion method: `Model.to_string()` [INFO] [stderr]  | [INFO] [stderr]  = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `wither` [INFO] [stderr]  --> $DIR/field-id-incorrect-type.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::Model; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/field-id-incorrect-type.rs:4:34 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test field-id-missing-serde-attrs.rs [should fail to compile] ... mismatch [INFO] [stderr]  [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: the ID field of wither::Models must have the attribute `#[serde(rename="_id", skip_serializing_if="Option::is_none")]` [INFO] [stderr]  --> $DIR/field-id-missing-serde-attrs.rs:6:5 [INFO] [stderr]  | [INFO] [stderr] 6 | id: Option, [INFO] [stderr]  | ^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `wither` [INFO] [stderr]  --> $DIR/field-id-missing-serde-attrs.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::Model; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/field-id-missing-serde-attrs.rs:4:34 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/field-id-missing-serde-attrs.rs:6:16 [INFO] [stderr]  | [INFO] [stderr] 6 | id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test field-id-missing.rs [should fail to compile] ... mismatch [INFO] [stderr]  [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: wither models must have a field `id` of type `Option` [INFO] [stderr]  --> $DIR/field-id-missing.rs:5:8 [INFO] [stderr]  | [INFO] [stderr] 5 | struct BadModel { [INFO] [stderr]  | ^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `wither` [INFO] [stderr]  --> $DIR/field-id-missing.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::Model; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/field-id-missing.rs:4:34 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test model-attr-invalid.rs [should fail to compile] ... mismatch [INFO] [stderr]  [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: wither expected this attribute to be formatted as a meta list, eg: `#[model(...)]` [INFO] [stderr]  --> $DIR/model-attr-invalid.rs:5:3 [INFO] [stderr]  | [INFO] [stderr] 5 | #[model=""] [INFO] [stderr]  | ^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `wither` [INFO] [stderr]  --> $DIR/model-attr-invalid.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::Model; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-attr-invalid.rs:4:34 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-attr-invalid.rs:5:3 [INFO] [stderr]  | [INFO] [stderr] 5 | #[model=""] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-attr-invalid.rs:8:20 [INFO] [stderr]  | [INFO] [stderr] 8 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test model-collection-name-zero-length.rs [should fail to compile] ... mismatch [INFO] [stderr]  [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: wither model collection names must be at least one character in length [INFO] [stderr]  --> $DIR/model-collection-name-zero-length.rs:5:9 [INFO] [stderr]  | [INFO] [stderr] 5 | #[model(collection_name="")] [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `wither` [INFO] [stderr]  --> $DIR/model-collection-name-zero-length.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::Model; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-collection-name-zero-length.rs:4:34 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-collection-name-zero-length.rs:5:3 [INFO] [stderr]  | [INFO] [stderr] 5 | #[model(collection_name="")] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-collection-name-zero-length.rs:8:20 [INFO] [stderr]  | [INFO] [stderr] 8 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test model-enum.rs [should fail to compile] ... mismatch [INFO] [stderr]  [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: only structs can be used as wither models [INFO] [stderr]  --> $DIR/model-enum.rs:5:1 [INFO] [stderr]  | [INFO] [stderr] 5 | enum BadModel {} [INFO] [stderr]  | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `wither` [INFO] [stderr]  --> $DIR/model-enum.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::Model; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-enum.rs:4:34 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test model-no-fields.rs [should fail to compile] ... mismatch [INFO] [stderr]  [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: wither models must have named fields [INFO] [stderr]  --> $DIR/model-no-fields.rs:5:1 [INFO] [stderr]  | [INFO] [stderr] 5 | struct BadModel; [INFO] [stderr]  | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `wither` [INFO] [stderr]  --> $DIR/model-no-fields.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::Model; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-no-fields.rs:4:34 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test model-read-concern-invalid-syntax.rs [should fail to compile] ... mismatch [INFO] [stderr]  [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: malformed attribute [INFO] [stderr]  [INFO] [stderr]  = help: expected literal [INFO] [stderr]  [INFO] [stderr]  --> $DIR/model-read-concern-invalid-syntax.rs:5:1 [INFO] [stderr]  | [INFO] [stderr] 5 | #[model(read_concern=ReadConcern::Majority)] [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr]  [INFO] [stderr] error[E0599]: no function or associated item named `read_concern` found for struct `DerivedModel` in the current scope [INFO] [stderr]  --> $DIR/model-read-concern-invalid-syntax.rs:12:27 [INFO] [stderr]  | [INFO] [stderr] 6 | struct DerivedModel { [INFO] [stderr]  | ------------------- function or associated item `read_concern` not found for this [INFO] [stderr] ... [INFO] [stderr] 12 | assert!(DerivedModel::read_concern().is_none()); [INFO] [stderr]  | ^^^^^^^^^^^^ function or associated item not found in `DerivedModel` [INFO] [stderr]  | [INFO] [stderr]  = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr]  = note: the following trait defines an item `read_concern`, perhaps you need to implement it: [INFO] [stderr]  candidate #1: `wither::model::Model` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `wither` [INFO] [stderr]  --> $DIR/model-read-concern-invalid-syntax.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::Model; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-read-concern-invalid-syntax.rs:4:34 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-read-concern-invalid-syntax.rs:5:3 [INFO] [stderr]  | [INFO] [stderr] 5 | #[model(read_concern=ReadConcern::Majority)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-read-concern-invalid-syntax.rs:8:20 [INFO] [stderr]  | [INFO] [stderr] 8 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0599]: no function or associated item named `read_concern` found for struct `DerivedModel` in the current scope [INFO] [stderr]  --> $DIR/model-read-concern-invalid-syntax.rs:12:27 [INFO] [stderr]  | [INFO] [stderr] 6 | struct DerivedModel { [INFO] [stderr]  | ------------------- function or associated item `read_concern` not found for this [INFO] [stderr] ... [INFO] [stderr] 12 | assert!(DerivedModel::read_concern().is_none()); [INFO] [stderr]  | ^^^^^^^^^^^^ function or associated item not found in `DerivedModel` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test model-read-concern-invalid.rs [should fail to compile] ... mismatch [INFO] [stderr]  [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: malformed wither model read concern attribute [INFO] [stderr]  [INFO] [stderr]  = help: Unknown literal value `invalid` [INFO] [stderr]  [INFO] [stderr]  --> $DIR/model-read-concern-invalid.rs:5:9 [INFO] [stderr]  | [INFO] [stderr] 5 | #[model(read_concern="invalid")] [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `wither` [INFO] [stderr]  --> $DIR/model-read-concern-invalid.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::Model; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-read-concern-invalid.rs:4:34 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-read-concern-invalid.rs:5:3 [INFO] [stderr]  | [INFO] [stderr] 5 | #[model(read_concern="invalid")] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-read-concern-invalid.rs:8:20 [INFO] [stderr]  | [INFO] [stderr] 8 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test model-selection-criteria-invalid-fn-path.rs [should fail to compile] ... mismatch [INFO] [stderr]  [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0599]: no function or associated item named `get_selection_criteria` found for struct `BadModel` in the current scope [INFO] [stderr]  --> $DIR/model-selection-criteria-invalid-fn-path.rs:5:28 [INFO] [stderr]  | [INFO] [stderr] 5 | #[model(selection_criteria="BadModel::get_selection_criteria")] [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `BadModel` [INFO] [stderr] 6 | struct BadModel { [INFO] [stderr]  | --------------- function or associated item `get_selection_criteria` not found for this [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `wither` [INFO] [stderr]  --> $DIR/model-selection-criteria-invalid-fn-path.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::Model; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-selection-criteria-invalid-fn-path.rs:4:34 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-selection-criteria-invalid-fn-path.rs:5:3 [INFO] [stderr]  | [INFO] [stderr] 5 | #[model(selection_criteria="BadModel::get_selection_criteria")] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-selection-criteria-invalid-fn-path.rs:8:20 [INFO] [stderr]  | [INFO] [stderr] 8 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test model-unrecognized-attr.rs [should fail to compile] ... mismatch [INFO] [stderr]  [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: unrecognized wither model attribute [INFO] [stderr]  --> $DIR/model-unrecognized-attr.rs:5:9 [INFO] [stderr]  | [INFO] [stderr] 5 | #[model(bad_attr="val")] [INFO] [stderr]  | ^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `wither` [INFO] [stderr]  --> $DIR/model-unrecognized-attr.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::Model; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-unrecognized-attr.rs:4:34 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-unrecognized-attr.rs:5:3 [INFO] [stderr]  | [INFO] [stderr] 5 | #[model(bad_attr="val")] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-unrecognized-attr.rs:8:20 [INFO] [stderr]  | [INFO] [stderr] 8 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test model-write-concern-ack-invalid.rs [should fail to compile] ... mismatch [INFO] [stderr]  [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: malformed attribute [INFO] [stderr]  [INFO] [stderr]  = help: expected literal [INFO] [stderr]  [INFO] [stderr]  --> $DIR/model-write-concern-ack-invalid.rs:5:1 [INFO] [stderr]  | [INFO] [stderr] 5 | #[model(write_concern(w=WriteConcern::Majority, w_timeout=10, journal=false))] [INFO] [stderr]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr]  [INFO] [stderr] error[E0599]: no function or associated item named `write_concern` found for struct `DerivedModel` in the current scope [INFO] [stderr]  --> $DIR/model-write-concern-ack-invalid.rs:12:27 [INFO] [stderr]  | [INFO] [stderr] 6 | struct DerivedModel { [INFO] [stderr]  | ------------------- function or associated item `write_concern` not found for this [INFO] [stderr] ... [INFO] [stderr] 12 | assert!(DerivedModel::write_concern().is_none()); [INFO] [stderr]  | ^^^^^^^^^^^^^ function or associated item not found in `DerivedModel` [INFO] [stderr]  | [INFO] [stderr]  = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr]  = note: the following trait defines an item `write_concern`, perhaps you need to implement it: [INFO] [stderr]  candidate #1: `wither::model::Model` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr]  [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `wither` [INFO] [stderr]  --> $DIR/model-write-concern-ack-invalid.rs:2:5 [INFO] [stderr]  | [INFO] [stderr] 2 | use wither::Model; [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error: cannot determine resolution for the derive macro `Model` [INFO] [stderr]  --> $DIR/model-write-concern-ack-invalid.rs:4:34 [INFO] [stderr]  | [INFO] [stderr] 4 | #[derive(Serialize, Deserialize, Model)] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  | [INFO] [stderr]  = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr]  [INFO] [stderr] error: cannot find attribute `model` in this scope [INFO] [stderr]  --> $DIR/model-write-concern-ack-invalid.rs:5:3 [INFO] [stderr]  | [INFO] [stderr] 5 | #[model(write_concern(w=WriteConcern::Majority, w_timeout=10, journal=false))] [INFO] [stderr]  | ^^^^^ [INFO] [stderr]  [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wither` [INFO] [stderr]  --> $DIR/model-write-concern-ack-invalid.rs:8:20 [INFO] [stderr]  | [INFO] [stderr] 8 | pub id: Option, [INFO] [stderr]  | ^^^^^^ use of undeclared type or module `wither` [INFO] [stderr]  [INFO] [stderr] error[E0599]: no function or associated item named `write_concern` found for struct `DerivedModel` in the current scope [INFO] [stderr]  --> $DIR/model-write-concern-ack-invalid.rs:12:27 [INFO] [stderr]  | [INFO] [stderr] 6 | struct DerivedModel { [INFO] [stderr]  | ------------------- function or associated item `write_concern` not found for this [INFO] [stderr] ... [INFO] [stderr] 12 | assert!(DerivedModel::write_concern().is_none()); [INFO] [stderr]  | ^^^^^^^^^^^^^ function or associated item not found in `DerivedModel` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test test::derive_tests ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::derive_tests stdout ---- [INFO] [stdout] thread 'test::derive_tests' panicked at '20 of 20 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.31/src/run.rs:60:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7fc4137528e5 - backtrace::backtrace::libunwind::trace::h5e2646fa3eddf2ea [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x7fc4137528e5 - backtrace::backtrace::trace_unsynchronized::hb95dd7f77ce47877 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x7fc4137528e5 - std::sys_common::backtrace::_print_fmt::h5e71b67af43fd70d [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x7fc4137528e5 - ::fmt::hdb4a83d2b61107e5 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x7fc41378f36c - core::fmt::write::ha20e7262fa3e8a7a [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x7fc4139f9755 - std::io::Write::write_fmt::hd8ff364c7845d2d0 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/io/mod.rs:1537 [INFO] [stdout] 6: 0x7fc41373ec31 - std::io::impls::>::write_fmt::h1c057ef6e8762996 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x7fc413757780 - std::sys_common::backtrace::_print::h9c07314cc66ba539 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x7fc413757780 - std::sys_common::backtrace::print::hd1fd65f49a2d8544 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x7fc413757780 - std::panicking::default_hook::{{closure}}::h222da46485ab36fc [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x7fc41375747a - std::panicking::default_hook::hc5868949d129ed00 [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x7fc413757ed3 - std::panicking::rust_panic_with_hook::h26a6ab8b0993c0c8 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x7fc413757acb - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x7fc413757a3b - std::panicking::begin_panic_fmt::h2ff295231415d4a6 [INFO] [stdout] at src/libstd/panicking.rs:391 [INFO] [stdout] 14: 0x55e58c5f538a - trybuild::run::::run::hc6e9de394ac6bed4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.31/src/run.rs:60 [INFO] [stdout] 15: 0x55e58c5f9a86 - ::drop::h5943af8b56050d40 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.31/src/lib.rs:282 [INFO] [stdout] 16: 0x55e58c5a7916 - core::ptr::drop_in_place::hd4e03c5877978c97 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ptr/mod.rs:184 [INFO] [stdout] 17: 0x55e58c5a79d3 - wither_derive::test::derive_tests::h709fc34c925db92f [INFO] [stdout] at src/lib.rs:39 [INFO] [stdout] 18: 0x55e58c5a795a - wither_derive::test::derive_tests::{{closure}}::h3605e8cfb4018ecb [INFO] [stdout] at src/lib.rs:35 [INFO] [stdout] 19: 0x55e58c5a78ae - core::ops::function::FnOnce::call_once::hf7d09f2693b75f90 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ops/function.rs:233 [INFO] [stdout] 20: 0x7fc413a23bac - as core::ops::function::FnOnce>::call_once::h42148c33ed88c979 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 21: 0x7fc413a23bac - as core::ops::function::FnOnce<()>>::call_once::h759dc0b09d774665 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:318 [INFO] [stdout] 22: 0x7fc413a23bac - std::panicking::try::do_call::h676ad1fc9e9badea [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:348 [INFO] [stdout] 23: 0x7fc413a23bac - std::panicking::try::hee36a8727a3050b0 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:325 [INFO] [stdout] 24: 0x7fc413a23bac - std::panic::catch_unwind::hd5d426ebd89b2542 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:394 [INFO] [stdout] 25: 0x7fc413a23bac - test::run_test_in_process::h8dacdba4dc4cbaa5 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 26: 0x7fc413a23bac - test::run_test::run_test_inner::{{closure}}::hf93754afad6be40f [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 27: 0x7fc4139f8c46 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2c69fab544a90730 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 28: 0x7fc4139fea05 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hcf302fafa60d80f2 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/mod.rs:475 [INFO] [stdout] 29: 0x7fc4139fea05 - as core::ops::function::FnOnce<()>>::call_once::h39ede710608e817e [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:318 [INFO] [stdout] 30: 0x7fc4139fea05 - std::panicking::try::do_call::hec0b4d2faa46fbf7 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:348 [INFO] [stdout] 31: 0x7fc4139fea05 - std::panicking::try::h0144ba3f2539803d [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:325 [INFO] [stdout] 32: 0x7fc4139fea05 - std::panic::catch_unwind::ha03e59eb589f857b [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:394 [INFO] [stdout] 33: 0x7fc4139fea05 - std::thread::Builder::spawn_unchecked::{{closure}}::hdeba34620a4a7a44 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/mod.rs:474 [INFO] [stdout] 34: 0x7fc4139fea05 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h552693dbb801eadd [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ops/function.rs:233 [INFO] [stdout] 35: 0x7fc413766cba - as core::ops::function::FnOnce>::call_once::h61c24496ae624ac5 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 36: 0x7fc413766cba - as core::ops::function::FnOnce>::call_once::h89548957afa14049 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 37: 0x7fc413766cba - std::sys::unix::thread::Thread::new::thread_start::h73903fbbff5b990e [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 38: 0x7fc4136a7609 - start_thread [INFO] [stdout] 39: 0x7fc4135b3103 - __clone [INFO] [stdout] 40: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::derive_tests [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1759629ac62826ce471edf0fdd8293251963876134c2ccfb5a5b0cc4e4d41915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1759629ac62826ce471edf0fdd8293251963876134c2ccfb5a5b0cc4e4d41915", kill_on_drop: false }` [INFO] [stdout] 1759629ac62826ce471edf0fdd8293251963876134c2ccfb5a5b0cc4e4d41915