[INFO] cloning repository https://github.com/awall-config/awall-config-back [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/awall-config/awall-config-back" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawall-config%2Fawall-config-back", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawall-config%2Fawall-config-back'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a09b97875dce90536f098211cb910566f3476776 [INFO] testing awall-config/awall-config-back against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawall-config%2Fawall-config-back" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/awall-config/awall-config-back on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/awall-config/awall-config-back [INFO] finished tweaking git repo https://github.com/awall-config/awall-config-back [INFO] tweaked toml for git repo https://github.com/awall-config/awall-config-back written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/awall-config/awall-config-back 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" "+613d1972a772987ed4ee06faccbab0e2fc839871" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bfe2458160c3cb03c61cce992618188f00d36c2ff88e0caee6b688241b33e25 [INFO] running `Command { std: "docker" "start" "-a" "3bfe2458160c3cb03c61cce992618188f00d36c2ff88e0caee6b688241b33e25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bfe2458160c3cb03c61cce992618188f00d36c2ff88e0caee6b688241b33e25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bfe2458160c3cb03c61cce992618188f00d36c2ff88e0caee6b688241b33e25", kill_on_drop: false }` [INFO] [stdout] 3bfe2458160c3cb03c61cce992618188f00d36c2ff88e0caee6b688241b33e25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d3302e12fddf5f26b73d9a4fc6970ca479863fa12e9fe42649aee312a772547 [INFO] running `Command { std: "docker" "start" "-a" "0d3302e12fddf5f26b73d9a4fc6970ca479863fa12e9fe42649aee312a772547", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.49 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.88 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling cc v1.0.29 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling tokio-executor v0.1.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling tokio-io v0.1.11 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Compiling pnet_base v0.22.0 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling http v0.1.16 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling pnet_macros_support v0.22.0 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [INFO] [stderr] Compiling tokio-sync v0.1.2 [INFO] [stderr] Compiling pnet_sys v0.22.0 [INFO] [stderr] Compiling bincode v1.1.2 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling string v0.1.3 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling h2 v0.1.16 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling pnet v0.22.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling uuid v0.7.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.22.0 [INFO] [stderr] Compiling serde_derive v1.0.88 [INFO] [stderr] Compiling gotham_derive v0.3.0 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling pnet_packet v0.22.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.38 [INFO] [stderr] Compiling ipnetwork v0.14.0 [INFO] [stderr] Compiling pnet_datalink v0.22.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.8 [INFO] [stderr] Compiling crossbeam v0.6.0 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.11 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-fs v0.1.5 [INFO] [stderr] Compiling tokio v0.1.15 [INFO] [stderr] Compiling pnet_transport v0.22.0 [INFO] [stderr] Compiling hyper v0.12.24 [INFO] [stderr] Compiling borrow-bag v1.0.0 [INFO] [stderr] Compiling gotham v0.3.0 [INFO] [stderr] Compiling awall-config-back v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `IntoHandlerError` [INFO] [stdout] --> src/config_routes.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use gotham::handler::{HandlerFuture, IntoHandlerError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NetworkInterface`, `self` [INFO] [stdout] --> src/config_routes.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use pnet::datalink::{self, NetworkInterface}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NewMiddleware` [INFO] [stdout] --> src/config.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use gotham::middleware::{NewMiddleware, Middleware}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromState`, `StateData` [INFO] [stdout] --> src/config.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use gotham::state::{FromState, State, StateData}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unicase::Ascii` [INFO] [stdout] --> src/cors_middleware.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use unicase::Ascii; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config_routes.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | fn error(state: &State, e: &std::error::Error) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn error(state: &State, e: &dyn std::error::Error) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `corsMiddleware` should have a snake case name [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let corsMiddleware = cors_middleware::CORSMiddleware::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cors_middleware` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 50s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [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" "0d3302e12fddf5f26b73d9a4fc6970ca479863fa12e9fe42649aee312a772547", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d3302e12fddf5f26b73d9a4fc6970ca479863fa12e9fe42649aee312a772547", kill_on_drop: false }` [INFO] [stdout] 0d3302e12fddf5f26b73d9a4fc6970ca479863fa12e9fe42649aee312a772547 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a41aea19ee8c423cdca2b38cd7f6504d4137837eaddf886e792b2ba8d2b6768d [INFO] running `Command { std: "docker" "start" "-a" "a41aea19ee8c423cdca2b38cd7f6504d4137837eaddf886e792b2ba8d2b6768d", kill_on_drop: false }` [INFO] [stderr] Compiling awall-config-back v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `IntoHandlerError` [INFO] [stdout] --> src/config_routes.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use gotham::handler::{HandlerFuture, IntoHandlerError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NetworkInterface`, `self` [INFO] [stdout] --> src/config_routes.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use pnet::datalink::{self, NetworkInterface}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NewMiddleware` [INFO] [stdout] --> src/config.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use gotham::middleware::{NewMiddleware, Middleware}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromState`, `StateData` [INFO] [stdout] --> src/config.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use gotham::state::{FromState, State, StateData}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unicase::Ascii` [INFO] [stdout] --> src/cors_middleware.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use unicase::Ascii; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config_routes.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | fn error(state: &State, e: &std::error::Error) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn error(state: &State, e: &dyn std::error::Error) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `corsMiddleware` should have a snake case name [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let corsMiddleware = cors_middleware::CORSMiddleware::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cors_middleware` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "a41aea19ee8c423cdca2b38cd7f6504d4137837eaddf886e792b2ba8d2b6768d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a41aea19ee8c423cdca2b38cd7f6504d4137837eaddf886e792b2ba8d2b6768d", kill_on_drop: false }` [INFO] [stdout] a41aea19ee8c423cdca2b38cd7f6504d4137837eaddf886e792b2ba8d2b6768d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 61bf220fe8c9618885abb58bcae48438df9d5d221f1dd2decb7d3f7dde7e4a99 [INFO] running `Command { std: "docker" "start" "-a" "61bf220fe8c9618885abb58bcae48438df9d5d221f1dd2decb7d3f7dde7e4a99", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `IntoHandlerError` [INFO] [stderr] --> src/config_routes.rs:1:38 [INFO] [stderr] | [INFO] [stderr] 1 | use gotham::handler::{HandlerFuture, IntoHandlerError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `NetworkInterface`, `self` [INFO] [stderr] --> src/config_routes.rs:4:22 [INFO] [stderr] | [INFO] [stderr] 4 | use pnet::datalink::{self, NetworkInterface}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `NewMiddleware` [INFO] [stderr] --> src/config.rs:1:26 [INFO] [stderr] | [INFO] [stderr] 1 | use gotham::middleware::{NewMiddleware, Middleware}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FromState`, `StateData` [INFO] [stderr] --> src/config.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | use gotham::state::{FromState, State, StateData}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `unicase::Ascii` [INFO] [stderr] --> src/cors_middleware.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use unicase::Ascii; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/config_routes.rs:14:29 [INFO] [stderr] | [INFO] [stderr] 14 | fn error(state: &State, e: &std::error::Error) -> Response { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 | fn error(state: &State, e: &dyn std::error::Error) -> Response { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: variable `corsMiddleware` should have a snake case name [INFO] [stderr] --> src/main.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | let corsMiddleware = cors_middleware::CORSMiddleware::default(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cors_middleware` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `awall-config-back` (bin "awall-config-back" test) generated 7 warnings (run `cargo fix --bin "awall-config-back" --tests` to apply 6 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/awall_config_back-8a5eab81467056ea) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test cors_middleware::tests::test_default_cors_middleware ... ok [INFO] [stdout] test cors_middleware::tests::test_new_cors_middleware ... ok [INFO] [stdout] test cors_middleware::tests::test_custom_headers_set ... FAILED [INFO] [stdout] test cors_middleware::tests::test_headers_set ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- cors_middleware::tests::test_custom_headers_set stdout ---- [INFO] [stdout] thread 'cors_middleware::tests::test_custom_headers_set' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 22, kind: InvalidInput, message: "Invalid argument" } [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: failure::backtrace::internal::InternalBacktrace::new::hcdff650e860c7ec7 (0x55da58abca92) [INFO] [stdout] at src/backtrace/internal.rs:44 [INFO] [stdout] 1: failure::backtrace::Backtrace::new::hd2b226ece705ef5b (0x55da58abc8ef) [INFO] [stdout] at src/backtrace/mod.rs:111 [INFO] [stdout] ::default::ha50cfbe4b3311c04 [INFO] [stdout] at src/backtrace/mod.rs:125 [INFO] [stdout] 2: >::from::h983cbc74a266c0be (0x55da5890d0ca) [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/error_impl.rs:19 [INFO] [stdout] 3: >::from::hebac2dc6f09150d7 (0x55da588e78c0) [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/mod.rs:36 [INFO] [stdout] as core::ops::try_trait::FromResidual>>::from_residual::had052ba3ba702c59 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/result.rs:2107 [INFO] [stdout] gotham::test::TestServer::with_timeout::hdfb015c2a22d4165 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gotham-0.3.0/src/test/mod.rs:94 [INFO] [stdout] gotham::test::TestServer::new::h497d0408687d87d5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gotham-0.3.0/src/test/mod.rs:85 [INFO] [stdout] 4: awall_config_back::cors_middleware::tests::test_custom_headers_set::h6961d68b19c787c9 (0x55da588f6300) [INFO] [stdout] at src/cors_middleware.rs:259 [INFO] [stdout] 5: awall_config_back::cors_middleware::tests::test_custom_headers_set::{{closure}}::h846d3f8fd2fc089b (0x55da588e2ca8) [INFO] [stdout] at src/cors_middleware.rs:258 [INFO] [stdout] core::ops::function::FnOnce::call_once::h2fa1eac7635610df [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/ops/function.rs:250 [INFO] [stdout] 6: core::ops::function::FnOnce::call_once::h01f8fec7cfa52c10 (0x55da5895d15e) [INFO] [stdout] at library/core/src/ops/function.rs:250 [INFO] [stdout] test::__rust_begin_short_backtrace::hd9df3824e14a263a [INFO] [stdout] at library/test/src/lib.rs:656 [INFO] [stdout] 7: test::run_test::{{closure}}::h14eccc3df692cf45 (0x55da5892ea7b) [INFO] [stdout] at library/test/src/lib.rs:647 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}}::h22daa4200e93d413 [INFO] [stdout] at library/core/src/ops/function.rs:250 [INFO] [stdout] 8: as core::ops::function::FnOnce>::call_once::hf53e6a300c60e24c (0x55da5895c0e9) [INFO] [stdout] at library/alloc/src/boxed.rs:1988 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once::h6791832c0d80daf4 [INFO] [stdout] at library/core/src/panic/unwind_safe.rs:271 [INFO] [stdout] std::panicking::try::do_call::h8cc8eae26cdc3fd4 [INFO] [stdout] at library/std/src/panicking.rs:483 [INFO] [stdout] std::panicking::try::hda02a22cf2e8baa4 [INFO] [stdout] at library/std/src/panicking.rs:447 [INFO] [stdout] std::panic::catch_unwind::h3eae6cdd2df69f71 [INFO] [stdout] at library/std/src/panic.rs:140 [INFO] [stdout] test::run_test_in_process::h16fa719e43e0b71b [INFO] [stdout] at library/test/src/lib.rs:679 [INFO] [stdout] test::run_test::run_test_inner::{{closure}}::h17c8526637871e5a [INFO] [stdout] at library/test/src/lib.rs:573 [INFO] [stdout] 9: test::run_test::run_test_inner::{{closure}}::h2af69c9d277fc069 (0x55da589291f0) [INFO] [stdout] at library/test/src/lib.rs:600 [INFO] [stdout] std::sys_common::backtrace::__rust_begin_short_backtrace::h399ac55f3162af04 [INFO] [stdout] at library/std/src/sys_common/backtrace.rs:121 [INFO] [stdout] 10: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5a9b49c4b29a004f (0x55da5892ebba) [INFO] [stdout] at library/std/src/thread/mod.rs:558 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once::h204fece3743b973e [INFO] [stdout] at library/core/src/panic/unwind_safe.rs:271 [INFO] [stdout] std::panicking::try::do_call::he9e3e4b585f918a2 [INFO] [stdout] at library/std/src/panicking.rs:483 [INFO] [stdout] std::panicking::try::h4de93a5845ac1690 [INFO] [stdout] at library/std/src/panicking.rs:447 [INFO] [stdout] std::panic::catch_unwind::ha9ec01218adeb4c0 [INFO] [stdout] at library/std/src/panic.rs:140 [INFO] [stdout] std::thread::Builder::spawn_unchecked_::{{closure}}::h5c8e32d46eb0d8ba [INFO] [stdout] at library/std/src/thread/mod.rs:557 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}}::hbddd861cd79853bf [INFO] [stdout] at library/core/src/ops/function.rs:250 [INFO] [stdout] 11: as core::ops::function::FnOnce>::call_once::hb2ad3b54544c79ff (0x55da58afa4c2) [INFO] [stdout] at library/alloc/src/boxed.rs:1988 [INFO] [stdout] as core::ops::function::FnOnce>::call_once::hb64cd5ea55c83f79 [INFO] [stdout] at library/alloc/src/boxed.rs:1988 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start::ha585169903024f8f [INFO] [stdout] at library/std/src/sys/unix/thread.rs:108 [INFO] [stdout] 12: (0x7f2a8f8b1b42) [INFO] [stdout] 13: __clone (0x7f2a8f942bb3) [INFO] [stdout] 14: (0x0)', src/cors_middleware.rs:259:60 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55da58af3a1a - std::backtrace_rs::backtrace::libunwind::trace::he494f4174c7b193d [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55da58af3a1a - std::backtrace_rs::backtrace::trace_unsynchronized::h576ffc8be8cf606d [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55da58af3a1a - std::sys_common::backtrace::_print_fmt::h785643da434656fb [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stdout] 3: 0x55da58af3a1a - ::fmt::h9b4bec46148aa515 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x55da58b17e4e - core::fmt::write::h9b2447b2a0bad8cd [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/fmt/mod.rs:1213:17 [INFO] [stdout] 5: 0x55da58aeeb85 - std::io::Write::write_fmt::h01b310af65ec4db4 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/io/mod.rs:1682:15 [INFO] [stdout] 6: 0x55da58af37e5 - std::sys_common::backtrace::_print::hb761e44df96032bf [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 7: 0x55da58af37e5 - std::sys_common::backtrace::print::h38eae7c422ff66f6 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 8: 0x55da58af55df - std::panicking::default_hook::{{closure}}::h54755764573e4b37 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:267:22 [INFO] [stdout] 9: 0x55da58af529f - std::panicking::default_hook::h978c28978503d61b [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:283:9 [INFO] [stdout] 10: 0x55da58957cc7 - as core::ops::function::Fn>::call::hc75c380c644eb7dc [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 11: 0x55da58957cc7 - test::test_main::{{closure}}::hf8df6ffaec03f459 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x55da58af5d0a - as core::ops::function::Fn>::call::hf7b5b3aa2a34e491 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 13: 0x55da58af5d0a - std::panicking::rust_panic_with_hook::h334ed9b3cc817783 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:692:13 [INFO] [stdout] 14: 0x55da58af5a89 - std::panicking::begin_panic_handler::{{closure}}::h2ab7fcc83540cf23 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:579:13 [INFO] [stdout] 15: 0x55da58af3ecc - std::sys_common::backtrace::__rust_end_short_backtrace::h65758a09a74021a8 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:137:18 [INFO] [stdout] 16: 0x55da58af5792 - rust_begin_unwind [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:575:5 [INFO] [stdout] 17: 0x55da588db733 - core::panicking::panic_fmt::h157cca2ea8c38d2f [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/panicking.rs:64:14 [INFO] [stdout] 18: 0x55da588dbbe3 - core::result::unwrap_failed::ha26876a373d397d9 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/result.rs:1790:5 [INFO] [stdout] 19: 0x55da588f66b4 - core::result::Result::unwrap::h8f71946c04409a0e [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/result.rs:1112:23 [INFO] [stdout] 20: 0x55da588f66b4 - awall_config_back::cors_middleware::tests::test_custom_headers_set::h6961d68b19c787c9 [INFO] [stdout] at /opt/rustwide/workdir/src/cors_middleware.rs:259:27 [INFO] [stdout] 21: 0x55da588e2ca9 - awall_config_back::cors_middleware::tests::test_custom_headers_set::{{closure}}::h846d3f8fd2fc089b [INFO] [stdout] at /opt/rustwide/workdir/src/cors_middleware.rs:258:34 [INFO] [stdout] 22: 0x55da588e2ca9 - core::ops::function::FnOnce::call_once::h2fa1eac7635610df [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x55da5895d15f - core::ops::function::FnOnce::call_once::h01f8fec7cfa52c10 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x55da5895d15f - test::__rust_begin_short_backtrace::hd9df3824e14a263a [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/test/src/lib.rs:656:18 [INFO] [stdout] 25: 0x55da5892ea7c - test::run_test::{{closure}}::h14eccc3df692cf45 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/test/src/lib.rs:647:30 [INFO] [stdout] 26: 0x55da5892ea7c - core::ops::function::FnOnce::call_once{{vtable.shim}}::h22daa4200e93d413 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x55da5895c0ea - as core::ops::function::FnOnce>::call_once::hf53e6a300c60e24c [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 28: 0x55da5895c0ea - as core::ops::function::FnOnce<()>>::call_once::h6791832c0d80daf4 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 29: 0x55da5895c0ea - std::panicking::try::do_call::h8cc8eae26cdc3fd4 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:483:40 [INFO] [stdout] 30: 0x55da5895c0ea - std::panicking::try::hda02a22cf2e8baa4 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:447:19 [INFO] [stdout] 31: 0x55da5895c0ea - std::panic::catch_unwind::h3eae6cdd2df69f71 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panic.rs:140:14 [INFO] [stdout] 32: 0x55da5895c0ea - test::run_test_in_process::h16fa719e43e0b71b [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/test/src/lib.rs:679:27 [INFO] [stdout] 33: 0x55da5895c0ea - test::run_test::run_test_inner::{{closure}}::h17c8526637871e5a [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/test/src/lib.rs:573:39 [INFO] [stdout] 34: 0x55da589291f1 - test::run_test::run_test_inner::{{closure}}::h2af69c9d277fc069 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/test/src/lib.rs:600:37 [INFO] [stdout] 35: 0x55da589291f1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h399ac55f3162af04 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:121:18 [INFO] [stdout] 36: 0x55da5892ebbb - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5a9b49c4b29a004f [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/thread/mod.rs:558:17 [INFO] [stdout] 37: 0x55da5892ebbb - as core::ops::function::FnOnce<()>>::call_once::h204fece3743b973e [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 38: 0x55da5892ebbb - std::panicking::try::do_call::he9e3e4b585f918a2 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:483:40 [INFO] [stdout] 39: 0x55da5892ebbb - std::panicking::try::h4de93a5845ac1690 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:447:19 [INFO] [stdout] 40: 0x55da5892ebbb - std::panic::catch_unwind::ha9ec01218adeb4c0 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panic.rs:140:14 [INFO] [stdout] 41: 0x55da5892ebbb - std::thread::Builder::spawn_unchecked_::{{closure}}::h5c8e32d46eb0d8ba [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x55da5892ebbb - core::ops::function::FnOnce::call_once{{vtable.shim}}::hbddd861cd79853bf [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x55da58afa4c3 - as core::ops::function::FnOnce>::call_once::hb2ad3b54544c79ff [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 44: 0x55da58afa4c3 - as core::ops::function::FnOnce>::call_once::hb64cd5ea55c83f79 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 45: 0x55da58afa4c3 - std::sys::unix::thread::Thread::new::thread_start::ha585169903024f8f [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 46: 0x7f2a8f8b1b43 - [INFO] [stdout] 47: 0x7f2a8f942bb4 - __clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- cors_middleware::tests::test_headers_set stdout ---- [INFO] [stdout] thread 'cors_middleware::tests::test_headers_set' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 22, kind: InvalidInput, message: "Invalid argument" } [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: failure::backtrace::internal::InternalBacktrace::new::hcdff650e860c7ec7 (0x55da58abca92) [INFO] [stdout] at src/backtrace/internal.rs:44 [INFO] [stdout] 1: failure::backtrace::Backtrace::new::hd2b226ece705ef5b (0x55da58abc8ef) [INFO] [stdout] at src/backtrace/mod.rs:111 [INFO] [stdout] ::default::ha50cfbe4b3311c04 [INFO] [stdout] at src/backtrace/mod.rs:125 [INFO] [stdout] 2: >::from::h983cbc74a266c0be (0x55da5890d0ca) [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/error_impl.rs:19 [INFO] [stdout] 3: >::from::hebac2dc6f09150d7 (0x55da588e78c0) [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/mod.rs:36 [INFO] [stdout] as core::ops::try_trait::FromResidual>>::from_residual::had052ba3ba702c59 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/result.rs:2107 [INFO] [stdout] gotham::test::TestServer::with_timeout::hdfb015c2a22d4165 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gotham-0.3.0/src/test/mod.rs:94 [INFO] [stdout] gotham::test::TestServer::new::h497d0408687d87d5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gotham-0.3.0/src/test/mod.rs:85 [INFO] [stdout] 4: awall_config_back::cors_middleware::tests::test_headers_set::h588205f5fdc16009 (0x55da588f5c14) [INFO] [stdout] at src/cors_middleware.rs:233 [INFO] [stdout] 5: awall_config_back::cors_middleware::tests::test_headers_set::{{closure}}::hf723f1a01e14d358 (0x55da588e2cc8) [INFO] [stdout] at src/cors_middleware.rs:232 [INFO] [stdout] core::ops::function::FnOnce::call_once::h42b09bfca7af002c [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/ops/function.rs:250 [INFO] [stdout] 6: core::ops::function::FnOnce::call_once::h01f8fec7cfa52c10 (0x55da5895d15e) [INFO] [stdout] at library/core/src/ops/function.rs:250 [INFO] [stdout] test::__rust_begin_short_backtrace::hd9df3824e14a263a [INFO] [stdout] at library/test/src/lib.rs:656 [INFO] [stdout] 7: test::run_test::{{closure}}::h14eccc3df692cf45 (0x55da5892ea7b) [INFO] [stdout] at library/test/src/lib.rs:647 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}}::h22daa4200e93d413 [INFO] [stdout] at library/core/src/ops/function.rs:250 [INFO] [stdout] 8: as core::ops::function::FnOnce>::call_once::hf53e6a300c60e24c (0x55da5895c0e9) [INFO] [stdout] at library/alloc/src/boxed.rs:1988 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once::h6791832c0d80daf4 [INFO] [stdout] at library/core/src/panic/unwind_safe.rs:271 [INFO] [stdout] std::panicking::try::do_call::h8cc8eae26cdc3fd4 [INFO] [stdout] at library/std/src/panicking.rs:483 [INFO] [stdout] std::panicking::try::hda02a22cf2e8baa4 [INFO] [stdout] at library/std/src/panicking.rs:447 [INFO] [stdout] std::panic::catch_unwind::h3eae6cdd2df69f71 [INFO] [stdout] at library/std/src/panic.rs:140 [INFO] [stdout] test::run_test_in_process::h16fa719e43e0b71b [INFO] [stdout] at library/test/src/lib.rs:679 [INFO] [stdout] test::run_test::run_test_inner::{{closure}}::h17c8526637871e5a [INFO] [stdout] at library/test/src/lib.rs:573 [INFO] [stdout] 9: test::run_test::run_test_inner::{{closure}}::h2af69c9d277fc069 (0x55da589291f0) [INFO] [stdout] at library/test/src/lib.rs:600 [INFO] [stdout] std::sys_common::backtrace::__rust_begin_short_backtrace::h399ac55f3162af04 [INFO] [stdout] at library/std/src/sys_common/backtrace.rs:121 [INFO] [stdout] 10: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5a9b49c4b29a004f (0x55da5892ebba) [INFO] [stdout] at library/std/src/thread/mod.rs:558 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once::h204fece3743b973e [INFO] [stdout] at library/core/src/panic/unwind_safe.rs:271 [INFO] [stdout] std::panicking::try::do_call::he9e3e4b585f918a2 [INFO] [stdout] at library/std/src/panicking.rs:483 [INFO] [stdout] std::panicking::try::h4de93a5845ac1690 [INFO] [stdout] at library/std/src/panicking.rs:447 [INFO] [stdout] std::panic::catch_unwind::ha9ec01218adeb4c0 [INFO] [stdout] at library/std/src/panic.rs:140 [INFO] [stdout] std::thread::Builder::spawn_unchecked_::{{closure}}::h5c8e32d46eb0d8ba [INFO] [stdout] at library/std/src/thread/mod.rs:557 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}}::hbddd861cd79853bf [INFO] [stdout] at library/core/src/ops/function.rs:250 [INFO] [stdout] 11: as core::ops::function::FnOnce>::call_once::hb2ad3b54544c79ff (0x55da58afa4c2) [INFO] [stdout] at library/alloc/src/boxed.rs:1988 [INFO] [stdout] as core::ops::function::FnOnce>::call_once::hb64cd5ea55c83f79 [INFO] [stdout] at library/alloc/src/boxed.rs:1988 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start::ha585169903024f8f [INFO] [stdout] at library/std/src/sys/unix/thread.rs:108 [INFO] [stdout] 12: (0x7f2a8f8b1b42) [INFO] [stdout] 13: __clone (0x7f2a8f942bb3) [INFO] [stdout] 14: (0x0)', src/cors_middleware.rs:233:61 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55da58af3a1a - std::backtrace_rs::backtrace::libunwind::trace::he494f4174c7b193d [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55da58af3a1a - std::backtrace_rs::backtrace::trace_unsynchronized::h576ffc8be8cf606d [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55da58af3a1a - std::sys_common::backtrace::_print_fmt::h785643da434656fb [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stdout] 3: 0x55da58af3a1a - ::fmt::h9b4bec46148aa515 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x55da58b17e4e - core::fmt::write::h9b2447b2a0bad8cd [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/fmt/mod.rs:1213:17 [INFO] [stdout] 5: 0x55da58aeeb85 - std::io::Write::write_fmt::h01b310af65ec4db4 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/io/mod.rs:1682:15 [INFO] [stdout] 6: 0x55da58af37e5 - std::sys_common::backtrace::_print::hb761e44df96032bf [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 7: 0x55da58af37e5 - std::sys_common::backtrace::print::h38eae7c422ff66f6 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 8: 0x55da58af55df - std::panicking::default_hook::{{closure}}::h54755764573e4b37 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:267:22 [INFO] [stdout] 9: 0x55da58af529f - std::panicking::default_hook::h978c28978503d61b [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:283:9 [INFO] [stdout] 10: 0x55da58957cc7 - as core::ops::function::Fn>::call::hc75c380c644eb7dc [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 11: 0x55da58957cc7 - test::test_main::{{closure}}::hf8df6ffaec03f459 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x55da58af5d0a - as core::ops::function::Fn>::call::hf7b5b3aa2a34e491 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 13: 0x55da58af5d0a - std::panicking::rust_panic_with_hook::h334ed9b3cc817783 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:692:13 [INFO] [stdout] 14: 0x55da58af5a89 - std::panicking::begin_panic_handler::{{closure}}::h2ab7fcc83540cf23 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:579:13 [INFO] [stdout] 15: 0x55da58af3ecc - std::sys_common::backtrace::__rust_end_short_backtrace::h65758a09a74021a8 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:137:18 [INFO] [stdout] 16: 0x55da58af5792 - rust_begin_unwind [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:575:5 [INFO] [stdout] 17: 0x55da588db733 - core::panicking::panic_fmt::h157cca2ea8c38d2f [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/panicking.rs:64:14 [INFO] [stdout] 18: 0x55da588dbbe3 - core::result::unwrap_failed::ha26876a373d397d9 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/result.rs:1790:5 [INFO] [stdout] 19: 0x55da588f5f73 - core::result::Result::unwrap::h8f71946c04409a0e [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/result.rs:1112:23 [INFO] [stdout] 20: 0x55da588f5f73 - awall_config_back::cors_middleware::tests::test_headers_set::h588205f5fdc16009 [INFO] [stdout] at /opt/rustwide/workdir/src/cors_middleware.rs:233:27 [INFO] [stdout] 21: 0x55da588e2cc9 - awall_config_back::cors_middleware::tests::test_headers_set::{{closure}}::hf723f1a01e14d358 [INFO] [stdout] at /opt/rustwide/workdir/src/cors_middleware.rs:232:27 [INFO] [stdout] 22: 0x55da588e2cc9 - core::ops::function::FnOnce::call_once::h42b09bfca7af002c [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x55da5895d15f - core::ops::function::FnOnce::call_once::h01f8fec7cfa52c10 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x55da5895d15f - test::__rust_begin_short_backtrace::hd9df3824e14a263a [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/test/src/lib.rs:656:18 [INFO] [stdout] 25: 0x55da5892ea7c - test::run_test::{{closure}}::h14eccc3df692cf45 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/test/src/lib.rs:647:30 [INFO] [stdout] 26: 0x55da5892ea7c - core::ops::function::FnOnce::call_once{{vtable.shim}}::h22daa4200e93d413 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x55da5895c0ea - as core::ops::function::FnOnce>::call_once::hf53e6a300c60e24c [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 28: 0x55da5895c0ea - as core::ops::function::FnOnce<()>>::call_once::h6791832c0d80daf4 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 29: 0x55da5895c0ea - std::panicking::try::do_call::h8cc8eae26cdc3fd4 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:483:40 [INFO] [stdout] 30: 0x55da5895c0ea - std::panicking::try::hda02a22cf2e8baa4 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:447:19 [INFO] [stdout] 31: 0x55da5895c0ea - std::panic::catch_unwind::h3eae6cdd2df69f71 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panic.rs:140:14 [INFO] [stdout] 32: 0x55da5895c0ea - test::run_test_in_process::h16fa719e43e0b71b [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/test/src/lib.rs:679:27 [INFO] [stdout] 33: 0x55da5895c0ea - test::run_test::run_test_inner::{{closure}}::h17c8526637871e5a [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/test/src/lib.rs:573:39 [INFO] [stdout] 34: 0x55da589291f1 - test::run_test::run_test_inner::{{closure}}::h2af69c9d277fc069 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/test/src/lib.rs:600:37 [INFO] [stdout] 35: 0x55da589291f1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h399ac55f3162af04 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:121:18 [INFO] [stdout] 36: 0x55da5892ebbb - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5a9b49c4b29a004f [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/thread/mod.rs:558:17 [INFO] [stdout] 37: 0x55da5892ebbb - as core::ops::function::FnOnce<()>>::call_once::h204fece3743b973e [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 38: 0x55da5892ebbb - std::panicking::try::do_call::he9e3e4b585f918a2 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:483:40 [INFO] [stdout] 39: 0x55da5892ebbb - std::panicking::try::h4de93a5845ac1690 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:447:19 [INFO] [stdout] 40: 0x55da5892ebbb - std::panic::catch_unwind::ha9ec01218adeb4c0 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panic.rs:140:14 [INFO] [stdout] 41: 0x55da5892ebbb - std::thread::Builder::spawn_unchecked_::{{closure}}::h5c8e32d46eb0d8ba [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x55da5892ebbb - core::ops::function::FnOnce::call_once{{vtable.shim}}::hbddd861cd79853bf [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x55da58afa4c3 - as core::ops::function::FnOnce>::call_once::hb2ad3b54544c79ff [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 44: 0x55da58afa4c3 - as core::ops::function::FnOnce>::call_once::hb64cd5ea55c83f79 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 45: 0x55da58afa4c3 - std::sys::unix::thread::Thread::new::thread_start::ha585169903024f8f [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 46: 0x7f2a8f8b1b43 - [INFO] [stdout] 47: 0x7f2a8f942bb4 - __clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] cors_middleware::tests::test_custom_headers_set [INFO] [stdout] cors_middleware::tests::test_headers_set [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin awall-config-back` [INFO] running `Command { std: "docker" "inspect" "61bf220fe8c9618885abb58bcae48438df9d5d221f1dd2decb7d3f7dde7e4a99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61bf220fe8c9618885abb58bcae48438df9d5d221f1dd2decb7d3f7dde7e4a99", kill_on_drop: false }` [INFO] [stdout] 61bf220fe8c9618885abb58bcae48438df9d5d221f1dd2decb7d3f7dde7e4a99