[INFO] cloning repository https://github.com/MarcusHurney/rust-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarcusHurney/rust-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcusHurney%2Frust-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcusHurney%2Frust-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab425710dcf23deaa01222451dd891beb9bfe6db [INFO] testing MarcusHurney/rust-api 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%2FMarcusHurney%2Frust-api" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 73% (284/388) Updating files: 74% (288/388) Updating files: 75% (291/388) Updating files: 76% (295/388) Updating files: 77% (299/388) Updating files: 78% (303/388) Updating files: 78% (304/388) Updating files: 79% (307/388) Updating files: 80% (311/388) Updating files: 81% (315/388) Updating files: 82% (319/388) Updating files: 83% (323/388) Updating files: 84% (326/388) Updating files: 85% (330/388) Updating files: 86% (334/388) Updating files: 87% (338/388) Updating files: 88% (342/388) Updating files: 89% (346/388) Updating files: 90% (350/388) Updating files: 91% (354/388) Updating files: 92% (357/388) Updating files: 93% (361/388) Updating files: 94% (365/388) Updating files: 95% (369/388) Updating files: 96% (373/388) Updating files: 97% (377/388) Updating files: 98% (381/388) Updating files: 99% (385/388) Updating files: 100% (388/388) Updating files: 100% (388/388), done. [INFO] validating manifest of git repo https://github.com/MarcusHurney/rust-api 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/MarcusHurney/rust-api [INFO] finished tweaking git repo https://github.com/MarcusHurney/rust-api [INFO] tweaked toml for git repo https://github.com/MarcusHurney/rust-api written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate git repo https://github.com/MarcusHurney/rust-api 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-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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] f62d3e1ccd22f66a2fae955171bae514cc3a06a87047c7eacc7d8f7e8609baa3 [INFO] running `Command { std: "docker" "start" "-a" "f62d3e1ccd22f66a2fae955171bae514cc3a06a87047c7eacc7d8f7e8609baa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f62d3e1ccd22f66a2fae955171bae514cc3a06a87047c7eacc7d8f7e8609baa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f62d3e1ccd22f66a2fae955171bae514cc3a06a87047c7eacc7d8f7e8609baa3", kill_on_drop: false }` [INFO] [stdout] f62d3e1ccd22f66a2fae955171bae514cc3a06a87047c7eacc7d8f7e8609baa3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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] 65c7340d5f105bd0f58b93f1066f62636a32b3f62119c2f3b284a47a2118a2e9 [INFO] running `Command { std: "docker" "start" "-a" "65c7340d5f105bd0f58b93f1066f62636a32b3f62119c2f3b284a47a2118a2e9", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling syntex_fmt_macros v0.5.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling diesel v0.16.0 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling syn v0.15.4 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Compiling diesel_infer_schema v0.16.0 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling derive-error-chain v0.11.2 [INFO] [stderr] Compiling diesel v1.3.3 [INFO] [stderr] Compiling dotenv v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.27 [INFO] [stderr] Compiling diesel_codegen v0.16.1 [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | books (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: cannot find type `id` in this scope [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | books (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `title` in this scope [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | books (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `author` in this scope [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | books (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `published` in this scope [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | books (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `Book` in this scope [INFO] [stdout] --> src/models.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `books` in this scope [INFO] [stdout] --> src/models.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NewBook` in this scope [INFO] [stdout] --> src/models.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show` [INFO] [stdout] --> src/models.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn show(id: i32, conn: &PgConnection) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `all` [INFO] [stdout] --> src/models.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn all(conn: &PgConnection) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_by_id` [INFO] [stdout] --> src/models.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn update_by_id(id: i32, conn: &PgConnection, book: NewBook) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_by_id` [INFO] [stdout] --> src/models.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn delete_by_id(id: i32, conn: &PgConnection) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `all_by_author` [INFO] [stdout] --> src/models.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn all_by_author(author: String, conn: &PgConnection) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.39s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: api v0.1.0 (/opt/rustwide/workdir), diesel v1.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "65c7340d5f105bd0f58b93f1066f62636a32b3f62119c2f3b284a47a2118a2e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65c7340d5f105bd0f58b93f1066f62636a32b3f62119c2f3b284a47a2118a2e9", kill_on_drop: false }` [INFO] [stdout] 65c7340d5f105bd0f58b93f1066f62636a32b3f62119c2f3b284a47a2118a2e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b4ebd9845c3f858bdcc0a5f7b76200774fb40eaf6f52645391bfb277d01dc8d [INFO] running `Command { std: "docker" "start" "-a" "6b4ebd9845c3f858bdcc0a5f7b76200774fb40eaf6f52645391bfb277d01dc8d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | books (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `id` in this scope [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | books (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `title` in this scope [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | books (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `author` in this scope [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | books (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `published` in this scope [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | books (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `Book` in this scope [INFO] [stdout] --> src/models.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `books` in this scope [INFO] [stdout] --> src/models.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NewBook` in this scope [INFO] [stdout] --> src/models.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show` [INFO] [stdout] --> src/models.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn show(id: i32, conn: &PgConnection) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `all` [INFO] [stdout] --> src/models.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn all(conn: &PgConnection) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_by_id` [INFO] [stdout] --> src/models.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn update_by_id(id: i32, conn: &PgConnection, book: NewBook) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_by_id` [INFO] [stdout] --> src/models.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn delete_by_id(id: i32, conn: &PgConnection) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `all_by_author` [INFO] [stdout] --> src/models.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn all_by_author(author: String, conn: &PgConnection) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: api v0.1.0 (/opt/rustwide/workdir), diesel v1.3.3 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/api-23c26a8f0a28bb86) [INFO] running `Command { std: "docker" "inspect" "6b4ebd9845c3f858bdcc0a5f7b76200774fb40eaf6f52645391bfb277d01dc8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b4ebd9845c3f858bdcc0a5f7b76200774fb40eaf6f52645391bfb277d01dc8d", kill_on_drop: false }` [INFO] [stdout] 6b4ebd9845c3f858bdcc0a5f7b76200774fb40eaf6f52645391bfb277d01dc8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc673e8dbaa31a27b3824086620f8d3bda1c46c7f9ff21676a316ece7685cdde [INFO] running `Command { std: "docker" "start" "-a" "fc673e8dbaa31a27b3824086620f8d3bda1c46c7f9ff21676a316ece7685cdde", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> src/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | books (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | title -> Varchar, [INFO] [stderr] ... | [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `id` in this scope [INFO] [stderr] --> src/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | books (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | title -> Varchar, [INFO] [stderr] ... | [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `title` in this scope [INFO] [stderr] --> src/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | books (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | title -> Varchar, [INFO] [stderr] ... | [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `author` in this scope [INFO] [stderr] --> src/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | books (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | title -> Varchar, [INFO] [stderr] ... | [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `published` in this scope [INFO] [stderr] --> src/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | books (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | title -> Varchar, [INFO] [stderr] ... | [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `Book` in this scope [INFO] [stderr] --> src/models.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Queryable)] [INFO] [stderr] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `books` in this scope [INFO] [stderr] --> src/models.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `NewBook` in this scope [INFO] [stderr] --> src/models.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `show` [INFO] [stderr] --> src/models.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn show(id: i32, conn: &PgConnection) -> Vec { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `all` [INFO] [stderr] --> src/models.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn all(conn: &PgConnection) -> Vec { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update_by_id` [INFO] [stderr] --> src/models.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn update_by_id(id: i32, conn: &PgConnection, book: NewBook) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `delete_by_id` [INFO] [stderr] --> src/models.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn delete_by_id(id: i32, conn: &PgConnection) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `all_by_author` [INFO] [stderr] --> src/models.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn all_by_author(author: String, conn: &PgConnection) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `api` (bin "api" test) generated 13 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: api v0.1.0 (/opt/rustwide/workdir), diesel v1.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/api-23c26a8f0a28bb86) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fc673e8dbaa31a27b3824086620f8d3bda1c46c7f9ff21676a316ece7685cdde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc673e8dbaa31a27b3824086620f8d3bda1c46c7f9ff21676a316ece7685cdde", kill_on_drop: false }` [INFO] [stdout] fc673e8dbaa31a27b3824086620f8d3bda1c46c7f9ff21676a316ece7685cdde