[INFO] cloning repository https://github.com/tyranron/rust-dojo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tyranron/rust-dojo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyranron%2Frust-dojo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyranron%2Frust-dojo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ef72fdf309e7642f225a91729c399149e131b06 [INFO] checking tyranron/rust-dojo against nightly-2024-02-05 for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyranron%2Frust-dojo" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tyranron/rust-dojo on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tyranron/rust-dojo [INFO] finished tweaking git repo https://github.com/tyranron/rust-dojo [INFO] tweaked toml for git repo https://github.com/tyranron/rust-dojo written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tyranron/rust-dojo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06bd89958223aced4feefb6bf48682b85ba256e9be7f2e60eba2b86501f0c695 [INFO] running `Command { std: "docker" "start" "-a" "06bd89958223aced4feefb6bf48682b85ba256e9be7f2e60eba2b86501f0c695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06bd89958223aced4feefb6bf48682b85ba256e9be7f2e60eba2b86501f0c695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06bd89958223aced4feefb6bf48682b85ba256e9be7f2e60eba2b86501f0c695", kill_on_drop: false }` [INFO] [stdout] 06bd89958223aced4feefb6bf48682b85ba256e9be7f2e60eba2b86501f0c695 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03e07e78f7bc7c9c799fdf7e728e7f6328cc88eaa21f7d9dd98acf5d5e04d5b7 [INFO] running `Command { std: "docker" "start" "-a" "03e07e78f7bc7c9c799fdf7e728e7f6328cc88eaa21f7d9dd98acf5d5e04d5b7", kill_on_drop: false }` [INFO] [stderr] Checking my-dojo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `count_positives_sum_negatives` is never used [INFO] [stdout] --> src/count_of_pos_and_sum_of_neg/mod.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn count_positives_sum_negatives(input: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `epidemic_imper` is never used [INFO] [stdout] --> src/disease_spread/mod.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn epidemic_imper(tm: i32, n: i32, s0: i32, i0: i32, b: f64, a: f64) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `epidemic_funct` is never used [INFO] [stdout] --> src/disease_spread/mod.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn epidemic_funct(tm: i32, n: i32, s0: i32, i0: i32, b: f64, a: f64) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_fracts` is never used [INFO] [stdout] --> src/irreducible_sum_of_rationals/mod.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn sum_fracts(l: Vec<(i64, i64)>) -> Option<(i64, i64)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `euclid_gcd` is never used [INFO] [stdout] --> src/irreducible_sum_of_rationals/mod.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn euclid_gcd(a: i64, b: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rnd10` is never used [INFO] [stdout] --> src/pi_approximation/mod.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn rnd10(f: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iter_pi` is never used [INFO] [stdout] --> src/pi_approximation/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn iter_pi(epsilon: f64) -> (i32, f64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_nb` is never used [INFO] [stdout] --> src/pile_of_cubes/mod.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn find_nb(m: u64) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "03e07e78f7bc7c9c799fdf7e728e7f6328cc88eaa21f7d9dd98acf5d5e04d5b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03e07e78f7bc7c9c799fdf7e728e7f6328cc88eaa21f7d9dd98acf5d5e04d5b7", kill_on_drop: false }` [INFO] [stdout] 03e07e78f7bc7c9c799fdf7e728e7f6328cc88eaa21f7d9dd98acf5d5e04d5b7 [INFO] checking tyranron/rust-dojo against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyranron%2Frust-dojo" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tyranron/rust-dojo on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tyranron/rust-dojo [INFO] finished tweaking git repo https://github.com/tyranron/rust-dojo [INFO] tweaked toml for git repo https://github.com/tyranron/rust-dojo written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tyranron/rust-dojo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3607130e5f649535bf8eb45d6ca221a83f5a15d481579b5cd4cf74cb03461d34 [INFO] running `Command { std: "docker" "start" "-a" "3607130e5f649535bf8eb45d6ca221a83f5a15d481579b5cd4cf74cb03461d34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3607130e5f649535bf8eb45d6ca221a83f5a15d481579b5cd4cf74cb03461d34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3607130e5f649535bf8eb45d6ca221a83f5a15d481579b5cd4cf74cb03461d34", kill_on_drop: false }` [INFO] [stdout] 3607130e5f649535bf8eb45d6ca221a83f5a15d481579b5cd4cf74cb03461d34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunexpected_cfgs" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }` [INFO] [stdout] 63094706702a1a6c873f204510866875cb992d47d6b3d31f9cadcbb514a06362 [INFO] running `Command { std: "docker" "start" "-a" "63094706702a1a6c873f204510866875cb992d47d6b3d31f9cadcbb514a06362", kill_on_drop: false }` [INFO] [stderr] Checking my-dojo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt` [INFO] [stdout] --> src/count_of_pos_and_sum_of_neg/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows` [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt` [INFO] [stdout] --> src/count_of_pos_and_sum_of_neg/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows` [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_positives_sum_negatives` is never used [INFO] [stdout] --> src/count_of_pos_and_sum_of_neg/mod.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn count_positives_sum_negatives(input: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `epidemic_imper` is never used [INFO] [stdout] --> src/disease_spread/mod.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn epidemic_imper(tm: i32, n: i32, s0: i32, i0: i32, b: f64, a: f64) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `epidemic_funct` is never used [INFO] [stdout] --> src/disease_spread/mod.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn epidemic_funct(tm: i32, n: i32, s0: i32, i0: i32, b: f64, a: f64) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_fracts` is never used [INFO] [stdout] --> src/irreducible_sum_of_rationals/mod.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn sum_fracts(l: Vec<(i64, i64)>) -> Option<(i64, i64)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `euclid_gcd` is never used [INFO] [stdout] --> src/irreducible_sum_of_rationals/mod.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn euclid_gcd(a: i64, b: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rnd10` is never used [INFO] [stdout] --> src/pi_approximation/mod.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn rnd10(f: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iter_pi` is never used [INFO] [stdout] --> src/pi_approximation/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn iter_pi(epsilon: f64) -> (i32, f64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_nb` is never used [INFO] [stdout] --> src/pile_of_cubes/mod.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn find_nb(m: u64) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my-dojo` (bin "my-dojo") due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `my-dojo` (bin "my-dojo" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "63094706702a1a6c873f204510866875cb992d47d6b3d31f9cadcbb514a06362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63094706702a1a6c873f204510866875cb992d47d6b3d31f9cadcbb514a06362", kill_on_drop: false }` [INFO] [stdout] 63094706702a1a6c873f204510866875cb992d47d6b3d31f9cadcbb514a06362