[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] c4227e222632140d556d4171ce5ec34a3b9cf1d4 [INFO] checking Electron100/butane against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [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 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2ae166e1447def0c7da3745603994da72e0e8cdfedb813bb93201fc8330c0689 [INFO] running `Command { std: "docker" "start" "-a" "2ae166e1447def0c7da3745603994da72e0e8cdfedb813bb93201fc8330c0689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ae166e1447def0c7da3745603994da72e0e8cdfedb813bb93201fc8330c0689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ae166e1447def0c7da3745603994da72e0e8cdfedb813bb93201fc8330c0689", kill_on_drop: false }` [INFO] [stdout] 2ae166e1447def0c7da3745603994da72e0e8cdfedb813bb93201fc8330c0689 [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb61b326e3f2c1735fb6cefb4339e4765e44b3555fe09bd905b1bd9fdce847c8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eb61b326e3f2c1735fb6cefb4339e4765e44b3555fe09bd905b1bd9fdce847c8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking cpufeatures v0.1.1 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking siphasher v0.3.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking object v0.24.0 [INFO] [stderr] Checking rustc-demangle v0.1.19 [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] Compiling generic-array v0.14.4 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking unicode-bidi v0.3.5 [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] Checking phf_shared v0.8.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling libsqlite3-sys v0.22.1 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking rusqlite v0.25.1 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking addr2line v0.15.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking geo-types v0.7.2 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking sha2 v0.9.4 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking postgres-protocol v0.6.1 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling exec_time v0.1.4 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Checking postgres-types v0.2.1 [INFO] [stderr] Checking tokio-postgres v0.7.2 [INFO] [stderr] Compiling postgres v0.19.1 [INFO] [stderr] Checking butane_core v0.5.0 (/opt/rustwide/workdir/butane_core) [INFO] [stdout] warning: field is never read: `ts` [INFO] [stdout] --> butane_core/src/codegen/mod.rs:529:5 [INFO] [stdout] | [INFO] [stdout] 529 | ts: TokenStream2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ts` [INFO] [stdout] --> butane_core/src/codegen/mod.rs:529:5 [INFO] [stdout] | [INFO] [stdout] 529 | ts: TokenStream2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ts` [INFO] [stdout] --> butane_core/src/codegen/mod.rs:529:5 [INFO] [stdout] | [INFO] [stdout] 529 | ts: TokenStream2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking butane_codegen v0.5.0 (/opt/rustwide/workdir/butane_codegen) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking butane v0.5.0 (/opt/rustwide/workdir/butane) [INFO] [stderr] Checking getting_started v0.1.0 (/opt/rustwide/workdir/examples/getting_started) [INFO] [stderr] Checking example v0.1.0 (/opt/rustwide/workdir/example) [INFO] [stderr] Checking butane_cli v0.5.0 (/opt/rustwide/workdir/butane_cli) [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] --> 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] --> 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[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] [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[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: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] --> 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] --> 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: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: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] --> 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: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: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/uuid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> 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] --> 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: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[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: 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[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] --> butane/tests/many.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> butane/tests/many.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[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: 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[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: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_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: 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[E0432]: unresolved imports `common::blog::Blog`, `common::blog::Post`, `common::blog::Tag` [INFO] [stdout] --> butane/tests/many.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use common::blog::{create_tag, Blog, Post, Tag}; [INFO] [stdout] | ^^^^ ^^^^ ^^^ no `Tag` in `common::blog` [INFO] [stdout] | | | [INFO] [stdout] | | no `Post` in `common::blog` [INFO] [stdout] | no `Blog` in `common::blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> 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[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tag = Tag::new(name); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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: 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[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 `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tag = Tag::new(name); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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: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] --> 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[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> 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 `Tag` in this scope [INFO] [stdout] --> butane/tests/common/blog.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_tag(conn: &Connection, name: &str) -> Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tag = Tag::new(name); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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] [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: 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 `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `Tag` in this scope [INFO] [stdout] --> butane/tests/common/blog.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_tag(conn: &Connection, name: &str) -> Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Frobnozzle` in this scope [INFO] [stdout] --> 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: 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:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 `AutoPkWithMany` [INFO] [stdout] --> butane/tests/many.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | let mut obj = AutoPkWithMany::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AutoPkWithMany` [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 `AutoPkWithMany` [INFO] [stdout] --> butane/tests/many.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | let obj = AutoPkWithMany::get(&conn, obj.id).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AutoPkWithMany` [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 `AutoPkWithMany` [INFO] [stdout] --> butane/tests/many.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | let mut obj = AutoPkWithMany::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AutoPkWithMany` [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 `Tag` in this scope [INFO] [stdout] --> butane/tests/common/blog.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_tag(conn: &Connection, name: &str) -> Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AutoPkWithMany` in this scope [INFO] [stdout] --> butane/tests/many.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl AutoPkWithMany { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AutoPkWithMany` in this scope [INFO] [stdout] --> butane/tests/many.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | AutoPkWithMany { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AutoItem` in this scope [INFO] [stdout] --> butane/tests/many.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | let unsaved_item = AutoItem { [INFO] [stdout] | ^^^^^^^^ not found in this scope [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 `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tag = Tag::new(name); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> 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: 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 `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tag = Tag::new(name); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> butane/tests/basic.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `example` due to 14 previous errors; 2 warnings emitted [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:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `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[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tag = Tag::new(name); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> 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[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 `Tag` in this scope [INFO] [stdout] --> butane/tests/common/blog.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_tag(conn: &Connection, name: &str) -> Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooUU` in this scope [INFO] [stdout] --> 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[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> 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 `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> 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[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithNullable` [INFO] [stdout] --> 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[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[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 `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 `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[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] --> 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 `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 `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: aborting due to 11 previous errors; 3 warnings emitted [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] 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[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 `Tag` in this scope [INFO] [stdout] --> butane/tests/common/blog.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_tag(conn: &Connection, name: &str) -> Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `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[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[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 `Tag` in this scope [INFO] [stdout] --> butane/tests/common/blog.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_tag(conn: &Connection, name: &str) -> Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WithNullable` in this scope [INFO] [stdout] --> 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] warning: unused import: `butane::prelude` [INFO] [stdout] --> butane/tests/common/blog.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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[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: aborting due to 19 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tag = Tag::new(name); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [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:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> 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 `Tag` in this scope [INFO] [stdout] --> butane/tests/common/blog.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_tag(conn: &Connection, name: &str) -> Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tag` [INFO] [stdout] --> butane/tests/common/blog.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tag = Tag::new(name); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> 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 `Tag` in this scope [INFO] [stdout] --> butane/tests/common/blog.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_tag(conn: &Connection, name: &str) -> Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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: 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:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tag = Tag::new(name); [INFO] [stdout] | ^^^ use of undeclared type `Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let mut cats_blog = Blog::new(1, "Cats"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blog` [INFO] [stdout] --> butane/tests/common/blog.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let mut mountains_blog = Blog::new(2, "Mountains"); [INFO] [stdout] | ^^^^ use of undeclared type `Blog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> butane/tests/common/blog.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let mut post = Post::new( [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> 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 `Foo` [INFO] [stdout] --> butane/tests/basic.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | let mut foo = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> butane/tests/common/blog.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | let mut foo2 = Foo::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | let foo3 = Foo::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:119:48 [INFO] [stdout] | [INFO] [stdout] 119 | if let Some(butane::Error::NoSuchObject) = Foo::get(&conn, 1).err() { [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | let mut foo1 = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | let mut foo2 = Foo::new(2); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | let mut foo1 = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | let mut foo2 = Foo::new(2); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | let mut foo1 = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> butane/tests/many.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:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | let mut foo2 = Foo::new(2); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 `Foo` [INFO] [stdout] --> butane/tests/basic.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 175 | let mut foo3 = Foo::new(3); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | let mut foo = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bar` [INFO] [stdout] --> butane/tests/basic.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | let mut bar = Bar::new("tarzan", foo); [INFO] [stdout] | ^^^ use of undeclared type `Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bar` [INFO] [stdout] --> butane/tests/basic.rs:196:16 [INFO] [stdout] | [INFO] [stdout] 196 | let bar2 = Bar::get(&conn, "tarzan".to_string()).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | let mut foo = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bar` [INFO] [stdout] --> butane/tests/basic.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | let mut bar = Bar::new("tarzan", foo.clone()); [INFO] [stdout] | ^^^ use of undeclared type `Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bar` [INFO] [stdout] --> butane/tests/basic.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 206 | let bar2 = Bar::get(&conn, "tarzan".to_string()).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Baz` [INFO] [stdout] --> butane/tests/basic.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 217 | let mut baz1 = Baz::new("baz1"); [INFO] [stdout] | ^^^ use of undeclared type `Baz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Baz` [INFO] [stdout] --> butane/tests/basic.rs:219:20 [INFO] [stdout] | [INFO] [stdout] 219 | let mut baz2 = Baz::new("baz2"); [INFO] [stdout] | ^^^ use of undeclared type `Baz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Baz` [INFO] [stdout] --> butane/tests/basic.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | let mut baz3 = Baz::new("baz3"); [INFO] [stdout] | ^^^ use of undeclared type `Baz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasOnlyPk` [INFO] [stdout] --> butane/tests/basic.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | let mut obj = HasOnlyPk::new(1); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `HasOnlyPk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | let mut foo = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:247:16 [INFO] [stdout] | [INFO] [stdout] 247 | let foo2 = Foo::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | let mut foo = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:262:11 [INFO] [stdout] | [INFO] [stdout] 262 | match Foo::get(&conn, 1) { [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:274:19 [INFO] [stdout] | [INFO] [stdout] 274 | let mut foo = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:280:11 [INFO] [stdout] | [INFO] [stdout] 280 | match Foo::get(&conn, 1) { [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:289:20 [INFO] [stdout] | [INFO] [stdout] 289 | let mut foo1 = Foo::new(1); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:293:20 [INFO] [stdout] | [INFO] [stdout] 293 | let mut foo2 = Foo::new(2); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SelfReferential` [INFO] [stdout] --> butane/tests/basic.rs:313:18 [INFO] [stdout] | [INFO] [stdout] 313 | let mut o1 = SelfReferential::new(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SelfReferential` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SelfReferential` [INFO] [stdout] --> butane/tests/basic.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | let mut o2 = SelfReferential::new(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SelfReferential` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SelfReferential` [INFO] [stdout] --> butane/tests/basic.rs:319:14 [INFO] [stdout] | [INFO] [stdout] 319 | let o1 = SelfReferential::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SelfReferential` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> 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 `Tag` in this scope [INFO] [stdout] --> butane/tests/common/blog.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_tag(conn: &Connection, name: &str) -> Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> 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 `SelfReferential` in this scope [INFO] [stdout] --> butane/tests/basic.rs:89:6 [INFO] [stdout] | [INFO] [stdout] 89 | impl SelfReferential { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SelfReferential` in this scope [INFO] [stdout] --> butane/tests/basic.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | SelfReferential { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> butane/tests/basic.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | let found: Foo = find!(Foo, bar == 43, &conn).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> butane/tests/basic.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | let found: Foo = find!(Foo, bar == 43, &conn).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> butane/tests/basic.rs:155:28 [INFO] [stdout] | [INFO] [stdout] 155 | let mut found = query!(Foo, bar == 42).load(&conn).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> butane/tests/basic.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | let found = query!(Foo, bar < 44).load(&conn).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> butane/tests/basic.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | let cnt = query!(Foo, baz == "goodbye world").delete(&conn).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> butane/tests/basic.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | let cnt = query!(Foo, baz.like("hello%")).delete(&conn).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> butane/tests/basic.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 208 | let foo2: &Foo = bar2.foo.load(&conn).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> butane/tests/basic.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | let foo3: &Foo = bar2.foo.get().unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SelfReferential` in this scope [INFO] [stdout] --> butane/tests/basic.rs:321:16 [INFO] [stdout] | [INFO] [stdout] 321 | let inner: SelfReferential = o1.reference.unwrap().load(&conn).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> butane/tests/common/blog.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> butane/tests/common/blog.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 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/custom_pg.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 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] 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:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude` [INFO] [stdout] --> 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:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 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:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 77 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "eb61b326e3f2c1735fb6cefb4339e4765e44b3555fe09bd905b1bd9fdce847c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb61b326e3f2c1735fb6cefb4339e4765e44b3555fe09bd905b1bd9fdce847c8", kill_on_drop: false }` [INFO] [stdout] eb61b326e3f2c1735fb6cefb4339e4765e44b3555fe09bd905b1bd9fdce847c8