[INFO] cloning repository https://github.com/OlivierLemoine/fun_rust_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OlivierLemoine/fun_rust_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlivierLemoine%2Ffun_rust_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlivierLemoine%2Ffun_rust_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 660197c035c3603171851a2a9fcaa2463e04c58a [INFO] checking OlivierLemoine/fun_rust_server against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlivierLemoine%2Ffun_rust_server" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OlivierLemoine/fun_rust_server on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/OlivierLemoine/fun_rust_server [INFO] finished tweaking git repo https://github.com/OlivierLemoine/fun_rust_server [INFO] tweaked toml for git repo https://github.com/OlivierLemoine/fun_rust_server written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/OlivierLemoine/fun_rust_server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1cd1d0a8f8d9f37aacb7d899b88b56b4efc70e13e8e0ac2dae83a4f1c2da1f33 [INFO] running `Command { std: "docker" "start" "-a" "1cd1d0a8f8d9f37aacb7d899b88b56b4efc70e13e8e0ac2dae83a4f1c2da1f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cd1d0a8f8d9f37aacb7d899b88b56b4efc70e13e8e0ac2dae83a4f1c2da1f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cd1d0a8f8d9f37aacb7d899b88b56b4efc70e13e8e0ac2dae83a4f1c2da1f33", kill_on_drop: false }` [INFO] [stdout] 1cd1d0a8f8d9f37aacb7d899b88b56b4efc70e13e8e0ac2dae83a4f1c2da1f33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1e593da4000bf52784ea3c2824aab9c105403a683899d1b6fa385d82f647fbae [INFO] running `Command { std: "docker" "start" "-a" "1e593da4000bf52784ea3c2824aab9c105403a683899d1b6fa385d82f647fbae", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking http v0.1.0 (/tmp/fixit/http) [INFO] [stderr] Checking http_wrapper v0.1.0 (/tmp/fixit/http_wrapper) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> http_wrapper/src/middlewares.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub handler: &'a Fn(&Vec<&str>, &mut handler::Http), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Vec<&str>, &mut handler::Http)` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> http_wrapper/src/request_handler.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | pub handler: &'a Fn(&mut handler::Http), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut handler::Http)` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> http_wrapper/src/lib.rs:48:48 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get(mut self, path: &'a str, f: &'a Fn(&mut http::handler::Http)) -> Server<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut http::handler::Http)` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> http_wrapper/src/lib.rs:59:49 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn post(mut self, path: &'a str, f: &'a Fn(&mut http::handler::Http)) -> Server<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut http::handler::Http)` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> http_wrapper/src/lib.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | f: &'a Fn(&Vec<&str>, &mut http::handler::Http), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Vec<&str>, &mut http::handler::Http)` [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] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rust v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.53s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> http_wrapper/src/middlewares.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub handler: &'a Fn(&Vec<&str>, &mut handler::Http), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Vec<&str>, &mut handler::Http)` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> http_wrapper/src/request_handler.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | pub handler: &'a Fn(&mut handler::Http), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut handler::Http)` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> http_wrapper/src/lib.rs:48:48 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get(mut self, path: &'a str, f: &'a Fn(&mut http::handler::Http)) -> Server<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut http::handler::Http)` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> http_wrapper/src/lib.rs:59:49 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn post(mut self, path: &'a str, f: &'a Fn(&mut http::handler::Http)) -> Server<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut http::handler::Http)` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> http_wrapper/src/lib.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | f: &'a Fn(&Vec<&str>, &mut http::handler::Http), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Vec<&str>, &mut http::handler::Http)` [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] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rust v0.1.0 (/tmp/fixit) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "1e593da4000bf52784ea3c2824aab9c105403a683899d1b6fa385d82f647fbae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e593da4000bf52784ea3c2824aab9c105403a683899d1b6fa385d82f647fbae", kill_on_drop: false }` [INFO] [stdout] 1e593da4000bf52784ea3c2824aab9c105403a683899d1b6fa385d82f647fbae