[INFO] cloning repository https://github.com/skanel/api.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/skanel/api.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskanel%2Fapi.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskanel%2Fapi.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3dacbf8daf1914638fbb7f822728ef0570c6afc [INFO] checking skanel/api.rs against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskanel%2Fapi.rs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/skanel/api.rs on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/skanel/api.rs [INFO] finished tweaking git repo https://github.com/skanel/api.rs [INFO] tweaked toml for git repo https://github.com/skanel/api.rs written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/skanel/api.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded r2d2-diesel v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 696b1f65ce2d1c524e30a58883e228115d8cc396b50f92a9ac516d5b1a27aeea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "696b1f65ce2d1c524e30a58883e228115d8cc396b50f92a9ac516d5b1a27aeea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "696b1f65ce2d1c524e30a58883e228115d8cc396b50f92a9ac516d5b1a27aeea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "696b1f65ce2d1c524e30a58883e228115d8cc396b50f92a9ac516d5b1a27aeea", kill_on_drop: false }` [INFO] [stdout] 696b1f65ce2d1c524e30a58883e228115d8cc396b50f92a9ac516d5b1a27aeea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49c15c4f83609656ba4f1e7b651b0794ee4e3041642d1c586bd33efed41a9c84 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "49c15c4f83609656ba4f1e7b651b0794ee4e3041642d1c586bd33efed41a9c84", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling rocket_codegen v0.4.5 [INFO] [stderr] Compiling rocket v0.4.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking universal-hash v0.3.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking aead v0.2.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking polyval v0.3.3 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking ghash v0.2.3 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking hkdf v0.8.0 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking aes-gcm v0.5.0 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling cookie v0.11.3 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.5 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking r2d2-diesel v1.0.0 [INFO] [stderr] Checking api v0.1.0 (/opt/rustwide/workdir) [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: 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 51s [INFO] running `Command { std: "docker" "inspect" "49c15c4f83609656ba4f1e7b651b0794ee4e3041642d1c586bd33efed41a9c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49c15c4f83609656ba4f1e7b651b0794ee4e3041642d1c586bd33efed41a9c84", kill_on_drop: false }` [INFO] [stdout] 49c15c4f83609656ba4f1e7b651b0794ee4e3041642d1c586bd33efed41a9c84