[INFO] fetching crate pmemkv 0.1.3-alpha.0... [INFO] testing pmemkv-0.1.3-alpha.0 against beta-2022-04-10 for beta-1.61-1 [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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 800ab042d0e454fa3fc3e005ac606208c1fefc6000edf176cc232b97e0b41d01 [INFO] running `Command { std: "docker" "start" "-a" "800ab042d0e454fa3fc3e005ac606208c1fefc6000edf176cc232b97e0b41d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "800ab042d0e454fa3fc3e005ac606208c1fefc6000edf176cc232b97e0b41d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "800ab042d0e454fa3fc3e005ac606208c1fefc6000edf176cc232b97e0b41d01", kill_on_drop: false }` [INFO] [stdout] 800ab042d0e454fa3fc3e005ac606208c1fefc6000edf176cc232b97e0b41d01 [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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8018c875089f57dbcc7ac40e5cc1907c944a9150627e800695be9d28ae999f43 [INFO] running `Command { std: "docker" "start" "-a" "8018c875089f57dbcc7ac40e5cc1907c944a9150627e800695be9d28ae999f43", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling bindgen v0.49.4 [INFO] [stderr] Compiling pmemkv-sys v0.1.0-alpha.0 [INFO] [stderr] Compiling 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] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - type EachFn = Fn(&[c_char], &[c_char]); [INFO] [stdout] 19 + type EachFn = dyn Fn(&[c_char], &[c_char]); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - type StartFn = Fn(*const c_char, *const c_char, *const c_char); [INFO] [stdout] 20 + type StartFn = dyn Fn(*const c_char, *const c_char, *const c_char); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - type StartStringFn = Fn(&str, &str, &str); [INFO] [stdout] 21 + type StartStringFn = dyn Fn(&str, &str, &str); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - let opt_closure: &&Fn(&[c_char]) = [INFO] [stdout] 27 + let opt_closure: &&dyn Fn(&[c_char]) = [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - let opt_closure: &&Fn(&str) = unsafe { &*(closure as *const &dyn std::ops::Fn(&str)) }; [INFO] [stdout] 37 + let opt_closure: &&dyn Fn(&str) = unsafe { &*(closure as *const &dyn std::ops::Fn(&str)) }; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - let opt_closure: &&Fn(&str, &str) = [INFO] [stdout] 104 + let opt_closure: &&dyn Fn(&str, &str) = [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 - let mut cb: &Fn(&[c_char]) = &f; [INFO] [stdout] 225 + let mut cb: &dyn Fn(&[c_char]) = &f; [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 255 - let mut cb: &Fn(&str) = &f; [INFO] [stdout] 255 + let mut cb: &dyn Fn(&str) = &f; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 341 - let mut cb: &Fn(&str, &str) = &f; [INFO] [stdout] 341 + let mut cb: &dyn Fn(&str, &str) = &f; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 391 - let mut cb: &Fn(&str, &str) = &f; [INFO] [stdout] 391 + let mut cb: &dyn Fn(&str, &str) = &f; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 452 - let mut cb: &Fn(&str, &str) = &f; [INFO] [stdout] 452 + let mut cb: &dyn Fn(&str, &str) = &f; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 519 - let mut cb: &Fn(&str, &str) = &f; [INFO] [stdout] 519 + let mut cb: &dyn Fn(&str, &str) = &f; [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 598 - let mut cb: &Fn(&str) = &f; [INFO] [stdout] 598 + let mut cb: &dyn Fn(&str) = &f; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 618 - let mut cb: &Fn(&[c_char]) = &f; [INFO] [stdout] 618 + let mut cb: &dyn Fn(&[c_char]) = &f; [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 653 - let mut cb: &Fn(&str) = &f; [INFO] [stdout] 653 + let mut cb: &dyn Fn(&str) = &f; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 688 - let mut cb: &Fn(&[c_char]) = &f; [INFO] [stdout] 688 + let mut cb: &dyn Fn(&[c_char]) = &f; [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 723 - let mut cb: &Fn(&str) = &f; [INFO] [stdout] 723 + let mut cb: &dyn Fn(&str) = &f; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 759 - let mut cb: &Fn(&[c_char]) = &f; [INFO] [stdout] 759 + let mut cb: &dyn Fn(&[c_char]) = &f; [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 804 - let mut cb: &Fn(&str) = &f; [INFO] [stdout] 804 + let mut cb: &dyn Fn(&str) = &f; [INFO] [stdout] | [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] running `Command { std: "docker" "inspect" "8018c875089f57dbcc7ac40e5cc1907c944a9150627e800695be9d28ae999f43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8018c875089f57dbcc7ac40e5cc1907c944a9150627e800695be9d28ae999f43", kill_on_drop: false }` [INFO] [stdout] 8018c875089f57dbcc7ac40e5cc1907c944a9150627e800695be9d28ae999f43