[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] testing Electron100/butane against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElectron100%2Fbutane" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Electron100/butane on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-4/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1615054088e52f7de28f54398cb47f5680ce5fa0ea4384a079380ec366405d87 [INFO] running `Command { std: "docker" "start" "-a" "1615054088e52f7de28f54398cb47f5680ce5fa0ea4384a079380ec366405d87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1615054088e52f7de28f54398cb47f5680ce5fa0ea4384a079380ec366405d87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1615054088e52f7de28f54398cb47f5680ce5fa0ea4384a079380ec366405d87", kill_on_drop: false }` [INFO] [stdout] 1615054088e52f7de28f54398cb47f5680ce5fa0ea4384a079380ec366405d87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ed449a3c89105cdd95012983665f4ade7495af0e1a9bea5629e37eac494f83c [INFO] running `Command { std: "docker" "start" "-a" "7ed449a3c89105cdd95012983665f4ade7495af0e1a9bea5629e37eac494f83c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling cpufeatures v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling rustc-demangle v0.1.19 [INFO] [stderr] Compiling object v0.24.0 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling libsqlite3-sys v0.22.1 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling geo-types v0.7.2 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.4 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rusqlite v0.25.1 [INFO] [stderr] Compiling postgres-protocol v0.6.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling addr2line v0.15.1 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling postgres-types v0.2.1 [INFO] [stderr] Compiling tokio-postgres v0.7.2 [INFO] [stderr] Compiling postgres v0.19.1 [INFO] [stderr] Compiling 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] note: `CompilerErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> butane_core/src/codegen/mod.rs:527:10 [INFO] [stdout] | [INFO] [stdout] 527 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling butane_codegen v0.5.0 (/opt/rustwide/workdir/butane_codegen) [INFO] [stderr] Compiling butane v0.5.0 (/opt/rustwide/workdir/butane) [INFO] [stderr] Compiling getting_started v0.1.0 (/opt/rustwide/workdir/examples/getting_started) [INFO] [stderr] Compiling butane_cli v0.5.0 (/opt/rustwide/workdir/butane_cli) [INFO] [stderr] Compiling example v0.1.0 (/opt/rustwide/workdir/example) [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> examples/getting_started/src/models.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> examples/getting_started/src/models.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> examples/getting_started/src/models.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[model] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: IO(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `models::Blog`, `models::Post` [INFO] [stdout] --> examples/getting_started/src/lib.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use models::{Blog, Post}; [INFO] [stdout] | ^^^^ ^^^^ no `Post` in `models` [INFO] [stdout] | | [INFO] [stdout] | no `Blog` in `models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> 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[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> examples/getting_started/src/models.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | impl Blog { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Blog` in this scope [INFO] [stdout] --> examples/getting_started/src/models.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | Blog { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> examples/getting_started/src/models.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | impl Post { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> examples/getting_started/src/models.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(blog: &Blog, title: String, body: String) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Post` in this scope [INFO] [stdout] --> examples/getting_started/src/models.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Post { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tag` in this scope [INFO] [stdout] --> examples/getting_started/src/models.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 55 | impl Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Tag` in this scope [INFO] [stdout] --> examples/getting_started/src/models.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Tag { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude::*` [INFO] [stdout] --> examples/getting_started/src/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ForeignKey` [INFO] [stdout] --> examples/getting_started/src/models.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use butane::{model, ForeignKey, Many, ObjectState}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] --> example/src/main.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | let _specific_post = Post::get(&conn, 1); [INFO] [stdout] | ^^^^ use of undeclared type `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> example/src/main.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | let _published_posts = query!(Post, published == true).limit(5).load(&conn)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> example/src/main.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | let unliked_posts = query!(Post, published == true && likes < 5).load(&conn)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> example/src/main.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let _blog: &Blog = unliked_posts.first().unwrap().blog.load(&conn)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> example/src/main.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | let _tagged_posts = query!(Post, tags.contains("dinosaurs")).load(&conn); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> example/src/main.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | let blog: Blog = find!(Blog, name == "Bears", &conn).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blog` in this scope [INFO] [stdout] --> example/src/main.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let blog: Blog = find!(Blog, name == "Bears", &conn).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> example/src/main.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | let _posts_in_blog = query!(Post, blog == { &blog }).load(&conn); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> example/src/main.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | let _posts_in_blog2 = query!(Post, blog == { blog }).load(&conn); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> example/src/main.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | let _posts_in_blog = query!(Post, blog.matches(name == "Bears")).load(&conn); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ForeignKey`, `Many` [INFO] [stdout] --> example/src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use butane::{ForeignKey, Many}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `butane::prelude::*` [INFO] [stdout] --> example/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use butane::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stderr] error: could not compile `getting_started` due to 12 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: could not compile `example` due to 14 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7ed449a3c89105cdd95012983665f4ade7495af0e1a9bea5629e37eac494f83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ed449a3c89105cdd95012983665f4ade7495af0e1a9bea5629e37eac494f83c", kill_on_drop: false }` [INFO] [stdout] 7ed449a3c89105cdd95012983665f4ade7495af0e1a9bea5629e37eac494f83c