[INFO] cloning repository https://github.com/thereisnospoon/tokio-rest-api-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thereisnospoon/tokio-rest-api-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthereisnospoon%2Ftokio-rest-api-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthereisnospoon%2Ftokio-rest-api-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7fa5df73aae8e3d17fa45b2107ed972fe59a214d [INFO] testing thereisnospoon/tokio-rest-api-example against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthereisnospoon%2Ftokio-rest-api-example" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thereisnospoon/tokio-rest-api-example [INFO] finished tweaking git repo https://github.com/thereisnospoon/tokio-rest-api-example [INFO] tweaked toml for git repo https://github.com/thereisnospoon/tokio-rest-api-example written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thereisnospoon/tokio-rest-api-example on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thereisnospoon/tokio-rest-api-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deadpool v0.7.0 [INFO] [stderr] Downloaded crossbeam-queue v0.3.1 [INFO] [stderr] Downloaded cpufeatures v0.1.1 [INFO] [stderr] Downloaded sha2 v0.9.4 [INFO] [stderr] Downloaded deadpool-postgres v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ce72630f848dde2bcea5d9747391b8ecbcfafc4e1a483b509fa08aff5549502 [INFO] running `Command { std: "docker" "start" "-a" "2ce72630f848dde2bcea5d9747391b8ecbcfafc4e1a483b509fa08aff5549502", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ce72630f848dde2bcea5d9747391b8ecbcfafc4e1a483b509fa08aff5549502", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ce72630f848dde2bcea5d9747391b8ecbcfafc4e1a483b509fa08aff5549502", kill_on_drop: false }` [INFO] [stdout] 2ce72630f848dde2bcea5d9747391b8ecbcfafc4e1a483b509fa08aff5549502 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1f53a13142e3af126f22316c60dc630cca1a8fbf62f0cac1d358a2a861bf4b78 [INFO] running `Command { std: "docker" "start" "-a" "1f53a13142e3af126f22316c60dc630cca1a8fbf62f0cac1d358a2a861bf4b78", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling cpufeatures v0.1.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.4 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling httpdate v1.0.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling postgres-protocol v0.6.1 [INFO] [stderr] Compiling postgres-types v0.2.1 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling tokio-postgres v0.7.2 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling config v0.10.1 [INFO] [stderr] Compiling deadpool v0.7.0 [INFO] [stderr] Compiling deadpool-postgres v0.7.0 [INFO] [stderr] Compiling hyper v0.14.7 [INFO] [stderr] Compiling tokio-rest-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `pool_error` [INFO] [stdout] --> src/db.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | fn map_pool_error(pool_error: PoolError) -> AppError { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/routes.rs:48:41 [INFO] [stdout] | [INFO] [stdout] 48 | fn parse_query_params(query: Option<&str>) -> AppResult> { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | fn parse_query_params(query: Option<&str>) -> AppResult>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.60s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1f53a13142e3af126f22316c60dc630cca1a8fbf62f0cac1d358a2a861bf4b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f53a13142e3af126f22316c60dc630cca1a8fbf62f0cac1d358a2a861bf4b78", kill_on_drop: false }` [INFO] [stdout] 1f53a13142e3af126f22316c60dc630cca1a8fbf62f0cac1d358a2a861bf4b78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4a97f71716e4801caff889f8009abe77a1e0046c3a19010ceaa671d483722d9b [INFO] running `Command { std: "docker" "start" "-a" "4a97f71716e4801caff889f8009abe77a1e0046c3a19010ceaa671d483722d9b", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-rest-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `pool_error` [INFO] [stdout] --> src/db.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | fn map_pool_error(pool_error: PoolError) -> AppError { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/routes.rs:48:41 [INFO] [stdout] | [INFO] [stdout] 48 | fn parse_query_params(query: Option<&str>) -> AppResult> { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | fn parse_query_params(query: Option<&str>) -> AppResult>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4a97f71716e4801caff889f8009abe77a1e0046c3a19010ceaa671d483722d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a97f71716e4801caff889f8009abe77a1e0046c3a19010ceaa671d483722d9b", kill_on_drop: false }` [INFO] [stdout] 4a97f71716e4801caff889f8009abe77a1e0046c3a19010ceaa671d483722d9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2f5d058fe029647c7b6da452f82b6a38dd89445b23e0a0c296fe04e5b85e96d8 [INFO] running `Command { std: "docker" "start" "-a" "2f5d058fe029647c7b6da452f82b6a38dd89445b23e0a0c296fe04e5b85e96d8", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `pool_error` [INFO] [stderr] --> src/db.rs:81:19 [INFO] [stderr] | [INFO] [stderr] 81 | fn map_pool_error(pool_error: PoolError) -> AppError { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/routes.rs:48:41 [INFO] [stderr] | [INFO] [stderr] 48 | fn parse_query_params(query: Option<&str>) -> AppResult> { [INFO] [stderr] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 48 | fn parse_query_params(query: Option<&str>) -> AppResult>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `tokio-rest-api` (bin "tokio-rest-api" test) generated 2 warnings (run `cargo fix --bin "tokio-rest-api" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/tokio_rest_api-10c9b5ffe1e0b12e) [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" "2f5d058fe029647c7b6da452f82b6a38dd89445b23e0a0c296fe04e5b85e96d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f5d058fe029647c7b6da452f82b6a38dd89445b23e0a0c296fe04e5b85e96d8", kill_on_drop: false }` [INFO] [stdout] 2f5d058fe029647c7b6da452f82b6a38dd89445b23e0a0c296fe04e5b85e96d8