[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawall-config%2Fawall-config-back" "/workspace/builds/worker-91/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-91/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/awall-config/awall-config-back on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-91/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pnet_transport v0.22.0 [INFO] [stderr] Downloaded pnet_macros_support v0.22.0 [INFO] [stderr] Downloaded pnet v0.22.0 [INFO] [stderr] Downloaded syntex_errors v0.42.0 [INFO] [stderr] Downloaded syntex_syntax v0.42.0 [INFO] [stderr] Downloaded crossbeam v0.6.0 [INFO] [stderr] Downloaded tokio-threadpool v0.1.11 [INFO] [stderr] Downloaded tokio-sync v0.1.2 [INFO] [stderr] Downloaded tokio v0.1.15 [INFO] [stderr] Downloaded borrow-bag v1.0.0 [INFO] [stderr] Downloaded pnet_datalink v0.22.0 [INFO] [stderr] Downloaded bincode v1.1.2 [INFO] [stderr] Downloaded syntex v0.42.2 [INFO] [stderr] Downloaded cc v1.0.29 [INFO] [stderr] Downloaded serde v1.0.88 [INFO] [stderr] Downloaded pnet_macros v0.22.0 [INFO] [stderr] Downloaded syntex_pos v0.42.0 [INFO] [stderr] Downloaded pnet_packet v0.22.0 [INFO] [stderr] Downloaded pnet_sys v0.22.0 [INFO] [stderr] Downloaded pnet_base v0.22.0 [INFO] [stderr] Downloaded uuid v0.7.2 [INFO] [stderr] Downloaded regex v1.0.6 [INFO] [stderr] Downloaded hyper v0.12.24 [INFO] [stderr] Downloaded tokio-timer v0.2.10 [INFO] [stderr] Downloaded ipnetwork v0.14.0 [INFO] [stderr] Downloaded serde_json v1.0.38 [INFO] [stderr] Downloaded serde_derive v1.0.88 [INFO] [stderr] Downloaded gotham_derive v0.3.0 [INFO] [stderr] Downloaded gotham v0.3.0 [INFO] [stderr] Downloaded http v0.1.16 [INFO] [stderr] Downloaded syn v0.15.26 [INFO] [stderr] Downloaded h2 v0.1.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77752e48e48bcbd9191c91033910e5cfc7e7aba7c0962b7c2c8d9fc8d4386ff5 [INFO] running `Command { std: "docker" "start" "-a" "77752e48e48bcbd9191c91033910e5cfc7e7aba7c0962b7c2c8d9fc8d4386ff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77752e48e48bcbd9191c91033910e5cfc7e7aba7c0962b7c2c8d9fc8d4386ff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77752e48e48bcbd9191c91033910e5cfc7e7aba7c0962b7c2c8d9fc8d4386ff5", kill_on_drop: false }` [INFO] [stdout] 77752e48e48bcbd9191c91033910e5cfc7e7aba7c0962b7c2c8d9fc8d4386ff5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 109a28e781ce7a456e680419655a7c9dad33fb1ff7194fac57bd903a36d13c54 [INFO] running `Command { std: "docker" "start" "-a" "109a28e781ce7a456e680419655a7c9dad33fb1ff7194fac57bd903a36d13c54", 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 rand_core v0.4.0 [INFO] [stderr] Compiling serde v1.0.88 [INFO] [stderr] Compiling lazy_static v1.2.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 cc v1.0.29 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Compiling pnet_base v0.22.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling string v0.1.3 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling pnet v0.22.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.5 [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 bincode v1.1.2 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling pnet_macros_support v0.22.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling tokio-sync v0.1.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling tokio-executor v0.1.6 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling syn v0.15.26 [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 rand v0.4.6 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling pnet_sys v0.22.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling tokio-io v0.1.11 [INFO] [stderr] Compiling http v0.1.16 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling uuid v0.7.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling h2 v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.88 [INFO] [stderr] Compiling gotham_derive v0.3.0 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.22.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 rustc_version v0.2.3 [INFO] [stderr] Compiling pnet_datalink v0.22.0 [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-uds v0.2.5 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling borrow-bag v1.0.0 [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 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] = 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] 14 - fn error(state: &State, e: &std::error::Error) -> Response { [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 1m 21s [INFO] running `Command { std: "docker" "inspect" "109a28e781ce7a456e680419655a7c9dad33fb1ff7194fac57bd903a36d13c54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "109a28e781ce7a456e680419655a7c9dad33fb1ff7194fac57bd903a36d13c54", kill_on_drop: false }` [INFO] [stdout] 109a28e781ce7a456e680419655a7c9dad33fb1ff7194fac57bd903a36d13c54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 841dba2db7c91819438e5af8e421d4cc07dac24945dddd39016b6eac8e84437a [INFO] running `Command { std: "docker" "start" "-a" "841dba2db7c91819438e5af8e421d4cc07dac24945dddd39016b6eac8e84437a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] = 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] 14 - fn error(state: &State, e: &std::error::Error) -> Response { [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 1m 40s [INFO] running `Command { std: "docker" "inspect" "841dba2db7c91819438e5af8e421d4cc07dac24945dddd39016b6eac8e84437a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "841dba2db7c91819438e5af8e421d4cc07dac24945dddd39016b6eac8e84437a", kill_on_drop: false }` [INFO] [stdout] 841dba2db7c91819438e5af8e421d4cc07dac24945dddd39016b6eac8e84437a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0971b4a2158c8ec52070725f087166a92c95cb1421824ba99d81e0699d611a3f [INFO] running `Command { std: "docker" "start" "-a" "0971b4a2158c8ec52070725f087166a92c95cb1421824ba99d81e0699d611a3f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] = 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] 14 - fn error(state: &State, e: &std::error::Error) -> Response { [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 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.39s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/awall_config_back-77402e797e58b684) [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] [stderr] thread panicked while panicking. aborting. [INFO] [stderr] error: test failed, to rerun pass '--bin awall-config-back' [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/awall_config_back-77402e797e58b684` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "0971b4a2158c8ec52070725f087166a92c95cb1421824ba99d81e0699d611a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0971b4a2158c8ec52070725f087166a92c95cb1421824ba99d81e0699d611a3f", kill_on_drop: false }` [INFO] [stdout] 0971b4a2158c8ec52070725f087166a92c95cb1421824ba99d81e0699d611a3f