[INFO] cloning repository https://github.com/4832cl0n/gotham-sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/4832cl0n/gotham-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4832cl0n%2Fgotham-sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4832cl0n%2Fgotham-sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c81967c7ad4ab07dfcd76de46340a8bcfb85524b [INFO] testing 4832cl0n/gotham-sample against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4832cl0n%2Fgotham-sample" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/4832cl0n/gotham-sample on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/4832cl0n/gotham-sample [INFO] finished tweaking git repo https://github.com/4832cl0n/gotham-sample [INFO] tweaked toml for git repo https://github.com/4832cl0n/gotham-sample written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/4832cl0n/gotham-sample already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abbdee89fcd67a3ef8e213e1403e8f7cf52c1957e8c2d3888b5437279a84a5b2 [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" "abbdee89fcd67a3ef8e213e1403e8f7cf52c1957e8c2d3888b5437279a84a5b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abbdee89fcd67a3ef8e213e1403e8f7cf52c1957e8c2d3888b5437279a84a5b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abbdee89fcd67a3ef8e213e1403e8f7cf52c1957e8c2d3888b5437279a84a5b2", kill_on_drop: false }` [INFO] [stdout] abbdee89fcd67a3ef8e213e1403e8f7cf52c1957e8c2d3888b5437279a84a5b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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] 82078a6e742ab796641b10fbfa306c5099a47ad344d8ddcff87750a62bcda3ef [INFO] running `Command { std: "docker" "start" "-a" "82078a6e742ab796641b10fbfa306c5099a47ad344d8ddcff87750a62bcda3ef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling md5 v0.3.8 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling fallible-iterator v0.1.6 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling want v0.0.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling postgres-shared v0.4.2 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling gotham_derive v0.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling r2d2 v0.8.6 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling r2d2_postgres v0.14.0 [INFO] [stderr] Compiling redis v0.13.0 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling r2d2_redis v0.12.0 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Compiling borrow-bag v1.0.0 [INFO] [stderr] Compiling gotham v0.2.1 [INFO] [stderr] Compiling gotham_sample_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | fn router(redis_uri: &str, pg_uri: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut data = ConfigMiddlewareData::borrow_mut_from(&mut state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 46s [INFO] running `Command { std: "docker" "inspect" "82078a6e742ab796641b10fbfa306c5099a47ad344d8ddcff87750a62bcda3ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82078a6e742ab796641b10fbfa306c5099a47ad344d8ddcff87750a62bcda3ef", kill_on_drop: false }` [INFO] [stdout] 82078a6e742ab796641b10fbfa306c5099a47ad344d8ddcff87750a62bcda3ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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] 3bdbf0d165a6037a1cf4ec9b7df1da306ce89447997097b5e5a7558ec3a98fb7 [INFO] running `Command { std: "docker" "start" "-a" "3bdbf0d165a6037a1cf4ec9b7df1da306ce89447997097b5e5a7558ec3a98fb7", kill_on_drop: false }` [INFO] [stderr] Compiling gotham_sample_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | fn router(redis_uri: &str, pg_uri: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut data = ConfigMiddlewareData::borrow_mut_from(&mut state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "3bdbf0d165a6037a1cf4ec9b7df1da306ce89447997097b5e5a7558ec3a98fb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bdbf0d165a6037a1cf4ec9b7df1da306ce89447997097b5e5a7558ec3a98fb7", kill_on_drop: false }` [INFO] [stdout] 3bdbf0d165a6037a1cf4ec9b7df1da306ce89447997097b5e5a7558ec3a98fb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", 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] 5df576671b7621d4ebbd81a5fc4c567668ce461b41fa5021082addc3eedc4a48 [INFO] running `Command { std: "docker" "start" "-a" "5df576671b7621d4ebbd81a5fc4c567668ce461b41fa5021082addc3eedc4a48", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:83:64 [INFO] [stderr] | [INFO] [stderr] 83 | fn router(redis_uri: &str, pg_uri: &str) -> Result> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [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 [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | let mut data = ConfigMiddlewareData::borrow_mut_from(&mut state); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `gotham_sample_rs` (bin "gotham_sample_rs" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gotham_sample_rs-5342112a43bd2ce9) [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" "5df576671b7621d4ebbd81a5fc4c567668ce461b41fa5021082addc3eedc4a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5df576671b7621d4ebbd81a5fc4c567668ce461b41fa5021082addc3eedc4a48", kill_on_drop: false }` [INFO] [stdout] 5df576671b7621d4ebbd81a5fc4c567668ce461b41fa5021082addc3eedc4a48