[INFO] fetching crate butane 0.1.0... [INFO] checking butane-0.1.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate butane 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate butane 0.1.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate butane 0.1.0 [INFO] finished tweaking crates.io crate butane 0.1.0 [INFO] tweaked toml for crates.io crate butane 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2a4d4155fc1df68bb4bb51b9dd27e5d6dc29fe772e6e884670fc4ac7927d38a6 [INFO] running `Command { std: "docker" "start" "-a" "2a4d4155fc1df68bb4bb51b9dd27e5d6dc29fe772e6e884670fc4ac7927d38a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a4d4155fc1df68bb4bb51b9dd27e5d6dc29fe772e6e884670fc4ac7927d38a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a4d4155fc1df68bb4bb51b9dd27e5d6dc29fe772e6e884670fc4ac7927d38a6", kill_on_drop: false }` [INFO] [stdout] 2a4d4155fc1df68bb4bb51b9dd27e5d6dc29fe772e6e884670fc4ac7927d38a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4572f9529e70da2748b46bd649758ca3f7842558c462dabdacc0352fab97e0af [INFO] running `Command { std: "docker" "start" "-a" "4572f9529e70da2748b46bd649758ca3f7842558c462dabdacc0352fab97e0af", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.6.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling bytes v0.6.0 [INFO] [stderr] Checking siphasher v0.3.3 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v0.3.6 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking crypto-mac v0.9.1 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking hmac v0.9.0 [INFO] [stderr] Checking quote v1.0.8 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking postgres-protocol v0.5.3 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking tokio-util v0.4.0 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking postgres-types v0.1.3 [INFO] [stderr] Checking tokio-postgres v0.6.0 [INFO] [stderr] Checking postgres v0.18.1 [INFO] [stderr] Checking butane_core v0.1.0 [INFO] [stderr] Compiling butane_codegen v0.1.0 [INFO] [stderr] Checking butane v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/common/blog.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/common/blog.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/common/blog.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] unable to save type IO error Read-only file system (os error 30) [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/common/blog.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/common/blog.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unable to save type [INFO] [stdout] --> tests/custom_type.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[butane_type(Text)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/custom_type.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/common/blog.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/common/blog.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/common/blog.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/common/blog.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/nullable.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/common/blog.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `common::blog::Blog`, `common::blog::Post`, `common::blog::Tag` [INFO] [stdout] --> tests/query.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use common::blog::{Blog, Post, PostMetadata, Tag}; [INFO] [stdout] | ^^^^ ^^^^ ^^^ no `Tag` in `common::blog` [INFO] [stdout] | | | [INFO] [stdout] | | no `Post` in `common::blog` [INFO] [stdout] | no `Blog` in `common::blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] unable to save type IO error Read-only file system (os error 30) [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/common/blog.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/common/blog.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unable to save type [INFO] [stdout] --> tests/basic.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[butane_type] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/basic.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> tests/common/blog.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> tests/common/blog.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let mut tag_asia = Tag::new("asia"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> tests/common/blog.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let mut tag_danger = Tag::new("danger"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> tests/common/blog.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/common/blog.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let mut tag_monkeys = Tag::new("monkeys"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/basic.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let mut tag_asia = Tag::new("asia"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let mut tag_danger = Tag::new("danger"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let mut tag_monkeys = Tag::new("monkeys"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> tests/common/blog.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl Blog { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Blog` in this scope [INFO] [stdout] --> tests/common/blog.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Blog { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/basic.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/basic.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> tests/common/blog.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | impl Post { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> tests/common/blog.rs:35:57 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(id: i64, title: &str, body: &str, blog: &Blog) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Post` in this scope [INFO] [stdout] --> tests/common/blog.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Post { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> tests/common/blog.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | #[dataresult(Post)] [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | impl Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> tests/nullable.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let mut with_none = WithNullable::new(1); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `WithNullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/common/blog.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> tests/nullable.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let mut with_some = WithNullable::new(2); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `WithNullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> tests/nullable.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | let obj = WithNullable::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `WithNullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> tests/nullable.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | let obj = WithNullable::get(&conn, 2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `WithNullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> tests/nullable.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | let mut obj = WithNullable::new(1); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `WithNullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> tests/common/blog.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> tests/common/blog.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> tests/nullable.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let mut obj = WithNullable::new(2); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `WithNullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let mut tag_asia = Tag::new("asia"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/common/blog.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> tests/nullable.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | let mut obj = WithNullable::new(3); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `WithNullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let mut tag_danger = Tag::new("danger"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> tests/nullable.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | let mut obj = WithNullable::new(4); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `WithNullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/uuid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let mut tag_monkeys = Tag::new("monkeys"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> tests/nullable.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let mut obj = WithNullable::new(1); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `WithNullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> tests/nullable.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let mut obj = WithNullable::new(2); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `WithNullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Frobnozzle` [INFO] [stdout] --> tests/custom_type.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | Frobnozzle::Foo => "Foo", [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Frobnozzle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Frobnozzle` [INFO] [stdout] --> tests/custom_type.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | Frobnozzle::Bar => "Bar", [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Frobnozzle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Frobnozzle` [INFO] [stdout] --> tests/custom_type.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Frobnozzle::Baz => "Baz", [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Frobnozzle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> tests/common/blog.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl Blog { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Blog` in this scope [INFO] [stdout] --> tests/common/blog.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Blog { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> tests/common/blog.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | impl Post { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> tests/common/blog.rs:35:57 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(id: i64, title: &str, body: &str, blog: &Blog) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Post` in this scope [INFO] [stdout] --> tests/common/blog.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Post { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> tests/common/blog.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | #[dataresult(Post)] [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | impl Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WithNullable` in this scope [INFO] [stdout] --> tests/nullable.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | impl WithNullable { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WithNullable` in this scope [INFO] [stdout] --> tests/nullable.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | WithNullable { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WithNullable` in this scope [INFO] [stdout] --> tests/nullable.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | let mut objs = query!(WithNullable, foo > 42).load(&conn).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WithNullable` in this scope [INFO] [stdout] --> tests/nullable.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let objs = query!(WithNullable, foo == None).load(&conn).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/common/blog.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/common/blog.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/common/blog.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: Other, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> tests/common/blog.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasCustomField` [INFO] [stdout] --> tests/custom_type.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | let mut obj = HasCustomField::new(1, Frobnozzle::Foo); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `HasCustomField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Frobnozzle` [INFO] [stdout] --> tests/custom_type.rs:76:42 [INFO] [stdout] | [INFO] [stdout] 76 | let mut obj = HasCustomField::new(1, Frobnozzle::Foo); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Frobnozzle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> tests/common/blog.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasCustomField` [INFO] [stdout] --> tests/custom_type.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | let obj2 = HasCustomField::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `HasCustomField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let mut tag_asia = Tag::new("asia"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let mut tag_danger = Tag::new("danger"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let mut tag_monkeys = Tag::new("monkeys"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasCustomField` [INFO] [stdout] --> tests/custom_type.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | let mut obj_foo = HasCustomField::new(1, Frobnozzle::Foo); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `HasCustomField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Frobnozzle` [INFO] [stdout] --> tests/custom_type.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | let mut obj_foo = HasCustomField::new(1, Frobnozzle::Foo); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Frobnozzle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasCustomField` [INFO] [stdout] --> tests/custom_type.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | let mut obj_bar = HasCustomField::new(2, Frobnozzle::Bar); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `HasCustomField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Frobnozzle` [INFO] [stdout] --> tests/custom_type.rs:89:46 [INFO] [stdout] | [INFO] [stdout] 89 | let mut obj_bar = HasCustomField::new(2, Frobnozzle::Bar); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Frobnozzle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `butane` [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Frobnozzle` [INFO] [stdout] --> tests/custom_type.rs:93:52 [INFO] [stdout] | [INFO] [stdout] 93 | let results = query!(HasCustomField, frob == { Frobnozzle::Bar }) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Frobnozzle` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> tests/common/blog.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl Blog { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Blog` in this scope [INFO] [stdout] --> tests/common/blog.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Blog { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> tests/common/blog.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | impl Post { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> tests/common/blog.rs:35:57 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(id: i64, title: &str, body: &str, blog: &Blog) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Post` in this scope [INFO] [stdout] --> tests/common/blog.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Post { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> tests/common/blog.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | #[dataresult(Post)] [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | impl Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Frobnozzle` in this scope [INFO] [stdout] --> tests/custom_type.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | impl ToSql for Frobnozzle { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Frobnozzle` in this scope [INFO] [stdout] --> tests/custom_type.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | impl IntoSql for Frobnozzle { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Frobnozzle` in this scope [INFO] [stdout] --> tests/custom_type.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | impl FromSql for Frobnozzle { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Frobnozzle` in this scope [INFO] [stdout] --> tests/custom_type.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | impl FieldType for Frobnozzle { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HasCustomField` in this scope [INFO] [stdout] --> tests/custom_type.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | impl HasCustomField { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Frobnozzle` in this scope [INFO] [stdout] --> tests/custom_type.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | fn new(id: i64, frob: Frobnozzle) -> Self { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `HasCustomField` in this scope [INFO] [stdout] --> tests/custom_type.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | HasCustomField { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> tests/nullable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HasCustomField` in this scope [INFO] [stdout] --> tests/custom_type.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | let results = query!(HasCustomField, frob == { Frobnozzle::Bar }) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> tests/common/blog.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | let mut foo = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | let mut foo2 = Foo::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | let foo3 = Foo::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:98:48 [INFO] [stdout] | [INFO] [stdout] 98 | if let Some(butane::Error::NoSuchObject) = Foo::get(&conn, 1).err() { [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | let mut foo1 = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | let mut foo2 = Foo::new(2); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let mut foo1 = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | let mut foo2 = Foo::new(2); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | let mut foo1 = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | let mut foo2 = Foo::new(2); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | let mut foo3 = Foo::new(3); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 170 | let mut foo = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bar` [INFO] [stdout] --> tests/basic.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | let mut bar = Bar::new("tarzan", foo); [INFO] [stdout] | ^^^ use of undeclared type `Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bar` [INFO] [stdout] --> tests/basic.rs:175:16 [INFO] [stdout] | [INFO] [stdout] 175 | let bar2 = Bar::get(&conn, "tarzan".to_string()).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | let mut foo = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bar` [INFO] [stdout] --> tests/basic.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | let mut bar = Bar::new("tarzan", foo.clone()); [INFO] [stdout] | ^^^ use of undeclared type `Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bar` [INFO] [stdout] --> tests/basic.rs:185:16 [INFO] [stdout] | [INFO] [stdout] 185 | let bar2 = Bar::get(&conn, "tarzan".to_string()).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> tests/common/blog.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Baz` [INFO] [stdout] --> tests/basic.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | let mut baz1 = Baz::new("baz1"); [INFO] [stdout] | ^^^ use of undeclared type `Baz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Baz` [INFO] [stdout] --> tests/basic.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | let mut baz2 = Baz::new("baz2"); [INFO] [stdout] | ^^^ use of undeclared type `Baz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> tests/common/blog.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Baz` [INFO] [stdout] --> tests/basic.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | let mut baz3 = Baz::new("baz3"); [INFO] [stdout] | ^^^ use of undeclared type `Baz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasOnlyPk` [INFO] [stdout] --> tests/basic.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 208 | let mut obj = HasOnlyPk::new(1); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `HasOnlyPk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> tests/common/blog.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl Blog { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Blog` in this scope [INFO] [stdout] --> tests/common/blog.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Blog { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> tests/common/blog.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | impl Post { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> tests/common/blog.rs:35:57 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(id: i64, title: &str, body: &str, blog: &Blog) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Post` in this scope [INFO] [stdout] --> tests/common/blog.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Post { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> tests/common/blog.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | #[dataresult(Post)] [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | impl Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> tests/basic.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | impl Foo { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Foo` in this scope [INFO] [stdout] --> tests/basic.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Foo { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bar` in this scope [INFO] [stdout] --> tests/basic.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | impl Bar { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> tests/basic.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | fn new(name: &str, foo: Foo) -> Self { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Bar` in this scope [INFO] [stdout] --> tests/basic.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Bar { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Baz` in this scope [INFO] [stdout] --> tests/basic.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 55 | impl Baz { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Baz` in this scope [INFO] [stdout] --> tests/basic.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Baz { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HasOnlyPk` in this scope [INFO] [stdout] --> tests/basic.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | impl HasOnlyPk { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `HasOnlyPk` in this scope [INFO] [stdout] --> tests/basic.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | HasOnlyPk { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> tests/basic.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | let found: Foo = find!(Foo, bar == 43, &conn).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> tests/basic.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | let found: Foo = find!(Foo, bar == 43, &conn).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> tests/basic.rs:134:28 [INFO] [stdout] | [INFO] [stdout] 134 | let mut found = query!(Foo, bar == 42).load(&conn).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> tests/basic.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | let found = query!(Foo, bar < 44).load(&conn).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> tests/basic.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | let cnt = query!(Foo, baz == "goodbye world").delete(&conn).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> tests/basic.rs:164:22 [INFO] [stdout] | [INFO] [stdout] 164 | let cnt = query!(Foo, baz.like("hello%")).delete(&conn).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> tests/basic.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | let foo2: &Foo = bar2.foo.load(&conn).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> tests/basic.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | let foo3: &Foo = bar2.foo.get().unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ForeignKey` [INFO] [stdout] --> tests/basic.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use butane::{ForeignKey, ObjectState}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let mut tag_asia = Tag::new("asia"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let mut tag_danger = Tag::new("danger"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let mut tag_monkeys = Tag::new("monkeys"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> tests/query.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> tests/common/blog.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooUU` [INFO] [stdout] --> tests/uuid.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let mut foo = FooUU::new(id); [INFO] [stdout] | ^^^^^ use of undeclared type `FooUU` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooUU` [INFO] [stdout] --> tests/uuid.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let mut foo2 = FooUU::get(&conn, id).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `FooUU` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooUU` [INFO] [stdout] --> tests/uuid.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | let foo3 = FooUU::get(&conn, id).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `FooUU` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> tests/common/blog.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl Blog { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Blog` in this scope [INFO] [stdout] --> tests/common/blog.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Blog { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> tests/common/blog.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | impl Post { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> tests/common/blog.rs:35:57 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(id: i64, title: &str, body: &str, blog: &Blog) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Post` in this scope [INFO] [stdout] --> tests/common/blog.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Post { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> tests/common/blog.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | #[dataresult(Post)] [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | impl Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooUU` in this scope [INFO] [stdout] --> tests/uuid.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | impl FooUU { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FooUU` in this scope [INFO] [stdout] --> tests/uuid.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | FooUU { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> tests/common/blog.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> tests/common/blog.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let mut tag_asia = Tag::new("asia"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> tests/custom_type.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> tests/common/blog.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let mut tag_danger = Tag::new("danger"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let mut tag_monkeys = Tag::new("monkeys"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> tests/common/blog.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl Blog { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Blog` in this scope [INFO] [stdout] --> tests/common/blog.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Blog { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> tests/common/blog.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | impl Post { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> tests/common/blog.rs:35:57 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(id: i64, title: &str, body: &str, blog: &Blog) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Post` in this scope [INFO] [stdout] --> tests/common/blog.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Post { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> tests/common/blog.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | #[dataresult(Post)] [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | impl Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> tests/basic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> tests/common/blog.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 63 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> tests/uuid.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> tests/common/blog.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> tests/common/blog.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4572f9529e70da2748b46bd649758ca3f7842558c462dabdacc0352fab97e0af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4572f9529e70da2748b46bd649758ca3f7842558c462dabdacc0352fab97e0af", kill_on_drop: false }` [INFO] [stdout] 4572f9529e70da2748b46bd649758ca3f7842558c462dabdacc0352fab97e0af