[INFO] fetching crate pi_link_list 0.1.9... [INFO] checking pi_link_list-0.1.9 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate pi_link_list 0.1.9 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate pi_link_list 0.1.9 [INFO] finished tweaking crates.io crate pi_link_list 0.1.9 [INFO] tweaked toml for crates.io crate pi_link_list 0.1.9 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pi_link_list 0.1.9 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding pi_slotmap v0.1.17 (available: v0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b294b477d168b50e570fb14a63e4f4231eee605481aac2e3429974e69704b2d3 [INFO] running `Command { std: "docker" "start" "-a" "b294b477d168b50e570fb14a63e4f4231eee605481aac2e3429974e69704b2d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b294b477d168b50e570fb14a63e4f4231eee605481aac2e3429974e69704b2d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b294b477d168b50e570fb14a63e4f4231eee605481aac2e3429974e69704b2d3", kill_on_drop: false }` [INFO] [stdout] b294b477d168b50e570fb14a63e4f4231eee605481aac2e3429974e69704b2d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96718e71e55701419061107cdc341bb7faeb92762383e6ad49fa44b19fd34297 [INFO] running `Command { std: "docker" "start" "-a" "96718e71e55701419061107cdc341bb7faeb92762383e6ad49fa44b19fd34297", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking pi_null v0.1.12 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking pi_share v0.4.16 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking pi_print_any v0.1.2 [INFO] [stderr] Compiling pi_slotmap v0.1.17 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking pi_key_alloter v0.5.2 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling derive-deref-rs v0.1.1 [INFO] [stderr] Checking pi_link_list v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:520:29 [INFO] [stdout] | [INFO] [stdout] 520 | link_list.link_before(k1, Key::null(), &mut map); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 520 | link_list.link_before(k1, ::null(), &mut map); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `null` found for struct `DefaultKey` in the current scope [INFO] [stdout] --> src/lib.rs:526:21 [INFO] [stdout] | [INFO] [stdout] 526 | (k1, DefaultKey::null(), DefaultKey::null()) [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Null` which provides `null` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 508 + use pi_null::Null; [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_null` with a similar name [INFO] [stdout] | [INFO] [stdout] 526 | (k1, DefaultKey::is_null(), DefaultKey::null()) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `null` found for struct `DefaultKey` in the current scope [INFO] [stdout] --> src/lib.rs:526:41 [INFO] [stdout] | [INFO] [stdout] 526 | (k1, DefaultKey::null(), DefaultKey::null()) [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Null` which provides `null` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 508 + use pi_null::Null; [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_null` with a similar name [INFO] [stdout] | [INFO] [stdout] 526 | (k1, DefaultKey::null(), DefaultKey::is_null()) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:533:29 [INFO] [stdout] | [INFO] [stdout] 533 | link_list.link_before(k2, Key::null(), &mut map); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 533 | link_list.link_before(k2, ::null(), &mut map); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `null` found for struct `DefaultKey` in the current scope [INFO] [stdout] --> src/lib.rs:539:21 [INFO] [stdout] | [INFO] [stdout] 539 | (k1, DefaultKey::null(), k2), [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Null` which provides `null` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 508 + use pi_null::Null; [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_null` with a similar name [INFO] [stdout] | [INFO] [stdout] 539 | (k1, DefaultKey::is_null(), k2), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `null` found for struct `DefaultKey` in the current scope [INFO] [stdout] --> src/lib.rs:540:25 [INFO] [stdout] | [INFO] [stdout] 540 | (k2, k1, DefaultKey::null()) [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Null` which provides `null` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 508 + use pi_null::Null; [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_null` with a similar name [INFO] [stdout] | [INFO] [stdout] 540 | (k2, k1, DefaultKey::is_null()) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `null` found for struct `DefaultKey` in the current scope [INFO] [stdout] --> src/lib.rs:552:21 [INFO] [stdout] | [INFO] [stdout] 552 | (k1, DefaultKey::null(), k3), [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Null` which provides `null` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 508 + use pi_null::Null; [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_null` with a similar name [INFO] [stdout] | [INFO] [stdout] 552 | (k1, DefaultKey::is_null(), k3), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `null` found for struct `DefaultKey` in the current scope [INFO] [stdout] --> src/lib.rs:553:25 [INFO] [stdout] | [INFO] [stdout] 553 | (k2, k3, DefaultKey::null()), [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Null` which provides `null` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 508 + use pi_null::Null; [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_null` with a similar name [INFO] [stdout] | [INFO] [stdout] 553 | (k2, k3, DefaultKey::is_null()), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `null` found for struct `DefaultKey` in the current scope [INFO] [stdout] --> src/lib.rs:568:25 [INFO] [stdout] | [INFO] [stdout] 568 | (k2, k3, DefaultKey::null()), [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Null` which provides `null` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 508 + use pi_null::Null; [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_null` with a similar name [INFO] [stdout] | [INFO] [stdout] 568 | (k2, k3, DefaultKey::is_null()), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `null` found for struct `DefaultKey` in the current scope [INFO] [stdout] --> src/lib.rs:570:21 [INFO] [stdout] | [INFO] [stdout] 570 | (k4, DefaultKey::null(), k1), [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Null` which provides `null` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 508 + use pi_null::Null; [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_null` with a similar name [INFO] [stdout] | [INFO] [stdout] 570 | (k4, DefaultKey::is_null(), k1), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `null` found for struct `DefaultKey` in the current scope [INFO] [stdout] --> src/lib.rs:585:25 [INFO] [stdout] | [INFO] [stdout] 585 | (k2, k1, DefaultKey::null()), [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Null` which provides `null` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 508 + use pi_null::Null; [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_null` with a similar name [INFO] [stdout] | [INFO] [stdout] 585 | (k2, k1, DefaultKey::is_null()), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `null` found for struct `DefaultKey` in the current scope [INFO] [stdout] --> src/lib.rs:586:21 [INFO] [stdout] | [INFO] [stdout] 586 | (k4, DefaultKey::null(), k1), [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Null` which provides `null` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 508 + use pi_null::Null; [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_null` with a similar name [INFO] [stdout] | [INFO] [stdout] 586 | (k4, DefaultKey::is_null(), k1), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `null` found for struct `DefaultKey` in the current scope [INFO] [stdout] --> src/lib.rs:598:21 [INFO] [stdout] | [INFO] [stdout] 598 | (k1, DefaultKey::null(), k2), [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Null` which provides `null` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 508 + use pi_null::Null; [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_null` with a similar name [INFO] [stdout] | [INFO] [stdout] 598 | (k1, DefaultKey::is_null(), k2), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `null` found for struct `DefaultKey` in the current scope [INFO] [stdout] --> src/lib.rs:599:25 [INFO] [stdout] | [INFO] [stdout] 599 | (k2, k1, DefaultKey::null()), [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Null` which provides `null` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 508 + use pi_null::Null; [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_null` with a similar name [INFO] [stdout] | [INFO] [stdout] 599 | (k2, k1, DefaultKey::is_null()), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `null` found for struct `DefaultKey` in the current scope [INFO] [stdout] --> src/lib.rs:611:21 [INFO] [stdout] | [INFO] [stdout] 611 | (k1, DefaultKey::null(), DefaultKey::null()) [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Null` which provides `null` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 508 + use pi_null::Null; [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_null` with a similar name [INFO] [stdout] | [INFO] [stdout] 611 | (k1, DefaultKey::is_null(), DefaultKey::null()) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `null` found for struct `DefaultKey` in the current scope [INFO] [stdout] --> src/lib.rs:611:41 [INFO] [stdout] | [INFO] [stdout] 611 | (k1, DefaultKey::null(), DefaultKey::null()) [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Null` which provides `null` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 508 + use pi_null::Null; [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_null` with a similar name [INFO] [stdout] | [INFO] [stdout] 611 | (k1, DefaultKey::null(), DefaultKey::is_null()) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `null` found for struct `DefaultKey` in the current scope [INFO] [stdout] --> src/lib.rs:618:26 [INFO] [stdout] | [INFO] [stdout] 618 | assert_eq!(DefaultKey::null(), link_list.head()); [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Null` which provides `null` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 508 + use pi_null::Null; [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_null` with a similar name [INFO] [stdout] | [INFO] [stdout] 618 | assert_eq!(DefaultKey::is_null(), link_list.head()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `null` found for struct `DefaultKey` in the current scope [INFO] [stdout] --> src/lib.rs:619:26 [INFO] [stdout] | [INFO] [stdout] 619 | assert_eq!(DefaultKey::null(), link_list.tail()); [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Null` which provides `null` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 508 + use pi_null::Null; [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_null` with a similar name [INFO] [stdout] | [INFO] [stdout] 619 | assert_eq!(DefaultKey::is_null(), link_list.tail()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:630:30 [INFO] [stdout] | [INFO] [stdout] 630 | link_list1.link_before(k1, Key::null(), &mut map); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 630 | link_list1.link_before(k1, ::null(), &mut map); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:632:30 [INFO] [stdout] | [INFO] [stdout] 632 | link_list1.link_before(k2, Key::null(), &mut map); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 632 | link_list1.link_before(k2, ::null(), &mut map); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:637:30 [INFO] [stdout] | [INFO] [stdout] 637 | link_list2.link_before(k3, Key::null(), &mut map); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 637 | link_list2.link_before(k3, ::null(), &mut map); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:639:30 [INFO] [stdout] | [INFO] [stdout] 639 | link_list2.link_before(k4, Key::null(), &mut map); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 639 | link_list2.link_before(k4, ::null(), &mut map); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pi_link_list` (lib test) due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "96718e71e55701419061107cdc341bb7faeb92762383e6ad49fa44b19fd34297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96718e71e55701419061107cdc341bb7faeb92762383e6ad49fa44b19fd34297", kill_on_drop: false }` [INFO] [stdout] 96718e71e55701419061107cdc341bb7faeb92762383e6ad49fa44b19fd34297