[INFO] fetching crate pmemkv 0.1.3-alpha.0... [INFO] checking pmemkv-0.1.3-alpha.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate pmemkv 0.1.3-alpha.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate pmemkv 0.1.3-alpha.0 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 crates.io crate pmemkv 0.1.3-alpha.0 [INFO] finished tweaking crates.io crate pmemkv 0.1.3-alpha.0 [INFO] tweaked toml for crates.io crate pmemkv 0.1.3-alpha.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pmemkv-sys v0.1.0-alpha.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] [stdout] 7fbf3442a6253804a263eebf44cc3225a1d887831135c33a2d7081740d2a2f99 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7fbf3442a6253804a263eebf44cc3225a1d887831135c33a2d7081740d2a2f99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fbf3442a6253804a263eebf44cc3225a1d887831135c33a2d7081740d2a2f99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fbf3442a6253804a263eebf44cc3225a1d887831135c33a2d7081740d2a2f99", kill_on_drop: false }` [INFO] [stdout] 7fbf3442a6253804a263eebf44cc3225a1d887831135c33a2d7081740d2a2f99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] [stdout] 7c65ce22349737be206a22b10093ff1d58e47d80e4a62a03c77543495deb02bb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7c65ce22349737be206a22b10093ff1d58e47d80e4a62a03c77543495deb02bb", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.100: default, std [INFO] [stderr] memchr v2.4.1: default, std, use_std [INFO] [stderr] [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bindgen v0.49.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling object v0.26.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling pmemkv-sys v0.1.0-alpha.0 [INFO] [stderr] Checking pmemkv v0.1.3-alpha.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error: expected non-macro attribute, found attribute macro `derive` [INFO] [stdout] --> src/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(partial_eq)] [INFO] [stdout] | ^^^^^^ not a non-macro attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected non-macro attribute, found attribute macro `derive` [INFO] [stdout] --> src/lib.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(partial_eq)] [INFO] [stdout] | ^^^^^^ not a non-macro attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kvengine.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | type EachFn = Fn(&[c_char], &[c_char]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[c_char], &[c_char])` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [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] --> src/kvengine.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | type StartFn = Fn(*const c_char, *const c_char, *const c_char); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(*const c_char, *const c_char, *const c_char)` [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] --> src/kvengine.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | type StartStringFn = Fn(&str, &str, &str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str, &str, &str)` [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] --> src/kvengine.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | let opt_closure: &&Fn(&[c_char]) = [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[c_char])` [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] --> src/kvengine.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let opt_closure: &&Fn(&str) = unsafe { &*(closure as *const &dyn std::ops::Fn(&str)) }; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Fn(&str)` [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] --> src/kvengine.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | let opt_closure: &&Fn(&str, &str) = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str, &str)` [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] --> src/kvengine.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | let mut cb: &Fn(&[c_char]) = &f; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[c_char])` [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] --> src/kvengine.rs:255:30 [INFO] [stdout] | [INFO] [stdout] 255 | let mut cb: &Fn(&str) = &f; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Fn(&str)` [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] --> src/kvengine.rs:341:30 [INFO] [stdout] | [INFO] [stdout] 341 | let mut cb: &Fn(&str, &str) = &f; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str, &str)` [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] --> src/kvengine.rs:391:30 [INFO] [stdout] | [INFO] [stdout] 391 | let mut cb: &Fn(&str, &str) = &f; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str, &str)` [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] --> src/kvengine.rs:452:30 [INFO] [stdout] | [INFO] [stdout] 452 | let mut cb: &Fn(&str, &str) = &f; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str, &str)` [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] --> src/kvengine.rs:519:30 [INFO] [stdout] | [INFO] [stdout] 519 | let mut cb: &Fn(&str, &str) = &f; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str, &str)` [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] --> src/kvengine.rs:598:30 [INFO] [stdout] | [INFO] [stdout] 598 | let mut cb: &Fn(&str) = &f; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Fn(&str)` [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] --> src/kvengine.rs:618:34 [INFO] [stdout] | [INFO] [stdout] 618 | let mut cb: &Fn(&[c_char]) = &f; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[c_char])` [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] --> src/kvengine.rs:653:34 [INFO] [stdout] | [INFO] [stdout] 653 | let mut cb: &Fn(&str) = &f; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Fn(&str)` [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] --> src/kvengine.rs:688:34 [INFO] [stdout] | [INFO] [stdout] 688 | let mut cb: &Fn(&[c_char]) = &f; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[c_char])` [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] --> src/kvengine.rs:723:34 [INFO] [stdout] | [INFO] [stdout] 723 | let mut cb: &Fn(&str) = &f; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Fn(&str)` [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] --> src/kvengine.rs:759:34 [INFO] [stdout] | [INFO] [stdout] 759 | let mut cb: &Fn(&[c_char]) = &f; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[c_char])` [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] --> src/kvengine.rs:804:34 [INFO] [stdout] | [INFO] [stdout] 804 | let mut cb: &Fn(&str) = &f; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Fn(&str)` [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] error: aborting due to 2 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pmemkv` due to 3 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: expected non-macro attribute, found attribute macro `derive` [INFO] [stdout] --> src/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(partial_eq)] [INFO] [stdout] | ^^^^^^ not a non-macro attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected non-macro attribute, found attribute macro `derive` [INFO] [stdout] --> src/lib.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(partial_eq)] [INFO] [stdout] | ^^^^^^ not a non-macro attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kvengine.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | type EachFn = Fn(&[c_char], &[c_char]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[c_char], &[c_char])` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [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] --> src/kvengine.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | type StartFn = Fn(*const c_char, *const c_char, *const c_char); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(*const c_char, *const c_char, *const c_char)` [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] --> src/kvengine.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | type StartStringFn = Fn(&str, &str, &str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str, &str, &str)` [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] --> src/kvengine.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | let opt_closure: &&Fn(&[c_char]) = [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[c_char])` [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] --> src/kvengine.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let opt_closure: &&Fn(&str) = unsafe { &*(closure as *const &dyn std::ops::Fn(&str)) }; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Fn(&str)` [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] --> src/kvengine.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | let opt_closure: &&Fn(&str, &str) = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str, &str)` [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] --> src/kvengine.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | let mut cb: &Fn(&[c_char]) = &f; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[c_char])` [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] --> src/kvengine.rs:255:30 [INFO] [stdout] | [INFO] [stdout] 255 | let mut cb: &Fn(&str) = &f; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Fn(&str)` [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] --> src/kvengine.rs:341:30 [INFO] [stdout] | [INFO] [stdout] 341 | let mut cb: &Fn(&str, &str) = &f; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str, &str)` [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] --> src/kvengine.rs:391:30 [INFO] [stdout] | [INFO] [stdout] 391 | let mut cb: &Fn(&str, &str) = &f; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str, &str)` [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] --> src/kvengine.rs:452:30 [INFO] [stdout] | [INFO] [stdout] 452 | let mut cb: &Fn(&str, &str) = &f; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str, &str)` [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] --> src/kvengine.rs:519:30 [INFO] [stdout] | [INFO] [stdout] 519 | let mut cb: &Fn(&str, &str) = &f; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str, &str)` [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] --> src/kvengine.rs:598:30 [INFO] [stdout] | [INFO] [stdout] 598 | let mut cb: &Fn(&str) = &f; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Fn(&str)` [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] --> src/kvengine.rs:618:34 [INFO] [stdout] | [INFO] [stdout] 618 | let mut cb: &Fn(&[c_char]) = &f; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[c_char])` [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] --> src/kvengine.rs:653:34 [INFO] [stdout] | [INFO] [stdout] 653 | let mut cb: &Fn(&str) = &f; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Fn(&str)` [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] --> src/kvengine.rs:688:34 [INFO] [stdout] | [INFO] [stdout] 688 | let mut cb: &Fn(&[c_char]) = &f; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[c_char])` [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] --> src/kvengine.rs:723:34 [INFO] [stdout] | [INFO] [stdout] 723 | let mut cb: &Fn(&str) = &f; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Fn(&str)` [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] --> src/kvengine.rs:759:34 [INFO] [stdout] | [INFO] [stdout] 759 | let mut cb: &Fn(&[c_char]) = &f; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[c_char])` [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] --> src/kvengine.rs:804:34 [INFO] [stdout] | [INFO] [stdout] 804 | let mut cb: &Fn(&str) = &f; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Fn(&str)` [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] error: aborting due to 2 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "7c65ce22349737be206a22b10093ff1d58e47d80e4a62a03c77543495deb02bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c65ce22349737be206a22b10093ff1d58e47d80e4a62a03c77543495deb02bb", kill_on_drop: false }` [INFO] [stdout] 7c65ce22349737be206a22b10093ff1d58e47d80e4a62a03c77543495deb02bb