[INFO] fetching crate n-tree 0.0.1... [INFO] checking n-tree-0.0.1 against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [INFO] extracting crate n-tree 0.0.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate n-tree 0.0.1 on toolchain 7b3565da729099dbe807466fcd118fb2815986e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate n-tree 0.0.1 [INFO] finished tweaking crates.io crate n-tree 0.0.1 [INFO] tweaked toml for crates.io crate n-tree 0.0.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] feacbdfbee0f37b6a6984d2569841d72a05ffbb053127f4eb92b5e736e47fde8 [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" "feacbdfbee0f37b6a6984d2569841d72a05ffbb053127f4eb92b5e736e47fde8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "feacbdfbee0f37b6a6984d2569841d72a05ffbb053127f4eb92b5e736e47fde8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feacbdfbee0f37b6a6984d2569841d72a05ffbb053127f4eb92b5e736e47fde8", kill_on_drop: false }` [INFO] [stdout] feacbdfbee0f37b6a6984d2569841d72a05ffbb053127f4eb92b5e736e47fde8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e8276f477d61df36927a1150c4bf3dadfe47fd2e8c61c5803c169163d0f6446 [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" "4e8276f477d61df36927a1150c4bf3dadfe47fd2e8c61c5803c169163d0f6446", kill_on_drop: false }` [INFO] [stderr] Checking n-tree v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find attribute `license` in this scope [INFO] [stdout] --> src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | #![license = "MIT"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ref_slice` in module `slice` [INFO] [stdout] --> src/lib.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | stack: vec![slice::ref_slice(self).iter()], [INFO] [stdout] | ^^^^^^^^^ not found in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Items` in module `slice` [INFO] [stdout] --> src/lib.rs:170:20 [INFO] [stdout] | [INFO] [stdout] 170 | points: slice::Items<'t, P>, [INFO] [stdout] | ^^^^^ not found in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Items` in module `slice` [INFO] [stdout] --> src/lib.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | stack: Vec>> [INFO] [stdout] | ^^^^^ not found in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused label [INFO] [stdout] --> src/lib.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | 'children: loop { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_labels)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `license` in this scope [INFO] [stdout] --> src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | #![license = "MIT"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ref_slice` in module `slice` [INFO] [stdout] --> src/lib.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | stack: vec![slice::ref_slice(self).iter()], [INFO] [stdout] | ^^^^^^^^^ not found in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Items` in module `slice` [INFO] [stdout] --> src/lib.rs:170:20 [INFO] [stdout] | [INFO] [stdout] 170 | points: slice::Items<'t, P>, [INFO] [stdout] | ^^^^^ not found in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Items` in module `slice` [INFO] [stdout] --> src/lib.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | stack: Vec>> [INFO] [stdout] | ^^^^^ not found in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused label [INFO] [stdout] --> src/lib.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | 'children: loop { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_labels)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes 0 type arguments but 1 type argument was supplied [INFO] [stdout] --> src/lib.rs:174:31 [INFO] [stdout] | [INFO] [stdout] 174 | impl<'t, 'q, R: Region

, P> Iterator<&'t P> for RangeQuery<'t, 'q, R, P> { [INFO] [stdout] | ^^^^^^^^------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 type arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 type parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item` [INFO] [stdout] --> src/lib.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | impl<'t, 'q, R: Region

, P> Iterator<&'t P> for RangeQuery<'t, 'q, R, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Item = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes 0 type arguments but 1 type argument was supplied [INFO] [stdout] --> src/lib.rs:174:31 [INFO] [stdout] | [INFO] [stdout] 174 | impl<'t, 'q, R: Region

, P> Iterator<&'t P> for RangeQuery<'t, 'q, R, P> { [INFO] [stdout] | ^^^^^^^^------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 type arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 type parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item` [INFO] [stdout] --> src/lib.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | impl<'t, 'q, R: Region

, P> Iterator<&'t P> for RangeQuery<'t, 'q, R, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Item = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `n-tree` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4e8276f477d61df36927a1150c4bf3dadfe47fd2e8c61c5803c169163d0f6446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e8276f477d61df36927a1150c4bf3dadfe47fd2e8c61c5803c169163d0f6446", kill_on_drop: false }` [INFO] [stdout] 4e8276f477d61df36927a1150c4bf3dadfe47fd2e8c61c5803c169163d0f6446