[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] 87456eb9d739e2bf70a36d42869150630ee7faea [INFO] checking Electron100/butane against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElectron100%2Fbutane" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Electron100/butane on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nonempty v0.10.0 [INFO] [stderr] Downloaded garde v0.18.0 [INFO] [stderr] Downloaded block-id v0.2.1 [INFO] [stderr] Downloaded hashlink v0.9.0 [INFO] [stderr] Downloaded serde_variant v0.1.3 [INFO] [stderr] Downloaded exec_time v0.1.4 [INFO] [stderr] Downloaded clap-verbosity-flag v2.2.0 [INFO] [stderr] Downloaded rusqlite v0.31.0 [INFO] [stderr] Downloaded dummy v0.7.0 [INFO] [stderr] Downloaded garde_derive v0.18.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cbce072f4af059d3fd6d3f4764b495674c3dafcd7939c8d1f6029d22a33ced1 [INFO] running `Command { std: "docker" "start" "-a" "0cbce072f4af059d3fd6d3f4764b495674c3dafcd7939c8d1f6029d22a33ced1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cbce072f4af059d3fd6d3f4764b495674c3dafcd7939c8d1f6029d22a33ced1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cbce072f4af059d3fd6d3f4764b495674c3dafcd7939c8d1f6029d22a33ced1", kill_on_drop: false }` [INFO] [stdout] 0cbce072f4af059d3fd6d3f4764b495674c3dafcd7939c8d1f6029d22a33ced1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d0ae1315bd7802f7cb42aa1c857e24b6b4434dce9939c0b89a6a7080bc19fe9 [INFO] running `Command { std: "docker" "start" "-a" "2d0ae1315bd7802f7cb42aa1c857e24b6b4434dce9939c0b89a6a7080bc19fe9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking getrandom v0.2.13 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking geo-types v0.7.13 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking sqlparser v0.44.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking nonempty v0.10.0 [INFO] [stderr] Checking hashlink v0.9.0 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling serde_variant v0.1.3 [INFO] [stderr] Compiling butane v0.6.1 (/opt/rustwide/workdir/butane) [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking block-id v0.2.1 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Checking postgres v0.19.7 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking butane_core v0.6.1 (/opt/rustwide/workdir/butane_core) [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking deunicode v1.4.3 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking butane_test_helper v0.6.1 (/opt/rustwide/workdir/butane_test_helper) [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling garde_derive v0.18.0 [INFO] [stderr] Checking clap-verbosity-flag v2.2.0 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling dummy v0.7.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking castaway v0.2.2 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Compiling example v0.1.0 (/opt/rustwide/workdir/example) [INFO] [stderr] Checking garde v0.18.0 [INFO] [stderr] Checking fake v2.9.2 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling assert_cmd v2.0.14 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling butane_codegen v0.6.1 (/opt/rustwide/workdir/butane_codegen) [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling exec_time v0.1.4 [INFO] [stderr] Checking butane_cli v0.6.1 (/opt/rustwide/workdir/butane_cli) [INFO] [stderr] Checking getting_started v0.1.0 (/opt/rustwide/workdir/examples/getting_started) [INFO] [stderr] Checking newtype v0.1.0 (/opt/rustwide/workdir/examples/newtype) [INFO] [stderr] unable to save type IO error Read-only file system (os error 30) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> butane/tests/custom_enum_derived.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(PartialEq, Eq, Debug, Clone, FieldType)] [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: proc-macro derive panicked [INFO] [stdout] --> examples/newtype/src/models.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug, Default, Deserialize, Eq, FieldType, PartialEq, Serialize)] [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: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: unable to save type [INFO] [stdout] --> butane/tests/basic.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[butane_type] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `butane_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> butane/tests/custom_enum_derived.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[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: proc-macro derive panicked [INFO] [stdout] --> examples/newtype/src/models.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Debug, Default, Deserialize, Eq, FieldType, PartialEq, Serialize)] [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: proc-macro derive panicked [INFO] [stdout] --> examples/newtype/src/models.rs:18:50 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Clone, Debug, Default, Deserialize, Eq, FieldType, PartialEq, Serialize, Validate)] [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: proc-macro derive panicked [INFO] [stdout] --> examples/newtype/src/models.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Clone, Debug, Default, Deserialize, Eq, FieldType, PartialEq, Serialize)] [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:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[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: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/newtype/src/models.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[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:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[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:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[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:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[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/newtype/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: custom attribute panicked [INFO] [stdout] --> example/src/main.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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: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:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> butane/tests/basic.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[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:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | #[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: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: custom attribute panicked [INFO] [stdout] --> butane/tests/basic.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | #[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:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | 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[E0432]: unresolved imports `models::Blog`, `models::Post` [INFO] [stdout] --> examples/newtype/src/lib.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use models::{Blog, Post}; [INFO] [stdout] | ^^^^ ^^^^ no `Post` in `models` [INFO] [stdout] | | [INFO] [stdout] | no `Blog` in `models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> examples/getting_started/src/models.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | 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:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | Blog { [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/newtype/src/models.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | impl Blog { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> examples/getting_started/src/models.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | 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:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | 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:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | 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:71:6 [INFO] [stdout] | [INFO] [stdout] 71 | 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:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Tag { tag: tag.into() } [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/newtype/src/models.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let blog = Blog { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> examples/newtype/src/models.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | 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/newtype/src/models.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | 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/newtype/src/models.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Post { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [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] [stderr] error: could not compile `getting_started` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `HasCustomField2` in this scope [INFO] [stdout] --> butane/tests/custom_enum_derived.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | impl HasCustomField2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `HasCustomField2` in this scope [INFO] [stdout] --> butane/tests/custom_enum_derived.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | HasCustomField2 { id, frob } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HasCustomField2` in this scope [INFO] [stdout] --> butane/tests/custom_enum_derived.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | let results = query!(HasCustomField2, frob == { Whatsit::Bar }) [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:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | 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] --> example/src/main.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | 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] --> example/src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Post { [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] --> example/src/main.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let mut blog = Blog { [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] --> example/src/main.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | let mut tag = Tag { [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:68:34 [INFO] [stdout] | [INFO] [stdout] 68 | 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:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | 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:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | 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:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | 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 `Post` in this scope [INFO] [stdout] --> example/src/main.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | let tagged_posts = query!(Post, tags.contains(tag == "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:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | 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:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | 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:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | 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:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | 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:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | 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] error[E0277]: the trait bound `BlogId: FieldType` is not satisfied [INFO] [stdout] --> examples/newtype/src/models.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | impl PrimaryKeyType for BlogId {} [INFO] [stdout] | ^^^^^^ the trait `FieldType` is not implemented for `BlogId` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FieldType`: [INFO] [stdout] AutoPk [INFO] [stdout] BTreeMap [INFO] [stdout] ForeignKey [INFO] [stdout] HashMap [INFO] [stdout] Uuid [INFO] [stdout] Vec [INFO] [stdout] bool [INFO] [stdout] chrono::datetime::DateTime [INFO] [stdout] and 13 others [INFO] [stdout] note: required by a bound in `PrimaryKeyType` [INFO] [stdout] --> /opt/rustwide/workdir/butane_core/src/sqlval.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 292 | pub trait PrimaryKeyType: FieldType + Clone + PartialEq { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PrimaryKeyType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Post` [INFO] [stdout] --> example/src/main.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let mut post = Post::new(&blog, "Grizzly".into(), "lorem ipsum".into()); [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] --> example/src/main.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | let _specific_post = Post::get(&conn, 1)?; [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PostId: FieldType` is not satisfied [INFO] [stdout] --> examples/newtype/src/models.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | impl PrimaryKeyType for PostId {} [INFO] [stdout] | ^^^^^^ the trait `FieldType` is not implemented for `PostId` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FieldType`: [INFO] [stdout] AutoPk [INFO] [stdout] BTreeMap [INFO] [stdout] ForeignKey [INFO] [stdout] HashMap [INFO] [stdout] Uuid [INFO] [stdout] Vec [INFO] [stdout] bool [INFO] [stdout] chrono::datetime::DateTime [INFO] [stdout] and 13 others [INFO] [stdout] note: required by a bound in `PrimaryKeyType` [INFO] [stdout] --> /opt/rustwide/workdir/butane_core/src/sqlval.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 292 | pub trait PrimaryKeyType: FieldType + Clone + PartialEq { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PrimaryKeyType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasCustomField2` [INFO] [stdout] --> butane/tests/custom_enum_derived.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | let mut obj = HasCustomField2::new(1, Whatsit::Foo); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HasCustomField2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasCustomField2` [INFO] [stdout] --> butane/tests/custom_enum_derived.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | let obj2 = HasCustomField2::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HasCustomField2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasCustomField2` [INFO] [stdout] --> butane/tests/custom_enum_derived.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | let mut obj_foo = HasCustomField2::new(1, Whatsit::Foo); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HasCustomField2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasCustomField2` [INFO] [stdout] --> butane/tests/custom_enum_derived.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let mut obj_bar = HasCustomField2::new(2, Whatsit::Bar); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HasCustomField2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0422, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `newtype` (lib) due to 15 previous errors [INFO] [stdout] error: aborting due to 20 previous errors [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[E0599]: no method named `to_sql` found for enum `Whatsit` in the current scope [INFO] [stdout] --> butane/tests/custom_enum_derived.rs:56:62 [INFO] [stdout] | [INFO] [stdout] 9 | enum Whatsit { [INFO] [stdout] | ------------ method `to_sql` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 56 | assert_eq!(SqlVal::Text("Foo".to_string()), Whatsit::Foo.to_sql()); [INFO] [stdout] | ^^^^^^ method not found in `Whatsit` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `to_sql`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `ToSql` [INFO] [stdout] candidate #2: `postgres_types::ToSql` [INFO] [stdout] candidate #3: `rusqlite::types::to_sql::ToSql` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `example` (bin "example" test) due to 21 previous errors [INFO] [stdout] error[E0599]: no method named `to_sql` found for enum `Whatsit` in the current scope [INFO] [stdout] --> butane/tests/custom_enum_derived.rs:57:62 [INFO] [stdout] | [INFO] [stdout] 9 | enum Whatsit { [INFO] [stdout] | ------------ method `to_sql` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 57 | assert_eq!(SqlVal::Text("Bar".to_string()), Whatsit::Bar.to_sql()); [INFO] [stdout] | ^^^^^^ method not found in `Whatsit` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `to_sql`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `ToSql` [INFO] [stdout] candidate #2: `postgres_types::ToSql` [INFO] [stdout] candidate #3: `rusqlite::types::to_sql::ToSql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_sql` found for enum `Whatsit` in the current scope [INFO] [stdout] --> butane/tests/custom_enum_derived.rs:58:62 [INFO] [stdout] | [INFO] [stdout] 9 | enum Whatsit { [INFO] [stdout] | ------------ method `to_sql` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 58 | assert_eq!(SqlVal::Text("Baz".to_string()), Whatsit::Baz.to_sql()); [INFO] [stdout] | ^^^^^^ method not found in `Whatsit` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `to_sql`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `ToSql` [INFO] [stdout] candidate #2: `postgres_types::ToSql` [INFO] [stdout] candidate #3: `rusqlite::types::to_sql::ToSql` [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:58:6 [INFO] [stdout] | [INFO] [stdout] 58 | 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:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | 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:71:6 [INFO] [stdout] | [INFO] [stdout] 71 | 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:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | HasOnlyPk { id } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_sql` found for enum `Whatsit` in the current scope [INFO] [stdout] --> butane/tests/custom_enum_derived.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 9 | enum Whatsit { [INFO] [stdout] | ------------ variant or associated item `from_sql` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 65 | Whatsit::from_sql(SqlVal::Text("Foo".to_string())).unwrap() [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Whatsit` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_sql`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromSql` [INFO] [stdout] candidate #2: `postgres_types::FromSql` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 65 | Whatsit::from(SqlVal::Text("Foo".to_string())).unwrap() [INFO] [stdout] | ~~~~ [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:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | 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:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | 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:168:28 [INFO] [stdout] | [INFO] [stdout] 168 | 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:173:24 [INFO] [stdout] | [INFO] [stdout] 173 | 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:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | 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:198:22 [INFO] [stdout] | [INFO] [stdout] 198 | 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:221:16 [INFO] [stdout] | [INFO] [stdout] 221 | 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:224:16 [INFO] [stdout] | [INFO] [stdout] 224 | 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:349:16 [INFO] [stdout] | [INFO] [stdout] 349 | let inner: SelfReferential = o1.reference.unwrap().load(&conn).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TimeHolder` in this scope [INFO] [stdout] --> butane/tests/basic.rs:365:20 [INFO] [stdout] | [INFO] [stdout] 365 | let mut time = TimeHolder { [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:393:24 [INFO] [stdout] | [INFO] [stdout] 393 | let found = query!(Foo, baz.like("hello%")).load_first(&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:411:28 [INFO] [stdout] | [INFO] [stdout] 411 | let found_asc = query!(Foo, baz.like("hello%")) [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:419:29 [INFO] [stdout] | [INFO] [stdout] 419 | let found_desc = query!(Foo, baz.like("hello%")) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_sql` found for enum `Whatsit` in the current scope [INFO] [stdout] --> butane/tests/custom_enum_derived.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 9 | enum Whatsit { [INFO] [stdout] | ------------ variant or associated item `from_sql` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 69 | Whatsit::from_sql(SqlVal::Text("Bar".to_string())).unwrap() [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Whatsit` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_sql`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromSql` [INFO] [stdout] candidate #2: `postgres_types::FromSql` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 69 | Whatsit::from(SqlVal::Text("Bar".to_string())).unwrap() [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_sql` found for enum `Whatsit` in the current scope [INFO] [stdout] --> butane/tests/custom_enum_derived.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 9 | enum Whatsit { [INFO] [stdout] | ------------ variant or associated item `from_sql` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 73 | Whatsit::from_sql(SqlVal::Text("Baz".to_string())).unwrap() [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Whatsit` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_sql`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromSql` [INFO] [stdout] candidate #2: `postgres_types::FromSql` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 73 | Whatsit::from(SqlVal::Text("Baz".to_string())).unwrap() [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_sql` found for enum `Whatsit` in the current scope [INFO] [stdout] --> butane/tests/custom_enum_derived.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 9 | enum Whatsit { [INFO] [stdout] | ------------ variant or associated item `from_sql` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 75 | match Whatsit::from_sql(SqlVal::Text("Nope".to_string())) { [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Whatsit` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_sql`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromSql` [INFO] [stdout] candidate #2: `postgres_types::FromSql` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 75 | match Whatsit::from(SqlVal::Text("Nope".to_string())) { [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | 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:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | 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:120:27 [INFO] [stdout] | [INFO] [stdout] 120 | assert_eq!(Some(foo), Foo::try_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:126:16 [INFO] [stdout] | [INFO] [stdout] 126 | 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:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | if matches!(Foo::get(&conn, 1).err(), Some(butane::Error::NoSuchObject)) { [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:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(None, Foo::try_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:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | 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:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | let mut foo2 = Foo::new(2); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `butane` (test "custom_enum_derived") due to 17 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | 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:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | let mut foo2 = Foo::new(2); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | 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:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | let mut foo2 = Foo::new(2); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | let mut foo3 = Foo::new(3); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | 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:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | 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:209:16 [INFO] [stdout] | [INFO] [stdout] 209 | 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:215:19 [INFO] [stdout] | [INFO] [stdout] 215 | 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:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | 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:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | 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:230:20 [INFO] [stdout] | [INFO] [stdout] 230 | 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:232:20 [INFO] [stdout] | [INFO] [stdout] 232 | 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:234:20 [INFO] [stdout] | [INFO] [stdout] 234 | 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:242:19 [INFO] [stdout] | [INFO] [stdout] 242 | 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 `HasOnlyAutoPk` [INFO] [stdout] --> butane/tests/basic.rs:254:19 [INFO] [stdout] | [INFO] [stdout] 254 | let mut obj = HasOnlyAutoPk::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `HasOnlyAutoPk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:269:19 [INFO] [stdout] | [INFO] [stdout] 269 | 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:275:16 [INFO] [stdout] | [INFO] [stdout] 275 | 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:284:23 [INFO] [stdout] | [INFO] [stdout] 284 | 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:290:11 [INFO] [stdout] | [INFO] [stdout] 290 | 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:302:19 [INFO] [stdout] | [INFO] [stdout] 302 | 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:308:11 [INFO] [stdout] | [INFO] [stdout] 308 | 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:317:20 [INFO] [stdout] | [INFO] [stdout] 317 | 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:321:20 [INFO] [stdout] | [INFO] [stdout] 321 | 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:341:18 [INFO] [stdout] | [INFO] [stdout] 341 | 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:342:18 [INFO] [stdout] | [INFO] [stdout] 342 | 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:347:14 [INFO] [stdout] | [INFO] [stdout] 347 | let o1 = SelfReferential::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SelfReferential` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:356:15 [INFO] [stdout] | [INFO] [stdout] 356 | let 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:357:19 [INFO] [stdout] | [INFO] [stdout] 357 | 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 `TimeHolder` [INFO] [stdout] --> butane/tests/basic.rs:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | let time2 = TimeHolder::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TimeHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:383:20 [INFO] [stdout] | [INFO] [stdout] 383 | 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:387:20 [INFO] [stdout] | [INFO] [stdout] 387 | let mut foo2 = Foo::new(2); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:401:20 [INFO] [stdout] | [INFO] [stdout] 401 | 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:405:20 [INFO] [stdout] | [INFO] [stdout] 405 | let mut foo2 = Foo::new(2); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> butane/tests/basic.rs:412:29 [INFO] [stdout] | [INFO] [stdout] 412 | .order_asc(colname!(Foo, bar)) [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:420:30 [INFO] [stdout] | [INFO] [stdout] 420 | .order_desc(colname!(Foo, bar)) [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:429:19 [INFO] [stdout] | [INFO] [stdout] 429 | 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:435:19 [INFO] [stdout] | [INFO] [stdout] 435 | 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:441:21 [INFO] [stdout] | [INFO] [stdout] 441 | let retrieved = Foo::get(&conn, 1).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 79 previous errors [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: could not compile `butane` (test "basic") due to 80 previous errors [INFO] running `Command { std: "docker" "inspect" "2d0ae1315bd7802f7cb42aa1c857e24b6b4434dce9939c0b89a6a7080bc19fe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d0ae1315bd7802f7cb42aa1c857e24b6b4434dce9939c0b89a6a7080bc19fe9", kill_on_drop: false }` [INFO] [stdout] 2d0ae1315bd7802f7cb42aa1c857e24b6b4434dce9939c0b89a6a7080bc19fe9