[INFO] fetching crate nested_containment_list 0.3.1... [INFO] testing nested_containment_list-0.3.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate nested_containment_list 0.3.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate nested_containment_list 0.3.1 [INFO] finished tweaking crates.io crate nested_containment_list 0.3.1 [INFO] tweaked toml for crates.io crate nested_containment_list 0.3.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nested_containment_list 0.3.1 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 14 packages to latest compatible versions [INFO] [stderr] Adding autocfg v1.0.1 (available: v1.5.0) [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 more_ranges v0.1.0 [INFO] [stderr] Downloaded doc_item v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] caa0c2a946b163ab8196044ae0b28b89e1ecab2c400b24569976030421cffaf1 [INFO] running `Command { std: "docker" "start" "-a" "caa0c2a946b163ab8196044ae0b28b89e1ecab2c400b24569976030421cffaf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "caa0c2a946b163ab8196044ae0b28b89e1ecab2c400b24569976030421cffaf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caa0c2a946b163ab8196044ae0b28b89e1ecab2c400b24569976030421cffaf1", kill_on_drop: false }` [INFO] [stdout] caa0c2a946b163ab8196044ae0b28b89e1ecab2c400b24569976030421cffaf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] d2b68f2dd3c5523e8bca7fa53382e5ca423bb53790b65bfeb3b13415d48b0ddb [INFO] running `Command { std: "docker" "start" "-a" "d2b68f2dd3c5523e8bca7fa53382e5ca423bb53790b65bfeb3b13415d48b0ddb", kill_on_drop: false }` [INFO] [stderr] Compiling nested_containment_list v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_36` [INFO] [stdout] --> src/lib.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | #![cfg_attr(rustc_1_36, no_std)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_36)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_36)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_36` [INFO] [stdout] --> src/lib.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg(rustc_1_36)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_36)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_36)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_36` [INFO] [stdout] --> src/lib.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(not(rustc_1_36))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_36)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_36)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_36` [INFO] [stdout] --> src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(not(rustc_1_36))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_36)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_36)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_41` [INFO] [stdout] --> src/lib.rs:1338:7 [INFO] [stdout] | [INFO] [stdout] 1338 | #[cfg(rustc_1_41)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_41)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_41)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_41` [INFO] [stdout] --> src/lib.rs:1371:11 [INFO] [stdout] | [INFO] [stdout] 1371 | #[cfg(not(rustc_1_41))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_41)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_41)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/lib.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1224:21 [INFO] [stdout] | [INFO] [stdout] 1224 | let mut sublist_element = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "d2b68f2dd3c5523e8bca7fa53382e5ca423bb53790b65bfeb3b13415d48b0ddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2b68f2dd3c5523e8bca7fa53382e5ca423bb53790b65bfeb3b13415d48b0ddb", kill_on_drop: false }` [INFO] [stdout] d2b68f2dd3c5523e8bca7fa53382e5ca423bb53790b65bfeb3b13415d48b0ddb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] a583e36564c70337d2600cc5d47e37ec6b65e3db0aee66cc3832e07aa6a47abf [INFO] running `Command { std: "docker" "start" "-a" "a583e36564c70337d2600cc5d47e37ec6b65e3db0aee66cc3832e07aa6a47abf", kill_on_drop: false }` [INFO] [stderr] Compiling more_ranges v0.1.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_36` [INFO] [stdout] --> src/lib.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | #![cfg_attr(rustc_1_36, no_std)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_36)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_36)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_36` [INFO] [stdout] --> src/lib.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg(rustc_1_36)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_36)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_36)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_36` [INFO] [stdout] --> src/lib.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(not(rustc_1_36))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_36)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_36)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_36` [INFO] [stdout] --> src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(not(rustc_1_36))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_36)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_36)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_41` [INFO] [stdout] --> src/lib.rs:1338:7 [INFO] [stdout] | [INFO] [stdout] 1338 | #[cfg(rustc_1_41)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_41)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_41)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_41` [INFO] [stdout] --> src/lib.rs:1371:11 [INFO] [stdout] | [INFO] [stdout] 1371 | #[cfg(not(rustc_1_41))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_41)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_41)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/lib.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1224:21 [INFO] [stdout] | [INFO] [stdout] 1224 | let mut sublist_element = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nested_containment_list v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_36` [INFO] [stdout] --> src/lib.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | #![cfg_attr(rustc_1_36, no_std)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_36)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_36)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_36` [INFO] [stdout] --> src/lib.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg(rustc_1_36)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_36)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_36)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_36` [INFO] [stdout] --> src/lib.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(not(rustc_1_36))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_36)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_36)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_36` [INFO] [stdout] --> src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(not(rustc_1_36))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_36)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_36)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_41` [INFO] [stdout] --> src/lib.rs:1338:7 [INFO] [stdout] | [INFO] [stdout] 1338 | #[cfg(rustc_1_41)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_41)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_41)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_41` [INFO] [stdout] --> src/lib.rs:1371:11 [INFO] [stdout] | [INFO] [stdout] 1371 | #[cfg(not(rustc_1_41))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_41)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_41)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/lib.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1224:21 [INFO] [stdout] | [INFO] [stdout] 1224 | let mut sublist_element = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "a583e36564c70337d2600cc5d47e37ec6b65e3db0aee66cc3832e07aa6a47abf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a583e36564c70337d2600cc5d47e37ec6b65e3db0aee66cc3832e07aa6a47abf", kill_on_drop: false }` [INFO] [stdout] a583e36564c70337d2600cc5d47e37ec6b65e3db0aee66cc3832e07aa6a47abf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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", kill_on_drop: false }` [INFO] [stdout] 414f81f12472ca1627b2c6647cc72d8124cb748149f21cc3c68ecd420c353a2a [INFO] running `Command { std: "docker" "start" "-a" "414f81f12472ca1627b2c6647cc72d8124cb748149f21cc3c68ecd420c353a2a", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_1_36` [INFO] [stderr] --> src/lib.rs:88:13 [INFO] [stderr] | [INFO] [stderr] 88 | #![cfg_attr(rustc_1_36, no_std)] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_36)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_36)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_1_36` [INFO] [stderr] --> src/lib.rs:90:7 [INFO] [stderr] | [INFO] [stderr] 90 | #[cfg(rustc_1_36)] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_36)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_36)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_1_36` [INFO] [stderr] --> src/lib.rs:92:11 [INFO] [stderr] | [INFO] [stderr] 92 | #[cfg(not(rustc_1_36))] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_36)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_36)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_1_36` [INFO] [stderr] --> src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[cfg(not(rustc_1_36))] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_36)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_36)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_1_41` [INFO] [stderr] --> src/lib.rs:1338:7 [INFO] [stderr] | [INFO] [stderr] 1338 | #[cfg(rustc_1_41)] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_41)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_41)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_1_41` [INFO] [stderr] --> src/lib.rs:1371:11 [INFO] [stderr] | [INFO] [stderr] 1371 | #[cfg(not(rustc_1_41))] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_1_41)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_41)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/lib.rs:212:5 [INFO] [stderr] | [INFO] [stderr] 212 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:1224:21 [INFO] [stderr] | [INFO] [stderr] 1224 | let mut sublist_element = unsafe { [INFO] [stderr] | ----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `nested_containment_list` (lib) generated 8 warnings (run `cargo fix --lib -p nested_containment_list` to apply 2 suggestions) [INFO] [stderr] warning: `nested_containment_list` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nested_containment_list-87314a4afb1e7171) [INFO] [stdout] [INFO] [stdout] running 78 tests [INFO] [stdout] test element::tests::finds_top_most_parent_element ... ok [INFO] [stdout] test element::tests::finds_top_most_parent_element_offset_out_of_scope ... ok [INFO] [stdout] test element::tests::finds_top_most_parent_element_no_parent ... ok [INFO] [stdout] test element::tests::finds_top_most_parent_element_with_index ... ok [INFO] [stdout] test element::tests::finds_top_most_parent_element_with_index_no_parent ... ok [INFO] [stdout] test nestable::tests::range_contains ... ok [INFO] [stdout] test nestable::tests::range_from_exclusive_contains ... ok [INFO] [stdout] test nestable::tests::range_from_contains ... ok [INFO] [stdout] test nestable::tests::range_from_exclusive_ordering ... ok [INFO] [stdout] test element::tests::finds_top_most_parent_element_with_index_offset_out_of_scope ... ok [INFO] [stdout] test nestable::tests::range_from_exclusive_overlapping ... ok [INFO] [stdout] test nestable::tests::range_from_exclusive_to_exclusive_contains ... ok [INFO] [stdout] test nestable::tests::range_from_exclusive_to_exclusive_overlapping ... ok [INFO] [stdout] test nestable::tests::range_from_exclusive_to_exclusive_ordering ... ok [INFO] [stdout] test nestable::tests::range_from_exclusive_to_inclusive_contains ... ok [INFO] [stdout] test nestable::tests::range_from_exclusive_to_inclusive_ordering ... ok [INFO] [stdout] test nestable::tests::range_from_exclusive_to_inclusive_overlapping ... ok [INFO] [stdout] test nestable::tests::range_from_ordering ... ok [INFO] [stdout] test nestable::tests::range_from_overlapping ... ok [INFO] [stdout] test nestable::tests::range_full_contains ... ok [INFO] [stdout] test nestable::tests::range_full_ordering ... ok [INFO] [stdout] test nestable::tests::range_inclusive_ordering ... ok [INFO] [stdout] test nestable::tests::range_inclusive_contains ... ok [INFO] [stdout] test nestable::tests::range_inclusive_overlapping ... ok [INFO] [stdout] test nestable::tests::range_to_inclusive_contains ... ok [INFO] [stdout] test nestable::tests::range_full_overlapping ... ok [INFO] [stdout] test nestable::tests::range_to_inclusive_overlapping ... ok [INFO] [stdout] test nestable::tests::range_to_ordering ... ok [INFO] [stdout] test tests::capacity ... ok [INFO] [stdout] test tests::default ... ok [INFO] [stdout] test tests::extend ... ok [INFO] [stdout] test tests::from_iter ... ok [INFO] [stdout] test tests::from_slice ... ok [INFO] [stdout] test tests::insert_contained ... ok [INFO] [stdout] test nestable::tests::range_to_contains ... ok [INFO] [stdout] test nestable::tests::range_overlapping ... ok [INFO] [stdout] test nestable::tests::range_to_overlapping ... ok [INFO] [stdout] test tests::insert_contained_not_at_end ... ok [INFO] [stdout] test nestable::tests::range_to_inclusive_ordering ... ok [INFO] [stdout] test tests::insert_contained_and_containing ... ok [INFO] [stdout] test tests::insert_containing ... ok [INFO] [stdout] test nestable::tests::range_ordering ... ok [INFO] [stdout] test tests::insert_disjoint ... ok [INFO] [stdout] test tests::insert_equal ... ok [INFO] [stdout] test tests::insert_into_second_sublist ... ok [INFO] [stdout] test tests::insert_on_empty ... ok [INFO] [stdout] test tests::into_iter ... ok [INFO] [stdout] test tests::is_empty ... ok [INFO] [stdout] test tests::is_not_empty ... ok [INFO] [stdout] test tests::into_vec ... ok [INFO] [stdout] test tests::iter_element_into_iter ... ok [INFO] [stdout] test tests::iter_last ... ok [INFO] [stdout] test tests::iter_next_back ... ok [INFO] [stdout] test tests::iter_size_hint_after_iterating ... ok [INFO] [stdout] test tests::iter_size_hint_empty ... ok [INFO] [stdout] test tests::new ... ok [INFO] [stdout] test tests::len ... ok [INFO] [stdout] test tests::overlapping ... ok [INFO] [stdout] test tests::from_vec ... ok [INFO] [stdout] test tests::overlapping_contained ... ok [INFO] [stdout] test tests::overlapping_last ... ok [INFO] [stdout] test tests::overlapping_element_into_iter ... ok [INFO] [stdout] test tests::overlapping_size_hint_after_iterating ... ok [INFO] [stdout] test tests::overlapping_next_back ... ok [INFO] [stdout] test tests::overlapping_size_hint_empty ... ok [INFO] [stdout] test tests::overlapping_skip_first ... ok [INFO] [stdout] test tests::overlapping_starts_at_topmost_element ... ok [INFO] [stdout] test tests::overlapping_stops_early ... ok [INFO] [stdout] test tests::overlapping_with_inner_not_overlapping ... ok [INFO] [stdout] test tests::overlapping_size_hint ... ok [INFO] [stdout] test tests::remove ... ok [INFO] [stdout] test tests::remove_contained ... ok [INFO] [stdout] test tests::remove_contained_and_containing ... ok [INFO] [stdout] test tests::remove_containing ... ok [INFO] [stdout] test tests::remove_from_empty ... ok [INFO] [stdout] test tests::remove_from_second_sublist ... ok [INFO] [stdout] test tests::remove_not_found ... ok [INFO] [stdout] test tests::iter_size_hint ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 78 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests nested_containment_list [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test src/lib.rs - (line 13) ... ok [INFO] [stdout] test src/lib.rs - NestedContainmentList::default (line 1394) ... ok [INFO] [stdout] test src/lib.rs - (line 20) ... ok [INFO] [stdout] test src/lib.rs - (line 33) ... ok [INFO] [stdout] test src/lib.rs - IterElement (line 548) ... ok [INFO] [stdout] test src/lib.rs - NestedContainmentList::capacity (line 938) ... ok [INFO] [stdout] test src/lib.rs - Iter::size_hint (line 720) ... ok [INFO] [stdout] test src/lib.rs - IterElement::into_iter (line 609) ... ok [INFO] [stdout] test src/lib.rs - NestedContainmentList (line 798) ... ok [INFO] [stdout] test src/lib.rs - NestedContainmentList::len (line 904) ... ok [INFO] [stdout] test src/lib.rs - NestedContainmentList::insert (line 1084) ... ok [INFO] [stdout] test src/lib.rs - NestedContainmentList::with_capacity (line 886) ... ok [INFO] [stdout] test src/lib.rs - NestedContainmentList::new (line 862) ... ok [INFO] [stdout] test src/lib.rs - Iter::next (line 672) ... ok [INFO] [stdout] test src/lib.rs - NestedContainmentList::is_empty (line 921) ... ok [INFO] [stdout] test src/lib.rs - IterElement::sublist (line 577) ... ok [INFO] [stdout] test src/lib.rs - Iter (line 641) ... ok [INFO] [stdout] test src/lib.rs - NestedContainmentList (line 822) ... ok [INFO] [stdout] test src/lib.rs - (line 51) ... ok [INFO] [stdout] test src/lib.rs - Iter::last (line 700) ... ok [INFO] [stdout] test src/lib.rs - NestedContainmentList::overlapping (line 959) ... ok [INFO] [stdout] test src/lib.rs - Overlapping<'a,R,S,T>::last (line 400) ... ok [INFO] [stdout] test src/lib.rs - Overlapping (line 233) ... ok [INFO] [stdout] test src/lib.rs - Overlapping<'a,R,S,T>::next (line 294) ... ok [INFO] [stdout] test src/lib.rs - NestedContainmentList::from_iter (line 1194) ... ok [INFO] [stdout] test src/lib.rs - NestedContainmentList::remove (line 1108) ... ok [INFO] [stdout] test src/lib.rs - Vec (line 1343) ... ok [INFO] [stdout] test src/lib.rs - OverlappingElement (line 124) ... ok [INFO] [stdout] test src/lib.rs - OverlappingElement<'a,R,S,T>::into_iter (line 198) ... ok [INFO] [stdout] test src/lib.rs - OverlappingElement<'a,R,S,T>::sublist (line 160) ... ok [INFO] [stdout] test src/lib.rs - Overlapping<'a,R,S,T>::size_hint (line 421) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.68s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "414f81f12472ca1627b2c6647cc72d8124cb748149f21cc3c68ecd420c353a2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "414f81f12472ca1627b2c6647cc72d8124cb748149f21cc3c68ecd420c353a2a", kill_on_drop: false }` [INFO] [stdout] 414f81f12472ca1627b2c6647cc72d8124cb748149f21cc3c68ecd420c353a2a