[INFO] fetching crate pmemkv 0.1.3-alpha.0... [INFO] checking pmemkv-0.1.3-alpha.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate pmemkv 0.1.3-alpha.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate pmemkv 0.1.3-alpha.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b06ebabf665f26c864faa06d23d6ae181b6ae7f1aab6871587579588d0a2644a [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" "b06ebabf665f26c864faa06d23d6ae181b6ae7f1aab6871587579588d0a2644a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b06ebabf665f26c864faa06d23d6ae181b6ae7f1aab6871587579588d0a2644a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b06ebabf665f26c864faa06d23d6ae181b6ae7f1aab6871587579588d0a2644a", kill_on_drop: false }` [INFO] [stdout] b06ebabf665f26c864faa06d23d6ae181b6ae7f1aab6871587579588d0a2644a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3fe4114c4edc7cf3feb09ef027e40a955eb63299b255435c1dbb0f99ba5e988 [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" "a3fe4114c4edc7cf3feb09ef027e40a955eb63299b255435c1dbb0f99ba5e988", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.49.4 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling backtrace v0.3.60 [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] Compiling regex v1.5.4 [INFO] [stderr] Compiling addr2line v0.15.2 [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 (/opt/rustwide/workdir) [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: `#[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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [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: `#[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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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: aborting due to 2 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a3fe4114c4edc7cf3feb09ef027e40a955eb63299b255435c1dbb0f99ba5e988", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3fe4114c4edc7cf3feb09ef027e40a955eb63299b255435c1dbb0f99ba5e988", kill_on_drop: false }` [INFO] [stdout] a3fe4114c4edc7cf3feb09ef027e40a955eb63299b255435c1dbb0f99ba5e988