[INFO] cloning repository https://github.com/Electron100/butane [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Electron100/butane" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElectron100%2Fbutane", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElectron100%2Fbutane'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e239810c87334c10f0e9c9f8c485d29939f75e7 [INFO] checking Electron100/butane against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElectron100%2Fbutane" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Electron100/butane on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Electron100/butane [INFO] finished tweaking git repo https://github.com/Electron100/butane [INFO] tweaked toml for git repo https://github.com/Electron100/butane written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Electron100/butane already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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.2 [INFO] [stderr] Downloaded sha2 v0.9.4 [INFO] [stderr] Downloaded libsqlite3-sys v0.22.1 [INFO] [stderr] Downloaded darling_core v0.9.0 [INFO] [stderr] Downloaded darling v0.9.0 [INFO] [stderr] Downloaded darling_macro v0.9.0 [INFO] [stderr] Downloaded exec_time v0.1.4 [INFO] [stderr] Downloaded rusqlite v0.25.1 [INFO] [stderr] Downloaded postgres-native-tls v0.5.0 [INFO] [stderr] Downloaded cpufeatures v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 005f74e8e11ff8883ebfe4922974d686ad7ad0eae87a9dc0156a9ca760f883ad [INFO] running `Command { std: "docker" "start" "-a" "005f74e8e11ff8883ebfe4922974d686ad7ad0eae87a9dc0156a9ca760f883ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "005f74e8e11ff8883ebfe4922974d686ad7ad0eae87a9dc0156a9ca760f883ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "005f74e8e11ff8883ebfe4922974d686ad7ad0eae87a9dc0156a9ca760f883ad", kill_on_drop: false }` [INFO] [stdout] 005f74e8e11ff8883ebfe4922974d686ad7ad0eae87a9dc0156a9ca760f883ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb234b0f5d6b5448280601fdc9ca4e5215366e33dae037543d2f875790c64a94 [INFO] running `Command { std: "docker" "start" "-a" "eb234b0f5d6b5448280601fdc9ca4e5215366e33dae037543d2f875790c64a94", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking cpufeatures v0.1.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking rustc-demangle v0.1.19 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.4 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling libsqlite3-sys v0.22.1 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking syn v1.0.72 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Checking addr2line v0.15.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Checking rusqlite v0.25.1 [INFO] [stderr] Compiling geo-types v0.7.2 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Compiling postgres-protocol v0.6.1 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling exec_time v0.1.4 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking postgres-types v0.2.1 [INFO] [stderr] Checking tokio-postgres v0.7.2 [INFO] [stderr] Checking postgres v0.19.1 [INFO] [stderr] Checking butane_core v0.4.1 (/opt/rustwide/workdir/butane_core) [INFO] [stderr] Checking butane_codegen v0.4.0 (/opt/rustwide/workdir/butane_codegen) [INFO] [stderr] Checking butane v0.4.1 (/opt/rustwide/workdir/butane) [INFO] [stderr] Checking getting_started v0.1.0 (/opt/rustwide/workdir/examples/getting_started) [INFO] [stderr] Checking butane_cli v0.4.1 (/opt/rustwide/workdir/butane_cli) [INFO] [stderr] Checking example v0.1.0 (/opt/rustwide/workdir/example) [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> examples/getting_started/src/models.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[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] --> examples/getting_started/src/models.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[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] --> examples/getting_started/src/models.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `models::Blog`, `models::Post` [INFO] [stdout] --> examples/getting_started/src/lib.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use models::{Blog, Post}; [INFO] [stdout] | ^^^^ ^^^^ no `Post` in `models` [INFO] [stdout] | | [INFO] [stdout] | no `Blog` in `models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> butane/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] --> butane/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[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> examples/getting_started/src/models.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | impl Blog { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> butane/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[E0422]: cannot find struct, variant or union type `Blog` in this scope [INFO] [stdout] --> examples/getting_started/src/models.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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] --> examples/getting_started/src/models.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | 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] --> examples/getting_started/src/models.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(blog: &Blog, title: String, body: String) -> 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] --> examples/getting_started/src/models.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | 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] --> examples/getting_started/src/models.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 55 | 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] --> examples/getting_started/src/models.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude::*` [INFO] [stdout] --> examples/getting_started/src/models.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] warning: unused import: `ForeignKey` [INFO] [stdout] --> examples/getting_started/src/models.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::{model, ForeignKey, Many, ObjectState}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> examples/getting_started/src/models.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[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] --> example/src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[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] --> examples/getting_started/src/models.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[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] --> example/src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[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] --> example/src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[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] --> examples/getting_started/src/models.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `models::Blog`, `models::Post` [INFO] [stdout] --> examples/getting_started/src/lib.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use models::{Blog, Post}; [INFO] [stdout] | ^^^^ ^^^^ no `Post` in `models` [INFO] [stdout] | | [INFO] [stdout] | no `Blog` in `models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> examples/getting_started/src/models.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | 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] --> examples/getting_started/src/models.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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] --> examples/getting_started/src/models.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | 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] --> examples/getting_started/src/models.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(blog: &Blog, title: String, body: String) -> 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] --> examples/getting_started/src/models.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | 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] --> examples/getting_started/src/models.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 55 | 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] --> examples/getting_started/src/models.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude::*` [INFO] [stdout] --> examples/getting_started/src/models.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] warning: unused import: `ForeignKey` [INFO] [stdout] --> examples/getting_started/src/models.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::{model, ForeignKey, Many, ObjectState}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let mut tag_asia = Tag::new("asia"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let mut tag_danger = Tag::new("danger"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let mut tag_monkeys = Tag::new("monkeys"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> butane/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[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> butane/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[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> butane/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] --> butane/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[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> butane/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] --> butane/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] warning: unused import: `butane::prelude` [INFO] [stdout] --> examples/getting_started/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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: aborting due to 11 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432. [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] --> butane/tests/common/blog.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let mut tag_asia = Tag::new("asia"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let mut tag_danger = Tag::new("danger"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let mut tag_monkeys = Tag::new("monkeys"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> butane/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[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `getting_started` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> butane/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[E0433]: failed to resolve: use of undeclared type `FooUU` [INFO] [stdout] --> butane/tests/uuid.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let mut foo = FooUU::new(id); [INFO] [stdout] | ^^^^^ use of undeclared type `FooUU` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooUU` [INFO] [stdout] --> butane/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] --> butane/tests/uuid.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | let foo3 = FooUU::get(&conn, id).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `FooUU` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/tests/common/blog.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooUU` in this scope [INFO] [stdout] --> butane/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] --> butane/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: custom attribute panicked [INFO] [stdout] --> butane/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] --> butane/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] [stderr] unable to save type IO error Read-only file system (os error 30) [INFO] [stdout] error: unable to save type [INFO] [stdout] --> butane/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] --> butane/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] --> butane/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] warning: unused import: `butane::prelude` [INFO] [stdout] --> examples/getting_started/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432. [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 `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let mut tag_asia = Tag::new("asia"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let mut tag_danger = Tag::new("danger"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let mut tag_monkeys = Tag::new("monkeys"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> butane/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] --> butane/tests/common/blog.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Frobnozzle` [INFO] [stdout] --> butane/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] --> butane/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] --> butane/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 `HasCustomField` [INFO] [stdout] --> butane/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] --> butane/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 `HasCustomField` [INFO] [stdout] --> butane/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] --> butane/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] --> butane/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] [stderr] unable to save type IO error Read-only file system (os error 30) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasCustomField` [INFO] [stdout] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/tests/common/blog.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Frobnozzle` in this scope [INFO] [stdout] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] error: unable to save type [INFO] [stdout] --> butane/tests/custom_pg.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | #[butane_type(Custom(POINT))] [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] --> butane/tests/custom_pg.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[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] --> example/src/main.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | let _specific_post = Post::get(&conn, 1); [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> butane/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] --> butane/tests/common/blog.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] --> butane/tests/common/blog.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 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] 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[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> example/src/main.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | let _published_posts = query!(Post, published == true).limit(5).load(&conn)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> example/src/main.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | let unliked_posts = query!(Post, published == true && likes < 5).load(&conn)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> example/src/main.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let _blog: &Blog = unliked_posts.first().unwrap().blog.load(&conn)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> example/src/main.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | let _tagged_posts = query!(Post, tags.contains("dinosaurs")).load(&conn); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> example/src/main.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | let blog: Blog = find!(Blog, name == "Bears", &conn).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> example/src/main.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let blog: Blog = find!(Blog, name == "Bears", &conn).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> example/src/main.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | let _posts_in_blog = query!(Post, blog == { &blog }).load(&conn); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> example/src/main.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | let _posts_in_blog2 = query!(Post, blog == { blog }).load(&conn); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> example/src/main.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | let _posts_in_blog = query!(Post, blog.matches(name == "Bears")).load(&conn); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ForeignKey`, `Many` [INFO] [stdout] --> example/src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use butane::{ForeignKey, Many}; [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] --> example/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> butane/tests/custom_type.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> butane/tests/common/blog.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let mut tag_asia = Tag::new("asia"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let mut tag_danger = Tag::new("danger"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let mut tag_monkeys = Tag::new("monkeys"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> butane/tests/custom_pg.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | Point::SQLTYPE, [INFO] [stdout] | ^^^^^ use of undeclared type `Point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trip` [INFO] [stdout] --> butane/tests/custom_pg.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let trip2 = Trip::get(&conn, trip.id).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `Trip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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 `Point` in this scope [INFO] [stdout] --> butane/tests/custom_pg.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | impl Point { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::custom_pg::geo_types::Point; [INFO] [stdout] | [INFO] [stdout] 6 | use geo_types::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Point` in this scope [INFO] [stdout] --> butane/tests/custom_pg.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | Point(geo_types::Point::::new(x, y)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::custom_pg::geo_types::Geometry::Point; [INFO] [stdout] | [INFO] [stdout] 6 | use crate::custom_pg::geo_types::Point; [INFO] [stdout] | [INFO] [stdout] 6 | use geo_types::Geometry::Point; [INFO] [stdout] | [INFO] [stdout] 6 | use geo_types::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> butane/tests/custom_pg.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | impl ToSql for Point { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::custom_pg::geo_types::Point; [INFO] [stdout] | [INFO] [stdout] 6 | use geo_types::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> butane/tests/custom_pg.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | impl FromSql for Point { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::custom_pg::geo_types::Point; [INFO] [stdout] | [INFO] [stdout] 6 | use geo_types::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> butane/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[E0425]: cannot find function, tuple struct or tuple variant `Point` in this scope [INFO] [stdout] --> butane/tests/custom_pg.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(Point(postgres::types::FromSql::from_sql(&ty, data)?)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::custom_pg::geo_types::Geometry::Point; [INFO] [stdout] | [INFO] [stdout] 6 | use crate::custom_pg::geo_types::Point; [INFO] [stdout] | [INFO] [stdout] 6 | use geo_types::Geometry::Point; [INFO] [stdout] | [INFO] [stdout] 6 | use geo_types::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> butane/tests/custom_pg.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | impl FieldType for Point { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::custom_pg::geo_types::Point; [INFO] [stdout] | [INFO] [stdout] 6 | use geo_types::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Trip` in this scope [INFO] [stdout] --> butane/tests/custom_pg.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | let mut trip = Trip { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> butane/tests/custom_pg.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | pt_from: Point::new(0.0, 0.0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::custom_pg::geo_types::Point; [INFO] [stdout] | [INFO] [stdout] 6 | use geo_types::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> example/src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[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 `Point` [INFO] [stdout] --> butane/tests/custom_pg.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | pt_to: Point::new(8.0, 9.0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::custom_pg::geo_types::Point; [INFO] [stdout] | [INFO] [stdout] 6 | use geo_types::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> butane/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] --> example/src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[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] --> butane/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] --> example/src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> example/src/main.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | let _specific_post = Post::get(&conn, 1); [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> example/src/main.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | let _published_posts = query!(Post, published == true).limit(5).load(&conn)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> example/src/main.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | let unliked_posts = query!(Post, published == true && likes < 5).load(&conn)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> example/src/main.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let _blog: &Blog = unliked_posts.first().unwrap().blog.load(&conn)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> example/src/main.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | let _tagged_posts = query!(Post, tags.contains("dinosaurs")).load(&conn); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> example/src/main.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | let blog: Blog = find!(Blog, name == "Bears", &conn).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> example/src/main.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let blog: Blog = find!(Blog, name == "Bears", &conn).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> example/src/main.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | let _posts_in_blog = query!(Post, blog == { &blog }).load(&conn); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> example/src/main.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | let _posts_in_blog2 = query!(Post, blog == { blog }).load(&conn); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> example/src/main.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | let _posts_in_blog = query!(Post, blog.matches(name == "Bears")).load(&conn); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ForeignKey`, `Many` [INFO] [stdout] --> example/src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use butane::{ForeignKey, Many}; [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] --> example/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> butane/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] --> butane/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[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> butane/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 `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let mut tag_asia = Tag::new("asia"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let mut tag_danger = Tag::new("danger"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] unable to save type IO error Read-only file system (os error 30) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let mut tag_monkeys = Tag::new("monkeys"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unable to save type [INFO] [stdout] --> butane/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[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> butane/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 `WithNullable` [INFO] [stdout] --> butane/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] --> butane/tests/nullable.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let mut with_some = WithNullable::new(2); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `WithNullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> butane/tests/nullable.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | let obj = WithNullable::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `WithNullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> butane/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: custom attribute panicked [INFO] [stdout] --> butane/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 `WithNullable` [INFO] [stdout] --> butane/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: custom attribute panicked [INFO] [stdout] --> butane/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[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> butane/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: custom attribute panicked [INFO] [stdout] --> butane/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[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> butane/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 `WithNullable` [INFO] [stdout] --> butane/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[E0432]: unresolved imports `common::blog::Blog`, `common::blog::Post`, `common::blog::Tag` [INFO] [stdout] --> butane/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[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> butane/tests/nullable.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let mut obj = WithNullable::new(1); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `WithNullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> butane/tests/nullable.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let mut obj = WithNullable::new(2); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `WithNullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let mut tag_asia = Tag::new("asia"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let mut tag_danger = Tag::new("danger"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let mut tag_monkeys = Tag::new("monkeys"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Tag` in this scope [INFO] [stdout] --> butane/tests/common/blog.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WithNullable` in this scope [INFO] [stdout] --> butane/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] --> butane/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] --> butane/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] --> butane/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 `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/tests/common/blog.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let mut tag_asia = Tag::new("asia"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let mut tag_danger = Tag::new("danger"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let mut tag_monkeys = Tag::new("monkeys"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let mut tag_asia = Tag::new("asia"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let mut tag_danger = Tag::new("danger"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let mut tag_monkeys = Tag::new("monkeys"); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | 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 `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let mut foo2 = Foo::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | let foo3 = Foo::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:103:48 [INFO] [stdout] | [INFO] [stdout] 103 | if let Some(butane::Error::NoSuchObject) = Foo::get(&conn, 1).err() { [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | let mut foo1 = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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 `Foo` [INFO] [stdout] --> butane/tests/basic.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | let mut foo2 = Foo::new(2); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> butane/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] --> butane/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] --> butane/tests/common/blog.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | 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] --> butane/tests/basic.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | 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] --> butane/tests/basic.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | 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] --> butane/tests/basic.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | 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] --> butane/tests/basic.rs:159:20 [INFO] [stdout] | [INFO] [stdout] 159 | let mut foo3 = Foo::new(3); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 175 | let mut foo = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> butane/tests/common/blog.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> butane/tests/custom_pg.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bar` [INFO] [stdout] --> butane/tests/basic.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 177 | 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] --> butane/tests/basic.rs:180:16 [INFO] [stdout] | [INFO] [stdout] 180 | 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] --> butane/tests/basic.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | let mut foo = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, 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 `Bar` [INFO] [stdout] --> butane/tests/basic.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | 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] --> butane/tests/basic.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | let bar2 = Bar::get(&conn, "tarzan".to_string()).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, 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 `Baz` [INFO] [stdout] --> butane/tests/basic.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | 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] --> butane/tests/basic.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | 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] --> butane/tests/basic.rs:205:20 [INFO] [stdout] | [INFO] [stdout] 205 | 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] --> butane/tests/basic.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 213 | let mut obj = HasOnlyPk::new(1); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `HasOnlyPk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:225:19 [INFO] [stdout] | [INFO] [stdout] 225 | 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] --> butane/tests/basic.rs:231:16 [INFO] [stdout] | [INFO] [stdout] 231 | let foo2 = Foo::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:240:23 [INFO] [stdout] | [INFO] [stdout] 240 | 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] --> butane/tests/basic.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | 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] --> butane/tests/basic.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | 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] --> butane/tests/basic.rs:264:11 [INFO] [stdout] | [INFO] [stdout] 264 | 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] --> butane/tests/basic.rs:273:20 [INFO] [stdout] | [INFO] [stdout] 273 | 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] --> butane/tests/basic.rs:277:20 [INFO] [stdout] | [INFO] [stdout] 277 | let mut foo2 = Foo::new(2); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/tests/common/blog.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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] --> butane/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 `Foo` in this scope [INFO] [stdout] --> butane/tests/basic.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | 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] --> butane/tests/basic.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | 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] --> butane/tests/basic.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | 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] --> butane/tests/basic.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | 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] --> butane/tests/basic.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | 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] --> butane/tests/basic.rs:169:22 [INFO] [stdout] | [INFO] [stdout] 169 | 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] --> butane/tests/basic.rs:192:16 [INFO] [stdout] | [INFO] [stdout] 192 | 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] --> butane/tests/basic.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 195 | let foo3: &Foo = bar2.foo.get().unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ForeignKey` [INFO] [stdout] --> butane/tests/basic.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use butane::{ForeignKey, ObjectState}; [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] --> butane/tests/common/blog.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> butane/tests/nullable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> butane/tests/common/blog.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, 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] --> butane/tests/query.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] --> butane/tests/common/blog.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> butane/tests/common/blog.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 71 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" "eb234b0f5d6b5448280601fdc9ca4e5215366e33dae037543d2f875790c64a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb234b0f5d6b5448280601fdc9ca4e5215366e33dae037543d2f875790c64a94", kill_on_drop: false }` [INFO] [stdout] eb234b0f5d6b5448280601fdc9ca4e5215366e33dae037543d2f875790c64a94