[INFO] updating cached repository kelvin-mai/rust-api [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/kelvin-mai/rust-api [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/kelvin-mai/rust-api" "work/ex/pr-56896/sources/master#adbfec229ce07ff4b2a7bf2d6dec2d13cb224980/gh/kelvin-mai/rust-api"` [INFO] [stderr] Cloning into 'work/ex/pr-56896/sources/master#adbfec229ce07ff4b2a7bf2d6dec2d13cb224980/gh/kelvin-mai/rust-api'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/kelvin-mai/rust-api" "work/ex/pr-56896/sources/try#bad365140e1e8233b42b21af70a407f14ce5fec5/gh/kelvin-mai/rust-api"` [INFO] [stderr] Cloning into 'work/ex/pr-56896/sources/try#bad365140e1e8233b42b21af70a407f14ce5fec5/gh/kelvin-mai/rust-api'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c9879c9fd57866ccca9c5c53522fe764c572427e [INFO] sha for GitHub repo kelvin-mai/rust-api: c9879c9fd57866ccca9c5c53522fe764c572427e [INFO] validating manifest of kelvin-mai/rust-api on toolchain master#adbfec229ce07ff4b2a7bf2d6dec2d13cb224980 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+adbfec229ce07ff4b2a7bf2d6dec2d13cb224980-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of kelvin-mai/rust-api on toolchain try#bad365140e1e8233b42b21af70a407f14ce5fec5 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+bad365140e1e8233b42b21af70a407f14ce5fec5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing kelvin-mai/rust-api [INFO] finished frobbing kelvin-mai/rust-api [INFO] frobbed toml for kelvin-mai/rust-api written to work/ex/pr-56896/sources/master#adbfec229ce07ff4b2a7bf2d6dec2d13cb224980/gh/kelvin-mai/rust-api/Cargo.toml [INFO] started frobbing kelvin-mai/rust-api [INFO] finished frobbing kelvin-mai/rust-api [INFO] frobbed toml for kelvin-mai/rust-api written to work/ex/pr-56896/sources/try#bad365140e1e8233b42b21af70a407f14ce5fec5/gh/kelvin-mai/rust-api/Cargo.toml [INFO] crate kelvin-mai/rust-api has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+adbfec229ce07ff4b2a7bf2d6dec2d13cb224980-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+bad365140e1e8233b42b21af70a407f14ce5fec5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking kelvin-mai/rust-api against master#adbfec229ce07ff4b2a7bf2d6dec2d13cb224980 for pr-56896 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-56896/worker-6/master#adbfec229ce07ff4b2a7bf2d6dec2d13cb224980:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-56896/sources/master#adbfec229ce07ff4b2a7bf2d6dec2d13cb224980/gh/kelvin-mai/rust-api:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+adbfec229ce07ff4b2a7bf2d6dec2d13cb224980-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 8ad71ea2cbcdceff886692b81a27f6504dc54e57487a1ef699c8fced703be82f [INFO] running `"docker" "start" "-a" "8ad71ea2cbcdceff886692b81a27f6504dc54e57487a1ef699c8fced703be82f"` [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling serde v1.0.68 [INFO] [stderr] Compiling pq-sys v0.4.5 [INFO] [stderr] Compiling syn v0.14.3 [INFO] [stderr] Compiling diesel v0.16.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling aho-corasick v0.6.5 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling serde_derive v1.0.68 [INFO] [stderr] Compiling dotenv v0.9.0 [INFO] [stderr] Compiling diesel_infer_schema v0.16.0 [INFO] [stderr] Compiling serde_json v1.0.22 [INFO] [stderr] Compiling diesel_codegen v0.16.1 [INFO] [stderr] Checking rust_api v0.1.0 (/opt/crater/workdir) [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] = 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 #50504 [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 #50504 [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 #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> <::diesel::macros::table_body macros>:165:33 [INFO] [stderr] | [INFO] [stderr] 165 | derive ( Debug , Clone , Copy , QueryId ) ] /// The actual table struct [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 #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `id` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [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 #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `title` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [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 #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `author` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [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 #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `published` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [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 #50504 [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] = 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 #50504 [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 #50504 [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 #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> <::diesel::macros::table_body macros>:165:33 [INFO] [stderr] | [INFO] [stderr] 165 | derive ( Debug , Clone , Copy , QueryId ) ] /// The actual table struct [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 #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `id` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [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 #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `title` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [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 #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `author` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [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 #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `published` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [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 #50504 [INFO] [stderr] [INFO] [stderr] warning: method is never used: `show` [INFO] [stderr] --> src/models.rs:25:3 [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: method is never used: `all` [INFO] [stderr] --> src/models.rs:32:3 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn all(conn: &PgConnection) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `update_by_id` [INFO] [stderr] --> src/models.rs:39:3 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn update_by_id(id: i32, conn: &PgConnection, book: NewBook) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `delete_by_id` [INFO] [stderr] --> src/models.rs:60:3 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn delete_by_id(id: i32, conn: &PgConnection) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `all_by_author` [INFO] [stderr] --> src/models.rs:68:3 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn all_by_author(author: String, conn: &PgConnection) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `show` [INFO] [stderr] --> src/models.rs:25:3 [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: method is never used: `all` [INFO] [stderr] --> src/models.rs:32:3 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn all(conn: &PgConnection) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `update_by_id` [INFO] [stderr] --> src/models.rs:39:3 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn update_by_id(id: i32, conn: &PgConnection, book: NewBook) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `delete_by_id` [INFO] [stderr] --> src/models.rs:60:3 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn delete_by_id(id: i32, conn: &PgConnection) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `all_by_author` [INFO] [stderr] --> src/models.rs:68:3 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn all_by_author(author: String, conn: &PgConnection) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `"docker" "inspect" "8ad71ea2cbcdceff886692b81a27f6504dc54e57487a1ef699c8fced703be82f"` [INFO] running `"docker" "rm" "-f" "8ad71ea2cbcdceff886692b81a27f6504dc54e57487a1ef699c8fced703be82f"` [INFO] [stdout] 8ad71ea2cbcdceff886692b81a27f6504dc54e57487a1ef699c8fced703be82f