[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 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4832cl0n%2Fgotham-sample" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/4832cl0n/gotham-sample on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-4/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77b29d9f500454ead3b05f1ad3c492378184191ac1faf23da220f1f1e370ed69 [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" "77b29d9f500454ead3b05f1ad3c492378184191ac1faf23da220f1f1e370ed69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77b29d9f500454ead3b05f1ad3c492378184191ac1faf23da220f1f1e370ed69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77b29d9f500454ead3b05f1ad3c492378184191ac1faf23da220f1f1e370ed69", kill_on_drop: false }` [INFO] [stdout] 77b29d9f500454ead3b05f1ad3c492378184191ac1faf23da220f1f1e370ed69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a222d2247f7d6a13f4d58538c592c6706b2c8e60f12540ea7590489f9813e1e9 [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" "a222d2247f7d6a13f4d58538c592c6706b2c8e60f12540ea7590489f9813e1e9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Compiling fallible-iterator v0.1.6 [INFO] [stderr] Compiling md5 v0.3.8 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling try-lock v0.1.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.0.4 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling syn v0.12.15 [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 backtrace-sys v0.1.32 [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 bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.2 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling r2d2 v0.8.6 [INFO] [stderr] Compiling postgres-shared v0.4.2 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling gotham_derive v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling r2d2_postgres v0.14.0 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling redis v0.13.0 [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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 - fn router(redis_uri: &str, pg_uri: &str) -> Result> { [INFO] [stdout] 83 + fn router(redis_uri: &str, pg_uri: &str) -> Result> { [INFO] [stdout] | [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 06s [INFO] running `Command { std: "docker" "inspect" "a222d2247f7d6a13f4d58538c592c6706b2c8e60f12540ea7590489f9813e1e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a222d2247f7d6a13f4d58538c592c6706b2c8e60f12540ea7590489f9813e1e9", kill_on_drop: false }` [INFO] [stdout] a222d2247f7d6a13f4d58538c592c6706b2c8e60f12540ea7590489f9813e1e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a59219395ba3431d45e788f3080077eb93d93190402b1e62e8cddea56ef1a02c [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" "a59219395ba3431d45e788f3080077eb93d93190402b1e62e8cddea56ef1a02c", 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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 - fn router(redis_uri: &str, pg_uri: &str) -> Result> { [INFO] [stdout] 83 + fn router(redis_uri: &str, pg_uri: &str) -> Result> { [INFO] [stdout] | [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.75s [INFO] running `Command { std: "docker" "inspect" "a59219395ba3431d45e788f3080077eb93d93190402b1e62e8cddea56ef1a02c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a59219395ba3431d45e788f3080077eb93d93190402b1e62e8cddea56ef1a02c", kill_on_drop: false }` [INFO] [stdout] a59219395ba3431d45e788f3080077eb93d93190402b1e62e8cddea56ef1a02c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1.59.0" "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] 0c099154b16d861a75d04772da1e46a72253d4fc2d14f92875118227bc01f591 [INFO] running `Command { std: "docker" "start" "-a" "0c099154b16d861a75d04772da1e46a72253d4fc2d14f92875118227bc01f591", 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] | ^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 83 - fn router(redis_uri: &str, pg_uri: &str) -> Result> { [INFO] [stderr] 83 + fn router(redis_uri: &str, pg_uri: &str) -> Result> { [INFO] [stderr] | [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.17s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gotham_sample_rs-291c6cd8f538015b) [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" "0c099154b16d861a75d04772da1e46a72253d4fc2d14f92875118227bc01f591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c099154b16d861a75d04772da1e46a72253d4fc2d14f92875118227bc01f591", kill_on_drop: false }` [INFO] [stdout] 0c099154b16d861a75d04772da1e46a72253d4fc2d14f92875118227bc01f591