[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 beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSwannHERRERA%2Frust-api" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SwannHERRERA/rust-api on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-5/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" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel v1.4.5 [INFO] [stderr] Downloaded chrono v0.4.14 [INFO] [stderr] Downloaded r2d2-diesel v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cf3d8eb532677420daee236a6fc93f4e79a321d8882cc3c9a2c981f6eebf0d8b [INFO] running `Command { std: "docker" "start" "-a" "cf3d8eb532677420daee236a6fc93f4e79a321d8882cc3c9a2c981f6eebf0d8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf3d8eb532677420daee236a6fc93f4e79a321d8882cc3c9a2c981f6eebf0d8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf3d8eb532677420daee236a6fc93f4e79a321d8882cc3c9a2c981f6eebf0d8b", kill_on_drop: false }` [INFO] [stdout] cf3d8eb532677420daee236a6fc93f4e79a321d8882cc3c9a2c981f6eebf0d8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f7b073303131a3c4fd14b5c3c3fde3df6ae4f161a5ccdd448344cd296add39c9 [INFO] running `Command { std: "docker" "start" "-a" "f7b073303131a3c4fd14b5c3c3fde3df6ae4f161a5ccdd448344cd296add39c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling tracing-core v0.1.13 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling tracing v0.1.18 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [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 hostname v0.3.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [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 enum-as-inner v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.36 [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 serde v1.0.114 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.5 [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 chrono v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling actix-connect v1.0.2 [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 3m 29s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 13` [INFO] running `Command { std: "docker" "inspect" "f7b073303131a3c4fd14b5c3c3fde3df6ae4f161a5ccdd448344cd296add39c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7b073303131a3c4fd14b5c3c3fde3df6ae4f161a5ccdd448344cd296add39c9", kill_on_drop: false }` [INFO] [stdout] f7b073303131a3c4fd14b5c3c3fde3df6ae4f161a5ccdd448344cd296add39c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8ccc15b8175e79e5bf60dbfda5f110000f1e2e3a8b4a17a48e891ab9bd904d79 [INFO] running `Command { std: "docker" "start" "-a" "8ccc15b8175e79e5bf60dbfda5f110000f1e2e3a8b4a17a48e891ab9bd904d79", 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 2.59s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 14` [INFO] running `Command { std: "docker" "inspect" "8ccc15b8175e79e5bf60dbfda5f110000f1e2e3a8b4a17a48e891ab9bd904d79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ccc15b8175e79e5bf60dbfda5f110000f1e2e3a8b4a17a48e891ab9bd904d79", kill_on_drop: false }` [INFO] [stdout] 8ccc15b8175e79e5bf60dbfda5f110000f1e2e3a8b4a17a48e891ab9bd904d79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d4e511692e4e725628afbfca5e787836549902061a114b18860ef9c47b42d19d [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" "d4e511692e4e725628afbfca5e787836549902061a114b18860ef9c47b42d19d", 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.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 15` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_api-c246f27e80415fc0) [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" "d4e511692e4e725628afbfca5e787836549902061a114b18860ef9c47b42d19d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4e511692e4e725628afbfca5e787836549902061a114b18860ef9c47b42d19d", kill_on_drop: false }` [INFO] [stdout] d4e511692e4e725628afbfca5e787836549902061a114b18860ef9c47b42d19d