[INFO] fetching crate ferrum-router 0.2.1... [INFO] testing ferrum-router-0.2.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_1 [INFO] extracting crate ferrum-router 0.2.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate ferrum-router 0.2.1 [INFO] finished tweaking crates.io crate ferrum-router 0.2.1 [INFO] tweaked toml for crates.io crate ferrum-router 0.2.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ferrum-router 0.2.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 121 packages to latest compatible versions [INFO] [stderr] Adding regex v0.2.11 (available: v1.11.2) [INFO] [stderr] Adding route-recognizer v0.1.13 (available: v0.3.1) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.7) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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 route-recognizer v0.1.13 [INFO] [stderr] Downloaded ferrum v0.2.1 [INFO] [stderr] Downloaded ferrum-plugin v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8401a8242b953eae055553cda733b404bb59b069c080ff9f797847f47367a4ec [INFO] running `Command { std: "docker" "start" "-a" "8401a8242b953eae055553cda733b404bb59b069c080ff9f797847f47367a4ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8401a8242b953eae055553cda733b404bb59b069c080ff9f797847f47367a4ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8401a8242b953eae055553cda733b404bb59b069c080ff9f797847f47367a4ec", kill_on_drop: false }` [INFO] [stdout] 8401a8242b953eae055553cda733b404bb59b069c080ff9f797847f47367a4ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d59a1fdd15ac32831481dd83cb345e2ea0afeaae6e2e8b6c07aab93f46f495b2 [INFO] running `Command { std: "docker" "start" "-a" "d59a1fdd15ac32831481dd83cb345e2ea0afeaae6e2e8b6c07aab93f46f495b2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling try-lock v0.1.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling want v0.0.4 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling ferrum-plugin v0.3.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling ferrum v0.2.1 [INFO] [stderr] Compiling ferrum-router v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/matcher.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub handler: &'a Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub handler: &'a Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/mod.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub handler: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub handler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/matcher.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/mod.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(glob: G, handler: Box, types: Option<&Store>) -> RecognizerResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(glob: G, handler: Box, types: Option<&Store>) -> RecognizerResult [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/mod.rs:14:59 [INFO] [stdout] | [INFO] [stdout] 14 | pub type RecognizerResult = Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub type RecognizerResult = Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/router/mod.rs:204:18 [INFO] [stdout] | [INFO] [stdout] 204 | fn recognize(&self, method: &Method, path: &str) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------- the lifetime gets resolved as `'_` [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] 204 | fn recognize(&self, method: &Method, path: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/recognizer/matcher.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.91s [INFO] running `Command { std: "docker" "inspect" "d59a1fdd15ac32831481dd83cb345e2ea0afeaae6e2e8b6c07aab93f46f495b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d59a1fdd15ac32831481dd83cb345e2ea0afeaae6e2e8b6c07aab93f46f495b2", kill_on_drop: false }` [INFO] [stdout] d59a1fdd15ac32831481dd83cb345e2ea0afeaae6e2e8b6c07aab93f46f495b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/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] 9a620da83e280f0200b4e4e84fab16e3bf2f92a23967822cac27dfeee2dcaa82 [INFO] running `Command { std: "docker" "start" "-a" "9a620da83e280f0200b4e4e84fab16e3bf2f92a23967822cac27dfeee2dcaa82", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/matcher.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub handler: &'a Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub handler: &'a Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/mod.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub handler: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub handler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/matcher.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/mod.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(glob: G, handler: Box, types: Option<&Store>) -> RecognizerResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(glob: G, handler: Box, types: Option<&Store>) -> RecognizerResult [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/mod.rs:14:59 [INFO] [stdout] | [INFO] [stdout] 14 | pub type RecognizerResult = Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub type RecognizerResult = Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/router/mod.rs:204:18 [INFO] [stdout] | [INFO] [stdout] 204 | fn recognize(&self, method: &Method, path: &str) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------- the lifetime gets resolved as `'_` [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] 204 | fn recognize(&self, method: &Method, path: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/recognizer/matcher.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ferrum-router v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/matcher.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub handler: &'a Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub handler: &'a Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/mod.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub handler: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub handler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/matcher.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/mod.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(glob: G, handler: Box, types: Option<&Store>) -> RecognizerResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(glob: G, handler: Box, types: Option<&Store>) -> RecognizerResult [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/mod.rs:14:59 [INFO] [stdout] | [INFO] [stdout] 14 | pub type RecognizerResult = Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub type RecognizerResult = Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/router/mod.rs:204:18 [INFO] [stdout] | [INFO] [stdout] 204 | fn recognize(&self, method: &Method, path: &str) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------- the lifetime gets resolved as `'_` [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] 204 | fn recognize(&self, method: &Method, path: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/recognizer/matcher.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:87:38 [INFO] [stdout] | [INFO] [stdout] 87 | assert!(!regex.is_match(""), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 87 | assert!(!regex.is_match(""), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 88 | assert!(!regex.is_match("test"), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 88 | assert!(!regex.is_match("test"), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:89:39 [INFO] [stdout] | [INFO] [stdout] 89 | assert!(!regex.is_match("/"), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 89 | assert!(!regex.is_match("/"), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:90:46 [INFO] [stdout] | [INFO] [stdout] 90 | assert!(regex.is_match("/posts/12"), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 90 | assert!(regex.is_match("/posts/12"), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:91:47 [INFO] [stdout] | [INFO] [stdout] 91 | assert!(regex.is_match("/posts/12/"), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 91 | assert!(regex.is_match("/posts/12/"), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:92:48 [INFO] [stdout] | [INFO] [stdout] 92 | assert!(!regex.is_match("/posts/12a"), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 92 | assert!(!regex.is_match("/posts/12a"), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:93:52 [INFO] [stdout] | [INFO] [stdout] 93 | assert!(!regex.is_match("/posts/12/test"), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 93 | assert!(!regex.is_match("/posts/12/test"), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:94:48 [INFO] [stdout] | [INFO] [stdout] 94 | assert!(!regex.is_match("/posts/new"), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 94 | assert!(!regex.is_match("/posts/new"), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:95:49 [INFO] [stdout] | [INFO] [stdout] 95 | assert!(!regex.is_match("/posts/new/"), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 95 | assert!(!regex.is_match("/posts/new/"), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:96:53 [INFO] [stdout] | [INFO] [stdout] 96 | assert!(!regex.is_match("/posts/new/test"), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 96 | assert!(!regex.is_match("/posts/new/test"), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustckZSAJL/symbols.o" "<9 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libferrum_router-d08379e86091b846.rlib,libregex-ea9c3931ff11d015.rlib,libutf8_ranges-20337238531d0c80.rlib,libregex_syntax-a66ffe2c29136e53.rlib,libucd_util-e9878f9921cc5f0f.rlib,libthread_local-2eeaf8ca13463e12.rlib,libaho_corasick-3ca6f3877ec99fc9.rlib,libmemchr-1aee4b866184c097.rlib,libferrum-99d04c3fb22311ff.rlib,liburl-8793540083b43e81.rlib,libidna-d163736b907c7a55.rlib,libunicode_normalization-ef4ccc4b6b0a8e81.rlib,libtinyvec-b10ff4bcb99f5bc8.rlib,libtinyvec_macros-39420a9672e6a692.rlib,libunicode_bidi-34d311bf2b33f794.rlib,libmatches-f5be1760a6872214.rlib,libmime_guess-9c2c1ff6c6e6e9d0.rlib,libphf-048b389f147e5866.rlib,libphf_shared-35b19e81473943a8.rlib,libunicase-b5a0a15db6ec32bf.rlib,libsiphasher-6fd8585445cfdc06.rlib,libmime-6cde0200636877c2.rlib,libferrum_plugin-fcc3da6c4f554996.rlib,libunsafe_any-269f5b376ef19565.rlib,libtraitobject-330dfab28b2f26ec.rlib,libhyper-9f6307f9a5076300.rlib,libwant-af22b120e2dbe37e.rlib,libtry_lock-91a19ecf6a0932b2.rlib,libunicase-ef532dbd8dd75916.rlib,libtokio_proto-d6e9897ca93febc0.rlib,liblog-144dbcf2dfe663e1.rlib,libtokio_service-dea6906ecd15b13e.rlib,libtake-0979b70db3006896.rlib,libsmallvec-91688b9a2fba2036.rlib,libslab-00f9274160328e82.rlib,librand-82a156932df71ac4.rlib,librand-d48e23b2bbd9d22d.rlib,libtokio_core-29ace44e89d1643b.rlib,libscoped_tls-852a4a96248153ef.rlib,libtokio-f5180c2f3d3ec620.rlib,libtokio_uds-37738a3f212a821a.rlib,libmio_uds-75507ddbfa6a54e5.rlib,libtokio_udp-7d127cc11d0fa4df.rlib,libtokio_timer-c78dd8f4b4125e2b.rlib,libtokio_tcp-6341154a2c41a63a.rlib,libtokio_reactor-d2a4ca46439a714d.rlib,libtokio_sync-8f0eb651c6e7f35f.rlib,libfnv-81596130b397d5c3.rlib,libparking_lot-f6e2e7422f9e23e3.rlib,libparking_lot_core-71c06560764f0780.rlib,libsmallvec-6f0ca986d3d40b40.rlib,liblock_api-27a9af95482ea192.rlib,libtokio_fs-634115131b3a0634.rlib,libtokio_threadpool-cd7221967ed39334.rlib,libcrossbeam_queue-515f49ec4fb99969.rlib,libcrossbeam_deque-d9de72130266a0ed.rlib,libcrossbeam_epoch-da7091c377cfbbb2.rlib,libscopeguard-339f7eb6e1fefd1f.rlib,libmemoffset-e09e892a77c86514.rlib,libmaybe_uninit-0ec4086066d636e4.rlib,libtokio_current_thread-d815fe60685ba544.rlib,libtokio_executor-0a04f136d216fef2.rlib,libcrossbeam_utils-adaee31999b404fb.rlib,liblazy_static-f3dc5c13b01a78ba.rlib,libtokio_codec-ecf2290e9c780626.rlib,libtokio_io-baee31cdfce8b2ae.rlib,libmio-2c4f66ee0ef175ae.rlib,libslab-92543ab7029d182d.rlib,libtime-965d5b13ac8b8ce2.rlib,librelay-122010d6ae05e4ac.rlib,libpercent_encoding-c47875da91a27715.rlib,libnet2-6b6fbce4899f21d5.rlib,libcfg_if-2d17986ae484e939.rlib,libmime-e6f732c53ac9de40.rlib,liblog-cb5d15e83916f17a.rlib,liblanguage_tags-158ba6cd45e642ae.rlib,libhttparse-71f3cd5bc112cafb.rlib,libfutures_cpupool-2def2beb65ad3e1f.rlib,libnum_cpus-4bc2532569f4a771.rlib,libfutures-110302b7fd4a3b0c.rlib,libbytes-30fb7cdffb33f2c5.rlib,libiovec-abd7580d470765c9.rlib,liblibc-eea2aa19abfb4532.rlib,libbase64-66019d25d0c63ea5.rlib,libsafemem-415ebfa147efdd91.rlib,libbyteorder-1e24148c060ae1e7.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustckZSAJL/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/uri_for-76b2830fcc119c6b" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrum-router` (example "uri_for") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9a620da83e280f0200b4e4e84fab16e3bf2f92a23967822cac27dfeee2dcaa82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a620da83e280f0200b4e4e84fab16e3bf2f92a23967822cac27dfeee2dcaa82", kill_on_drop: false }` [INFO] [stdout] 9a620da83e280f0200b4e4e84fab16e3bf2f92a23967822cac27dfeee2dcaa82