[INFO] fetching crate butane 0.4.3... [INFO] testing butane-0.4.3 against 1.60.0 for beta-1.61-1 [INFO] extracting crate butane 0.4.3 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate butane 0.4.3 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate butane 0.4.3 [INFO] finished tweaking crates.io crate butane 0.4.3 [INFO] tweaked toml for crates.io crate butane 0.4.3 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded geo-types v0.7.4 [INFO] [stderr] Downloaded exec_time v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a6ae8b72c368338a877947299096f7617e2496cbb3ded3d8bf871f70fe990e1 [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" "4a6ae8b72c368338a877947299096f7617e2496cbb3ded3d8bf871f70fe990e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a6ae8b72c368338a877947299096f7617e2496cbb3ded3d8bf871f70fe990e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a6ae8b72c368338a877947299096f7617e2496cbb3ded3d8bf871f70fe990e1", kill_on_drop: false }` [INFO] [stdout] 4a6ae8b72c368338a877947299096f7617e2496cbb3ded3d8bf871f70fe990e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--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] 4c27a9740ca35036fac5d7aa79c597cd7bc2a1972fbd47586c82aa37f963f5ff [INFO] running `Command { std: "docker" "start" "-a" "4c27a9740ca35036fac5d7aa79c597cd7bc2a1972fbd47586c82aa37f963f5ff", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling butane_core v0.4.3 [INFO] [stderr] Compiling butane_codegen v0.4.0 [INFO] [stderr] Compiling butane v0.4.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "4c27a9740ca35036fac5d7aa79c597cd7bc2a1972fbd47586c82aa37f963f5ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c27a9740ca35036fac5d7aa79c597cd7bc2a1972fbd47586c82aa37f963f5ff", kill_on_drop: false }` [INFO] [stdout] 4c27a9740ca35036fac5d7aa79c597cd7bc2a1972fbd47586c82aa37f963f5ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 679cb8bf1b19a3ec06462abf1ea7cd9bbd06ac3e78ae6cb11ec300bae8c1423a [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" "679cb8bf1b19a3ec06462abf1ea7cd9bbd06ac3e78ae6cb11ec300bae8c1423a", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling geo-types v0.7.4 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling postgres-protocol v0.6.3 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling postgres-types v0.2.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling rusqlite v0.25.4 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-postgres v0.7.5 [INFO] [stderr] Compiling postgres v0.19.2 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling exec_time v0.1.4 [INFO] [stderr] Compiling butane v0.4.3 (/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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, message: "Read-only file system" }) [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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | 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] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/many.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: ReadOnlyFilesystem, 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/many.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use common::blog::{create_tag, Blog, Post, 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] [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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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 the attribute macro `butane_type` (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:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: ReadOnlyFilesystem, 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: unable to save type [INFO] [stdout] --> tests/basic.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[butane_type] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `butane_type` (in Nightly builds, run with -Z macro-backtrace for more info) [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: ReadOnlyFilesystem, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/basic.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: ReadOnlyFilesystem, 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:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tag = Tag::new(name); [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:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | 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:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tag = Tag::new(name); [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:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | 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:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | 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 `Post` [INFO] [stdout] --> tests/common/blog.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | 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:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tag = Tag::new(name); [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:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | 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/basic.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: ReadOnlyFilesystem, 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:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [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: ReadOnlyFilesystem, 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:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | 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:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `db` [INFO] [stdout] --> tests/common/mod.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | ConnectionSpec::new(butane::db::sqlite::BACKEND_NAME, ":memory:") [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AutoPkWithMany` [INFO] [stdout] --> tests/many.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | let mut obj = AutoPkWithMany::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AutoPkWithMany` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AutoPkWithMany` [INFO] [stdout] --> tests/many.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | let obj = AutoPkWithMany::get(&conn, obj.id).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AutoPkWithMany` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/basic.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) [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 `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_tag(conn: &Connection, name: &str) -> Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AutoPkWithMany` in this scope [INFO] [stdout] --> tests/many.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl AutoPkWithMany { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AutoPkWithMany` in this scope [INFO] [stdout] --> tests/many.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | AutoPkWithMany { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste` [INFO] [stdout] --> tests/many.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use paste; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/basic.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/basic.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: ReadOnlyFilesystem, 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:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | 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 `Post` [INFO] [stdout] --> tests/common/blog.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | 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:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | 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:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | 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 `Blog` [INFO] [stdout] --> tests/common/blog.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | 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 `Post` [INFO] [stdout] --> tests/common/blog.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `db` [INFO] [stdout] --> tests/common/mod.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | ConnectionSpec::new(butane::db::sqlite::BACKEND_NAME, ":memory:") [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `db` [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 `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_tag(conn: &Connection, name: &str) -> 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:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | 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:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | 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:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tag = Tag::new(name); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste` [INFO] [stdout] --> tests/query.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use paste; [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 `Post` [INFO] [stdout] --> tests/common/blog.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | 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 `Blog` [INFO] [stdout] --> tests/common/blog.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | 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:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | 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 `Post` [INFO] [stdout] --> tests/common/blog.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | 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:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | 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:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tag = Tag::new(name); [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:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | 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/many.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> tests/common/blog.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `db` [INFO] [stdout] --> tests/common/mod.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | ConnectionSpec::new(butane::db::sqlite::BACKEND_NAME, ":memory:") [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> tests/common/blog.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | 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 `Post` [INFO] [stdout] --> tests/common/blog.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `db` [INFO] [stdout] --> tests/common/mod.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | ConnectionSpec::new(butane::db::sqlite::BACKEND_NAME, ":memory:") [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 3 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 `Blog` [INFO] [stdout] --> tests/common/blog.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [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 `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_tag(conn: &Connection, name: &str) -> 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:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | 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 `Post` [INFO] [stdout] --> tests/common/blog.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `butane` due to 27 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | 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[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | 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: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[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tag = Tag::new(name); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `db` [INFO] [stdout] --> tests/common/mod.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | ConnectionSpec::new(butane::db::sqlite::BACKEND_NAME, ":memory:") [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> tests/common/blog.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [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 `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_tag(conn: &Connection, name: &str) -> 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:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | 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 `Post` [INFO] [stdout] --> tests/common/blog.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | 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[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 `Post` [INFO] [stdout] --> tests/common/blog.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | 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: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 `Post` [INFO] [stdout] --> tests/common/blog.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | 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: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 `Post` [INFO] [stdout] --> tests/common/blog.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | 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: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: could not find `sqlite` in `db` [INFO] [stdout] --> tests/common/mod.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | ConnectionSpec::new(butane::db::sqlite::BACKEND_NAME, ":memory:") [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `db` [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 `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:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tag = Tag::new(name); [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:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | 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:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | 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: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[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | 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:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | 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:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | 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:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `db` [INFO] [stdout] --> tests/common/mod.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | ConnectionSpec::new(butane::db::sqlite::BACKEND_NAME, ":memory:") [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> tests/common/blog.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tag = Tag::new(name); [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:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [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[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> tests/common/blog.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [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 `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_tag(conn: &Connection, name: &str) -> 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:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | 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] 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:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | 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:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | 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:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `db` [INFO] [stdout] --> tests/common/mod.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | ConnectionSpec::new(butane::db::sqlite::BACKEND_NAME, ":memory:") [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `db` [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[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 `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_tag(conn: &Connection, name: &str) -> Tag { [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: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 `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_tag(conn: &Connection, name: &str) -> 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[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | 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:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | let mut foo2 = Foo::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [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: `paste` [INFO] [stdout] --> tests/nullable.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use paste; [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:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [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:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tag = Tag::new(name); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | let foo3 = Foo::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [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] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:119:48 [INFO] [stdout] | [INFO] [stdout] 119 | if let Some(butane::Error::NoSuchObject) = Foo::get(&conn, 1).err() { [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> tests/common/blog.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [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 `Blog` [INFO] [stdout] --> tests/common/blog.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | 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 `Foo` [INFO] [stdout] --> tests/basic.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | let mut foo1 = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [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] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> tests/common/blog.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [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 `Blog` [INFO] [stdout] --> tests/common/blog.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | 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 `Foo` [INFO] [stdout] --> tests/basic.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | let mut foo2 = Foo::new(2); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [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] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | 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:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | 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:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> tests/common/blog.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> tests/common/blog.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | 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 `Foo` [INFO] [stdout] --> tests/basic.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | 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:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | let mut foo2 = Foo::new(2); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 3 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 `Foo` [INFO] [stdout] --> tests/basic.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | 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 `Post` [INFO] [stdout] --> tests/common/blog.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `db` [INFO] [stdout] --> tests/common/mod.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | ConnectionSpec::new(butane::db::sqlite::BACKEND_NAME, ":memory:") [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | 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:175:20 [INFO] [stdout] | [INFO] [stdout] 175 | 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 `Frobnozzle` [INFO] [stdout] --> tests/custom_type.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | 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:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | 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:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | Frobnozzle::Baz => "Baz", [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Frobnozzle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | 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:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | 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:196:16 [INFO] [stdout] | [INFO] [stdout] 196 | 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:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | 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:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | 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:206:16 [INFO] [stdout] | [INFO] [stdout] 206 | 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 `Baz` [INFO] [stdout] --> tests/basic.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 217 | 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:219:20 [INFO] [stdout] | [INFO] [stdout] 219 | 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 `Baz` [INFO] [stdout] --> tests/basic.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | 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:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | let mut obj = HasOnlyPk::new(1); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `HasOnlyPk` [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] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> tests/common/blog.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | 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:247:16 [INFO] [stdout] | [INFO] [stdout] 247 | let foo2 = Foo::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> tests/basic.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | let mut foo = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [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:262:11 [INFO] [stdout] | [INFO] [stdout] 262 | match Foo::get(&conn, 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:274:19 [INFO] [stdout] | [INFO] [stdout] 274 | 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:280:11 [INFO] [stdout] | [INFO] [stdout] 280 | match Foo::get(&conn, 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:289:20 [INFO] [stdout] | [INFO] [stdout] 289 | 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:293:20 [INFO] [stdout] | [INFO] [stdout] 293 | 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 `SelfReferential` [INFO] [stdout] --> tests/basic.rs:313:18 [INFO] [stdout] | [INFO] [stdout] 313 | let mut o1 = SelfReferential::new(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SelfReferential` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SelfReferential` [INFO] [stdout] --> tests/basic.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | let mut o2 = SelfReferential::new(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SelfReferential` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasCustomField` [INFO] [stdout] --> tests/custom_type.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | 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:71:42 [INFO] [stdout] | [INFO] [stdout] 71 | 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 `SelfReferential` [INFO] [stdout] --> tests/basic.rs:319:14 [INFO] [stdout] | [INFO] [stdout] 319 | let o1 = SelfReferential::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SelfReferential` [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 `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_tag(conn: &Connection, name: &str) -> 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:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | 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:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | 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:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | 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:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | 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:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | 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:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | 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:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | 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:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | 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:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | HasOnlyPk { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SelfReferential` in this scope [INFO] [stdout] --> tests/basic.rs:89:6 [INFO] [stdout] | [INFO] [stdout] 89 | impl SelfReferential { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SelfReferential` in this scope [INFO] [stdout] --> tests/basic.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | SelfReferential { [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:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | 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:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | 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:155:28 [INFO] [stdout] | [INFO] [stdout] 155 | 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:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | 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:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | 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:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | 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:208:16 [INFO] [stdout] | [INFO] [stdout] 208 | 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:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | let foo3: &Foo = bar2.foo.get().unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SelfReferential` in this scope [INFO] [stdout] --> tests/basic.rs:321:16 [INFO] [stdout] | [INFO] [stdout] 321 | let inner: SelfReferential = o1.reference.unwrap().load(&conn).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste` [INFO] [stdout] --> tests/basic.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use paste; [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 `HasCustomField` [INFO] [stdout] --> tests/custom_type.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | 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 `HasCustomField` [INFO] [stdout] --> tests/custom_type.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | 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:82:46 [INFO] [stdout] | [INFO] [stdout] 82 | 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 `HasCustomField` [INFO] [stdout] --> tests/custom_type.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | 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:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | 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 `Frobnozzle` [INFO] [stdout] --> tests/custom_type.rs:88:52 [INFO] [stdout] | [INFO] [stdout] 88 | let results = query!(HasCustomField, frob == { Frobnozzle::Bar }) [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 `Tag` in this scope [INFO] [stdout] --> tests/common/blog.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_tag(conn: &Connection, name: &str) -> 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 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:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | 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:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | 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:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | 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:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | HasCustomField { [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:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | let results = query!(HasCustomField, frob == { Frobnozzle::Bar }) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste` [INFO] [stdout] --> tests/custom_type.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use paste; [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/custom_type.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> tests/common/blog.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 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/common/blog.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 78 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "679cb8bf1b19a3ec06462abf1ea7cd9bbd06ac3e78ae6cb11ec300bae8c1423a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "679cb8bf1b19a3ec06462abf1ea7cd9bbd06ac3e78ae6cb11ec300bae8c1423a", kill_on_drop: false }` [INFO] [stdout] 679cb8bf1b19a3ec06462abf1ea7cd9bbd06ac3e78ae6cb11ec300bae8c1423a