[INFO] fetching crate pi_link_list 0.1.9... [INFO] testing pi_link_list-0.1.9 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate pi_link_list 0.1.9 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pi_link_list 0.1.9 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pi_null v0.1.12 [INFO] [stderr] Downloaded pi_share v0.4.16 [INFO] [stderr] Downloaded derive-deref-rs v0.1.1 [INFO] [stderr] Downloaded pi_key_alloter v0.5.2 [INFO] [stderr] Downloaded pi_print_any v0.1.2 [INFO] [stderr] Downloaded pi_slotmap v0.1.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 547be55c9044cca94224764d1a2596a91702ce136ac721c20cd1120520e75fa3 [INFO] running `Command { std: "docker" "start" "-a" "547be55c9044cca94224764d1a2596a91702ce136ac721c20cd1120520e75fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "547be55c9044cca94224764d1a2596a91702ce136ac721c20cd1120520e75fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "547be55c9044cca94224764d1a2596a91702ce136ac721c20cd1120520e75fa3", kill_on_drop: false }` [INFO] [stdout] 547be55c9044cca94224764d1a2596a91702ce136ac721c20cd1120520e75fa3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 449e0e24ce2974e744ad25da4e90edbfa62b25b418d6d5fb4362fea932ccc3b5 [INFO] running `Command { std: "docker" "start" "-a" "449e0e24ce2974e744ad25da4e90edbfa62b25b418d6d5fb4362fea932ccc3b5", kill_on_drop: false }` [INFO] [stderr] Compiling pi_null v0.1.12 [INFO] [stderr] Compiling pi_print_any v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling derive-deref-rs v0.1.1 [INFO] [stderr] Compiling pi_link_list v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "449e0e24ce2974e744ad25da4e90edbfa62b25b418d6d5fb4362fea932ccc3b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "449e0e24ce2974e744ad25da4e90edbfa62b25b418d6d5fb4362fea932ccc3b5", kill_on_drop: false }` [INFO] [stdout] 449e0e24ce2974e744ad25da4e90edbfa62b25b418d6d5fb4362fea932ccc3b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfe64a1681c21b57d15c1a411e685044f67976970e5ccc60fdb2e5312677f609 [INFO] running `Command { std: "docker" "start" "-a" "cfe64a1681c21b57d15c1a411e685044f67976970e5ccc60fdb2e5312677f609", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pi_share v0.4.16 [INFO] [stderr] Compiling pi_slotmap v0.1.17 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling pi_key_alloter v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling pi_link_list v0.1.9 (/opt/rustwide/workdir) [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" "cfe64a1681c21b57d15c1a411e685044f67976970e5ccc60fdb2e5312677f609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfe64a1681c21b57d15c1a411e685044f67976970e5ccc60fdb2e5312677f609", kill_on_drop: false }` [INFO] [stdout] cfe64a1681c21b57d15c1a411e685044f67976970e5ccc60fdb2e5312677f609