[INFO] cloning repository https://github.com/SwannHERRERA/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/SwannHERRERA/rust-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSwannHERRERA%2Frust-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSwannHERRERA%2Frust-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0222b76fe351362fba9410b14326ba86b37a5012 [INFO] testing SwannHERRERA/rust-api against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSwannHERRERA%2Frust-api" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SwannHERRERA/rust-api on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SwannHERRERA/rust-api [INFO] finished tweaking git repo https://github.com/SwannHERRERA/rust-api [INFO] tweaked toml for git repo https://github.com/SwannHERRERA/rust-api written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/SwannHERRERA/rust-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded r2d2-diesel v1.0.0 [INFO] [stderr] Downloaded chrono v0.4.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4843a312bb4c737540f8662c6916bdb1da6c7b9ddf4f71f505406f95e79d4919 [INFO] running `Command { std: "docker" "start" "-a" "4843a312bb4c737540f8662c6916bdb1da6c7b9ddf4f71f505406f95e79d4919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4843a312bb4c737540f8662c6916bdb1da6c7b9ddf4f71f505406f95e79d4919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4843a312bb4c737540f8662c6916bdb1da6c7b9ddf4f71f505406f95e79d4919", kill_on_drop: false }` [INFO] [stdout] 4843a312bb4c737540f8662c6916bdb1da6c7b9ddf4f71f505406f95e79d4919 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ea1aee44c35f4000cf8cf15383b0a934595c1306720f720a54a6f559e04d8b7 [INFO] running `Command { std: "docker" "start" "-a" "9ea1aee44c35f4000cf8cf15383b0a934595c1306720f720a54a6f559e04d8b7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.13 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling tracing v0.1.18 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.3 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling chrono v0.4.14 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling r2d2-diesel v1.0.0 [INFO] [stderr] Compiling rust-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `all` [INFO] [stdout] --> src/models.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn all(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: `update_by_id` [INFO] [stdout] --> src/models.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn update_by_id(id: i32, conn: &PgConnection, chapters: NewChapter) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/models.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn insert(chapter: NewChapter, conn: &PgConnection) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_by_id` [INFO] [stdout] --> src/models.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | 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_athor` [INFO] [stdout] --> src/models.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn all_by_athor(author: String, conn: &PgConnection) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `Command { std: "docker" "inspect" "9ea1aee44c35f4000cf8cf15383b0a934595c1306720f720a54a6f559e04d8b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ea1aee44c35f4000cf8cf15383b0a934595c1306720f720a54a6f559e04d8b7", kill_on_drop: false }` [INFO] [stdout] 9ea1aee44c35f4000cf8cf15383b0a934595c1306720f720a54a6f559e04d8b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 317d2acce37e9971b994e33a817db8df468f1f3dfc802a84c84a812276b1d764 [INFO] running `Command { std: "docker" "start" "-a" "317d2acce37e9971b994e33a817db8df468f1f3dfc802a84c84a812276b1d764", kill_on_drop: false }` [INFO] [stderr] Compiling rust-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `all` [INFO] [stdout] --> src/models.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn all(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: `update_by_id` [INFO] [stdout] --> src/models.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn update_by_id(id: i32, conn: &PgConnection, chapters: NewChapter) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/models.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn insert(chapter: NewChapter, conn: &PgConnection) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_by_id` [INFO] [stdout] --> src/models.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | 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_athor` [INFO] [stdout] --> src/models.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn all_by_athor(author: String, conn: &PgConnection) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "317d2acce37e9971b994e33a817db8df468f1f3dfc802a84c84a812276b1d764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "317d2acce37e9971b994e33a817db8df468f1f3dfc802a84c84a812276b1d764", kill_on_drop: false }` [INFO] [stdout] 317d2acce37e9971b994e33a817db8df468f1f3dfc802a84c84a812276b1d764 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 31d53cdb6fcda7481a37518afe1c2585e21fc73eb60a68a8119e05a3316e8ccb [INFO] running `Command { std: "docker" "start" "-a" "31d53cdb6fcda7481a37518afe1c2585e21fc73eb60a68a8119e05a3316e8ccb", kill_on_drop: false }` [INFO] [stderr] warning: associated function is never used: `all` [INFO] [stderr] --> src/models.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn all(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: `update_by_id` [INFO] [stderr] --> src/models.rs:46:10 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn update_by_id(id: i32, conn: &PgConnection, chapters: NewChapter) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `insert` [INFO] [stderr] --> src/models.rs:60:10 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn insert(chapter: NewChapter, conn: &PgConnection) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `delete_by_id` [INFO] [stderr] --> src/models.rs:67:10 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn delete_by_id(id: i32, conn: &PgConnection) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `all_by_athor` [INFO] [stderr] --> src/models.rs:74:10 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn all_by_athor(author: String, conn: &PgConnection) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-api` (bin "rust-api" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_api-a954e13f2cb7c0ef) [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.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "31d53cdb6fcda7481a37518afe1c2585e21fc73eb60a68a8119e05a3316e8ccb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31d53cdb6fcda7481a37518afe1c2585e21fc73eb60a68a8119e05a3316e8ccb", kill_on_drop: false }` [INFO] [stdout] 31d53cdb6fcda7481a37518afe1c2585e21fc73eb60a68a8119e05a3316e8ccb