[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 master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSwannHERRERA%2Frust-api" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SwannHERRERA/rust-api on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", 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-0/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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] 4b895ad7fa059ea22c8554e68ad304941bb2d8cac9d7eb25fa41a72ea794e4f8 [INFO] running `Command { std: "docker" "start" "-a" "4b895ad7fa059ea22c8554e68ad304941bb2d8cac9d7eb25fa41a72ea794e4f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b895ad7fa059ea22c8554e68ad304941bb2d8cac9d7eb25fa41a72ea794e4f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b895ad7fa059ea22c8554e68ad304941bb2d8cac9d7eb25fa41a72ea794e4f8", kill_on_drop: false }` [INFO] [stdout] 4b895ad7fa059ea22c8554e68ad304941bb2d8cac9d7eb25fa41a72ea794e4f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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] 68d5aaa2e95292d77aed968d185100f0e5d220c70f668a5473532c0a1a2e813d [INFO] running `Command { std: "docker" "start" "-a" "68d5aaa2e95292d77aed968d185100f0e5d220c70f668a5473532c0a1a2e813d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling num-traits v0.2.12 [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 thread_local v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.13 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling tracing v0.1.18 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.22 [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 synstructure v0.12.4 [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 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 serde v1.0.114 [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 chrono v0.4.14 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling actix-router v0.2.4 [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 43s [INFO] running `Command { std: "docker" "inspect" "68d5aaa2e95292d77aed968d185100f0e5d220c70f668a5473532c0a1a2e813d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68d5aaa2e95292d77aed968d185100f0e5d220c70f668a5473532c0a1a2e813d", kill_on_drop: false }` [INFO] [stdout] 68d5aaa2e95292d77aed968d185100f0e5d220c70f668a5473532c0a1a2e813d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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] 924c1aef9c4d6e6b30b4ff38bb6cac4bf7bf4038d4b3606c9958f89dbdd9d9a8 [INFO] running `Command { std: "docker" "start" "-a" "924c1aef9c4d6e6b30b4ff38bb6cac4bf7bf4038d4b3606c9958f89dbdd9d9a8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.73s [INFO] running `Command { std: "docker" "inspect" "924c1aef9c4d6e6b30b4ff38bb6cac4bf7bf4038d4b3606c9958f89dbdd9d9a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "924c1aef9c4d6e6b30b4ff38bb6cac4bf7bf4038d4b3606c9958f89dbdd9d9a8", kill_on_drop: false }` [INFO] [stdout] 924c1aef9c4d6e6b30b4ff38bb6cac4bf7bf4038d4b3606c9958f89dbdd9d9a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e733afb898be749e304bde8a83db3bd23f9782feeeae8ac15e7c76a2689d5aac [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" "e733afb898be749e304bde8a83db3bd23f9782feeeae8ac15e7c76a2689d5aac", 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: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rust_api-6f99e3dfaea74b15 [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e733afb898be749e304bde8a83db3bd23f9782feeeae8ac15e7c76a2689d5aac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e733afb898be749e304bde8a83db3bd23f9782feeeae8ac15e7c76a2689d5aac", kill_on_drop: false }` [INFO] [stdout] e733afb898be749e304bde8a83db3bd23f9782feeeae8ac15e7c76a2689d5aac