[INFO] cloning repository https://github.com/w-k-s/rust-jsonapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/w-k-s/rust-jsonapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fw-k-s%2Frust-jsonapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fw-k-s%2Frust-jsonapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87f28787ca6faf21264e45a38a0637d463f943f0 [INFO] testing w-k-s/rust-jsonapi against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fw-k-s%2Frust-jsonapi" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/w-k-s/rust-jsonapi on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/w-k-s/rust-jsonapi [INFO] finished tweaking git repo https://github.com/w-k-s/rust-jsonapi [INFO] tweaked toml for git repo https://github.com/w-k-s/rust-jsonapi written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/w-k-s/rust-jsonapi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc6530f0af94eb02ad8ab12e719c4514cfc137a94a30c9dbd050170a7802e7c3 [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" "bc6530f0af94eb02ad8ab12e719c4514cfc137a94a30c9dbd050170a7802e7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc6530f0af94eb02ad8ab12e719c4514cfc137a94a30c9dbd050170a7802e7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc6530f0af94eb02ad8ab12e719c4514cfc137a94a30c9dbd050170a7802e7c3", kill_on_drop: false }` [INFO] [stdout] bc6530f0af94eb02ad8ab12e719c4514cfc137a94a30c9dbd050170a7802e7c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd34157e33bf46cd7c2d0c854ad8f3d5f32df7365f480a26e872498d476e35c7 [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" "dd34157e33bf46cd7c2d0c854ad8f3d5f32df7365f480a26e872498d476e35c7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling serde v1.0.83 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.11 [INFO] [stderr] Compiling string v0.1.2 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.0 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling socket2 v0.3.8 [INFO] [stderr] Compiling time v0.1.41 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling tokio-timer v0.2.8 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling http v0.1.14 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling postgres-shared v0.4.2 [INFO] [stderr] Compiling tokio-reactor v0.1.7 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.4 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling uri v0.3.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.9 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling h2 v0.1.14 [INFO] [stderr] Compiling tokio v0.1.13 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling tokio-io-pool v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.83 [INFO] [stderr] Compiling queryst v2.0.0 [INFO] [stderr] Compiling hyper v0.12.19 [INFO] [stderr] Compiling jsonapi v0.6.0 (https://github.com/michiel/jsonapi-rust?branch=master#9ee87e9d) [INFO] [stderr] Compiling jsonapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `postgres::rows::Row` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use postgres::rows::Row; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromSql`, `ToSql` [INFO] [stdout] --> src/main.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | use postgres::types::{FromSql, ToSql}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | type BoxedResponse = Box, Error = hyper::Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = hyper::Error> + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 56.73s [INFO] running `Command { std: "docker" "inspect" "dd34157e33bf46cd7c2d0c854ad8f3d5f32df7365f480a26e872498d476e35c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd34157e33bf46cd7c2d0c854ad8f3d5f32df7365f480a26e872498d476e35c7", kill_on_drop: false }` [INFO] [stdout] dd34157e33bf46cd7c2d0c854ad8f3d5f32df7365f480a26e872498d476e35c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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] 1274c8cc109d314d40f94d72a4f02f3816f7403c0b25e3b5b4c9e5804f4ac05c [INFO] running `Command { std: "docker" "start" "-a" "1274c8cc109d314d40f94d72a4f02f3816f7403c0b25e3b5b4c9e5804f4ac05c", kill_on_drop: false }` [INFO] [stderr] Compiling jsonapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `postgres::rows::Row` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use postgres::rows::Row; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromSql`, `ToSql` [INFO] [stdout] --> src/main.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | use postgres::types::{FromSql, ToSql}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | type BoxedResponse = Box, Error = hyper::Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = hyper::Error> + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "1274c8cc109d314d40f94d72a4f02f3816f7403c0b25e3b5b4c9e5804f4ac05c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1274c8cc109d314d40f94d72a4f02f3816f7403c0b25e3b5b4c9e5804f4ac05c", kill_on_drop: false }` [INFO] [stdout] 1274c8cc109d314d40f94d72a4f02f3816f7403c0b25e3b5b4c9e5804f4ac05c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 26c7b19a535cdf5242bb7dd8f0fcc0f6ad8e60e16d63f606fc963c3baff8f840 [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" "26c7b19a535cdf5242bb7dd8f0fcc0f6ad8e60e16d63f606fc963c3baff8f840", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `postgres::rows::Row` [INFO] [stderr] --> src/main.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use postgres::rows::Row; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FromSql`, `ToSql` [INFO] [stderr] --> src/main.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 22 | use postgres::types::{FromSql, ToSql}; [INFO] [stderr] | ^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:32:26 [INFO] [stderr] | [INFO] [stderr] 32 | type BoxedResponse = Box, Error = hyper::Error> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = hyper::Error> + Send` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/jsonapi-462600aab7a57131) [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" "26c7b19a535cdf5242bb7dd8f0fcc0f6ad8e60e16d63f606fc963c3baff8f840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26c7b19a535cdf5242bb7dd8f0fcc0f6ad8e60e16d63f606fc963c3baff8f840", kill_on_drop: false }` [INFO] [stdout] 26c7b19a535cdf5242bb7dd8f0fcc0f6ad8e60e16d63f606fc963c3baff8f840