[INFO] cloning repository https://github.com/pymongo/rust_leetcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pymongo/rust_leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpymongo%2Frust_leetcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpymongo%2Frust_leetcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b70dd12d5ea80e0ec5ee151efb849f1e4fe7b984 [INFO] testing pymongo/rust_leetcode against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpymongo%2Frust_leetcode" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pymongo/rust_leetcode [INFO] finished tweaking git repo https://github.com/pymongo/rust_leetcode [INFO] tweaked toml for git repo https://github.com/pymongo/rust_leetcode written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pymongo/rust_leetcode on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f66606cc7796fcf15530b5c2f8fb98736b2dd0d6aeb3a5a56a1687a058815cb1 [INFO] running `Command { std: "docker" "start" "-a" "f66606cc7796fcf15530b5c2f8fb98736b2dd0d6aeb3a5a56a1687a058815cb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f66606cc7796fcf15530b5c2f8fb98736b2dd0d6aeb3a5a56a1687a058815cb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f66606cc7796fcf15530b5c2f8fb98736b2dd0d6aeb3a5a56a1687a058815cb1", kill_on_drop: false }` [INFO] [stdout] f66606cc7796fcf15530b5c2f8fb98736b2dd0d6aeb3a5a56a1687a058815cb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f401043bc69377643fb3fc0579fd9b0c6485729618506bb926f5320f869c37f [INFO] running `Command { std: "docker" "start" "-a" "3f401043bc69377643fb3fc0579fd9b0c6485729618506bb926f5320f869c37f", kill_on_drop: false }` [INFO] [stderr] Compiling leetcode-rust v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `not` [INFO] [stdout] --> src/bfs_dfs_backtracking/surrounded_regions.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(not)] [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(not)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not)");` 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: unused imports: `deserialize_vec_to_binary_tree`, `print_binary_tree`, and `serialize_binary_tree_to_vec` [INFO] [stdout] --> src/binary_tree/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | deserialize_vec_to_binary_tree, print_binary_tree, serialize_binary_tree_to_vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `not` [INFO] [stdout] --> src/bitwise/is_power_of_x.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(not)] [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(not)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not)");` 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: `not` [INFO] [stdout] --> src/counter/number_of_equivalent_domino_pairs.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(not)] [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(not)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not)");` 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: `FALSE` [INFO] [stdout] --> src/data_structure/trie_edit_distance.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(FALSE)] [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(FALSE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` 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: `not` [INFO] [stdout] --> src/easy/grid_or_matrix/spiral_matrix.rs:135:7 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(not)] [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(not)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not)");` 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: `not` [INFO] [stdout] --> src/easy/leetcode_very_easy.rs:1469:7 [INFO] [stdout] | [INFO] [stdout] 1469 | #[cfg(not)] [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(not)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not)");` 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: `not` [INFO] [stdout] --> src/easy/leetcode_very_easy.rs:4094:11 [INFO] [stdout] | [INFO] [stdout] 4094 | #[cfg(not)] [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(not)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not)");` 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: `FALSE` [INFO] [stdout] --> src/linked_list/mod.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(FALSE)] [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(FALSE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` 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: `FALSE` [INFO] [stdout] --> src/linked_list/linked_list_is_palindrome.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(FALSE)] [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(FALSE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` 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: `FALSE` [INFO] [stdout] --> src/uncategorized/contains_substr_kmp.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(FALSE)] [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(FALSE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` 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: the feature `control_flow_enum` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test, rustc_private, is_sorted, control_flow_enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `is_sorted` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test, rustc_private, is_sorted, control_flow_enum)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/code_snippets/sorting.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | for num in NUMS.iter_mut().take(NUMS_LEN) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `Command { std: "docker" "inspect" "3f401043bc69377643fb3fc0579fd9b0c6485729618506bb926f5320f869c37f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f401043bc69377643fb3fc0579fd9b0c6485729618506bb926f5320f869c37f", kill_on_drop: false }` [INFO] [stdout] 3f401043bc69377643fb3fc0579fd9b0c6485729618506bb926f5320f869c37f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e04616d6fd10e4c1933a6ea79f7008a8f3bab8d5bc184bcde8fecb1fb8a37b6 [INFO] running `Command { std: "docker" "start" "-a" "9e04616d6fd10e4c1933a6ea79f7008a8f3bab8d5bc184bcde8fecb1fb8a37b6", kill_on_drop: false }` [INFO] [stderr] Compiling leetcode-rust v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `not` [INFO] [stdout] --> src/bfs_dfs_backtracking/surrounded_regions.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(not)] [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(not)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not)");` 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: unused imports: `deserialize_vec_to_binary_tree`, `print_binary_tree`, and `serialize_binary_tree_to_vec` [INFO] [stdout] --> src/binary_tree/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | deserialize_vec_to_binary_tree, print_binary_tree, serialize_binary_tree_to_vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `not` [INFO] [stdout] --> src/bitwise/is_power_of_x.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(not)] [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(not)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not)");` 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: `not` [INFO] [stdout] --> src/counter/number_of_equivalent_domino_pairs.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(not)] [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(not)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not)");` 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: `FALSE` [INFO] [stdout] --> src/data_structure/trie_edit_distance.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(FALSE)] [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(FALSE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` 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: `not` [INFO] [stdout] --> src/easy/grid_or_matrix/spiral_matrix.rs:135:7 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(not)] [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(not)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not)");` 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: `not` [INFO] [stdout] --> src/easy/leetcode_very_easy.rs:1469:7 [INFO] [stdout] | [INFO] [stdout] 1469 | #[cfg(not)] [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(not)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not)");` 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: `not` [INFO] [stdout] --> src/easy/leetcode_very_easy.rs:4094:11 [INFO] [stdout] | [INFO] [stdout] 4094 | #[cfg(not)] [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(not)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not)");` 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: `FALSE` [INFO] [stdout] --> src/linked_list/mod.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(FALSE)] [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(FALSE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` 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: `FALSE` [INFO] [stdout] --> src/linked_list/linked_list_is_palindrome.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(FALSE)] [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(FALSE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` 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: `FALSE` [INFO] [stdout] --> src/uncategorized/contains_substr_kmp.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(FALSE)] [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(FALSE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` 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: the feature `control_flow_enum` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test, rustc_private, is_sorted, control_flow_enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `is_sorted` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test, rustc_private, is_sorted, control_flow_enum)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/code_snippets/sorting.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | for num in NUMS.iter_mut().take(NUMS_LEN) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `not` [INFO] [stdout] --> src/bfs_dfs_backtracking/surrounded_regions.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(not)] [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(not)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not)");` 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: `not` [INFO] [stdout] --> src/bitwise/is_power_of_x.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(not)] [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(not)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not)");` 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: `not` [INFO] [stdout] --> src/counter/number_of_equivalent_domino_pairs.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(not)] [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(not)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not)");` 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: `FALSE` [INFO] [stdout] --> src/data_structure/trie_edit_distance.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(FALSE)] [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(FALSE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` 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: `not` [INFO] [stdout] --> src/easy/grid_or_matrix/spiral_matrix.rs:135:7 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(not)] [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(not)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not)");` 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: `not` [INFO] [stdout] --> src/easy/leetcode_very_easy.rs:1469:7 [INFO] [stdout] | [INFO] [stdout] 1469 | #[cfg(not)] [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(not)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not)");` 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: `not` [INFO] [stdout] --> src/easy/leetcode_very_easy.rs:4094:11 [INFO] [stdout] | [INFO] [stdout] 4094 | #[cfg(not)] [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(not)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not)");` 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: `FALSE` [INFO] [stdout] --> src/linked_list/mod.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(FALSE)] [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(FALSE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` 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: `FALSE` [INFO] [stdout] --> src/linked_list/linked_list_is_palindrome.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(FALSE)] [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(FALSE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` 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: `FALSE` [INFO] [stdout] --> src/uncategorized/contains_substr_kmp.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(FALSE)] [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(FALSE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` 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: the feature `control_flow_enum` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test, rustc_private, is_sorted, control_flow_enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `is_sorted` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test, rustc_private, is_sorted, control_flow_enum)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/code_snippets/sorting.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | for num in NUMS.iter_mut().take(NUMS_LEN) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] error: could not compile `leetcode-rust` (lib test); 13 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/b03b3a7ec92682be2917540b679478d41c95a30c/bin/rustc --crate-name leetcode_rust --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "rustc_private"))' -C metadata=aab41e7abf45aef8 -C extra-filename=-41e77a9667563260 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "9e04616d6fd10e4c1933a6ea79f7008a8f3bab8d5bc184bcde8fecb1fb8a37b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e04616d6fd10e4c1933a6ea79f7008a8f3bab8d5bc184bcde8fecb1fb8a37b6", kill_on_drop: false }` [INFO] [stdout] 9e04616d6fd10e4c1933a6ea79f7008a8f3bab8d5bc184bcde8fecb1fb8a37b6