[INFO] cloning repository https://github.com/sudo42/aoc-2023-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sudo42/aoc-2023-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudo42%2Faoc-2023-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudo42%2Faoc-2023-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudo42%2Faoc-2023-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/sudo42/aoc-2023-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sudo42/aoc-2023-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudo42%2Faoc-2023-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudo42%2Faoc-2023-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 278c9804f87b526578c44de7a39f342f9cf30793 [INFO] testing sudo42/aoc-2023-rust against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudo42%2Faoc-2023-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: Unable to create '/workspace/builds/worker-1-tc2/source/.git/refs/remotes/origin/HEAD.lock': No such file or directory [INFO] [stderr] fatal: unable to update refs/remotes/origin/HEAD [INFO] testing sudo42/aoc-2023-rust against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudo42%2Faoc-2023-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] error: failed to write new configuration file /workspace/builds/worker-1-tc2/source/.git/config.lock [INFO] [stderr] fatal: could not set 'core.repositoryformatversion' to '0' [INFO] testing sudo42/aoc-2023-rust against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudo42%2Faoc-2023-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sudo42/aoc-2023-rust [INFO] finished tweaking git repo https://github.com/sudo42/aoc-2023-rust [INFO] tweaked toml for git repo https://github.com/sudo42/aoc-2023-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sudo42/aoc-2023-rust on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sudo42/aoc-2023-rust 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1008eb0041f281ada77e70b84346e672269f22bd4056a1e94d8e71eb2d40eacd [INFO] running `Command { std: "docker" "start" "-a" "1008eb0041f281ada77e70b84346e672269f22bd4056a1e94d8e71eb2d40eacd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1008eb0041f281ada77e70b84346e672269f22bd4056a1e94d8e71eb2d40eacd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1008eb0041f281ada77e70b84346e672269f22bd4056a1e94d8e71eb2d40eacd", kill_on_drop: false }` [INFO] [stdout] 1008eb0041f281ada77e70b84346e672269f22bd4056a1e94d8e71eb2d40eacd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60fd3ccf3af402f5fd17f94f519f073f323ee2747de1f62afca89b016e6e6c25 [INFO] running `Command { std: "docker" "start" "-a" "60fd3ccf3af402f5fd17f94f519f073f323ee2747de1f62afca89b016e6e6c25", kill_on_drop: false }` [INFO] [stderr] Compiling aoc-2023-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `WITH_DEBUG_SECTIONS` [INFO] [stdout] --> src/bin/common/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(WITH_DEBUG_SECTIONS="true")] [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(WITH_DEBUG_SECTIONS, values("true"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WITH_DEBUG_SECTIONS, values(\"true\"))");` 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: `WITH_DEBUG_SECTIONS` [INFO] [stdout] --> src/bin/common/mod.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(WITH_DEBUG_SECTIONS="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(WITH_DEBUG_SECTIONS, values("false"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WITH_DEBUG_SECTIONS, values(\"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: `WITH_DEBUG_SECTIONS` [INFO] [stdout] --> src/bin/common/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(WITH_DEBUG_SECTIONS="default")] [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(WITH_DEBUG_SECTIONS, values("default"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WITH_DEBUG_SECTIONS, values(\"default\"))");` 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: `WITH_DEBUG_SECTIONS` [INFO] [stdout] --> src/bin/common/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(WITH_DEBUG_SECTIONS="true")] [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(WITH_DEBUG_SECTIONS, values("true"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WITH_DEBUG_SECTIONS, values(\"true\"))");` 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: `WITH_DEBUG_SECTIONS` [INFO] [stdout] --> src/bin/common/mod.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(WITH_DEBUG_SECTIONS="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(WITH_DEBUG_SECTIONS, values("false"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WITH_DEBUG_SECTIONS, values(\"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: `WITH_DEBUG_SECTIONS` [INFO] [stdout] --> src/bin/common/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(WITH_DEBUG_SECTIONS="default")] [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(WITH_DEBUG_SECTIONS, values("default"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WITH_DEBUG_SECTIONS, values(\"default\"))");` 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: unused macro definition: `debug_only` [INFO] [stdout] --> src/bin/common/mod.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | macro_rules! debug_only { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug_only` [INFO] [stdout] --> src/bin/common/mod.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) use debug_only; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "60fd3ccf3af402f5fd17f94f519f073f323ee2747de1f62afca89b016e6e6c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60fd3ccf3af402f5fd17f94f519f073f323ee2747de1f62afca89b016e6e6c25", kill_on_drop: false }` [INFO] [stdout] 60fd3ccf3af402f5fd17f94f519f073f323ee2747de1f62afca89b016e6e6c25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2cb59d69a0e1fc7082788f593159f130825ab379855f97e950faec7b85bb005 [INFO] running `Command { std: "docker" "start" "-a" "d2cb59d69a0e1fc7082788f593159f130825ab379855f97e950faec7b85bb005", kill_on_drop: false }` [INFO] [stderr] Compiling aoc-2023-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `WITH_DEBUG_SECTIONS` [INFO] [stdout] --> src/bin/common/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(WITH_DEBUG_SECTIONS="true")] [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(WITH_DEBUG_SECTIONS, values("true"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WITH_DEBUG_SECTIONS, values(\"true\"))");` 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: `WITH_DEBUG_SECTIONS` [INFO] [stdout] --> src/bin/common/mod.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(WITH_DEBUG_SECTIONS="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(WITH_DEBUG_SECTIONS, values("false"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WITH_DEBUG_SECTIONS, values(\"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: `WITH_DEBUG_SECTIONS` [INFO] [stdout] --> src/bin/common/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(WITH_DEBUG_SECTIONS="default")] [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(WITH_DEBUG_SECTIONS, values("default"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WITH_DEBUG_SECTIONS, values(\"default\"))");` 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: unused macro definition: `debug_only` [INFO] [stdout] --> src/bin/common/mod.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | macro_rules! debug_only { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug_only` [INFO] [stdout] --> src/bin/common/mod.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) use debug_only; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `WITH_DEBUG_SECTIONS` [INFO] [stdout] --> src/bin/common/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(WITH_DEBUG_SECTIONS="true")] [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(WITH_DEBUG_SECTIONS, values("true"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WITH_DEBUG_SECTIONS, values(\"true\"))");` 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: `WITH_DEBUG_SECTIONS` [INFO] [stdout] --> src/bin/common/mod.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(WITH_DEBUG_SECTIONS="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(WITH_DEBUG_SECTIONS, values("false"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WITH_DEBUG_SECTIONS, values(\"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: `WITH_DEBUG_SECTIONS` [INFO] [stdout] --> src/bin/common/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(WITH_DEBUG_SECTIONS="default")] [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(WITH_DEBUG_SECTIONS, values("default"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WITH_DEBUG_SECTIONS, values(\"default\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "d2cb59d69a0e1fc7082788f593159f130825ab379855f97e950faec7b85bb005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2cb59d69a0e1fc7082788f593159f130825ab379855f97e950faec7b85bb005", kill_on_drop: false }` [INFO] [stdout] d2cb59d69a0e1fc7082788f593159f130825ab379855f97e950faec7b85bb005 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5b07625ee2b581d3a12e8df6b48d83539fdfa6429e532b36ea45ef321e70645b [INFO] running `Command { std: "docker" "start" "-a" "5b07625ee2b581d3a12e8df6b48d83539fdfa6429e532b36ea45ef321e70645b", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `WITH_DEBUG_SECTIONS` [INFO] [stderr] --> src/bin/common/mod.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 7 | #[cfg(WITH_DEBUG_SECTIONS="true")] [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(WITH_DEBUG_SECTIONS, values("true"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WITH_DEBUG_SECTIONS, values(\"true\"))");` 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: `WITH_DEBUG_SECTIONS` [INFO] [stderr] --> src/bin/common/mod.rs:12:7 [INFO] [stderr] | [INFO] [stderr] 12 | #[cfg(WITH_DEBUG_SECTIONS="false")] [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(WITH_DEBUG_SECTIONS, values("false"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WITH_DEBUG_SECTIONS, values(\"false\"))");` 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: `WITH_DEBUG_SECTIONS` [INFO] [stderr] --> src/bin/common/mod.rs:17:7 [INFO] [stderr] | [INFO] [stderr] 17 | #[cfg(WITH_DEBUG_SECTIONS="default")] [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(WITH_DEBUG_SECTIONS, values("default"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WITH_DEBUG_SECTIONS, values(\"default\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `debug_only` [INFO] [stderr] --> src/bin/common/mod.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | macro_rules! debug_only { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `debug_only` [INFO] [stderr] --> src/bin/common/mod.rs:22:16 [INFO] [stderr] | [INFO] [stderr] 22 | pub(crate) use debug_only; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `aoc-2023-rust` (bin "day01-first" test) generated 5 warnings (run `cargo fix --bin "day01-first" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `aoc-2023-rust` (bin "day01-second" test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/bin/day01-first.rs (/opt/rustwide/target/debug/deps/day01_first-2db16a8865288cc7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/day01-second.rs (/opt/rustwide/target/debug/deps/day01_second-1c22d1ecaa99bf45) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5b07625ee2b581d3a12e8df6b48d83539fdfa6429e532b36ea45ef321e70645b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b07625ee2b581d3a12e8df6b48d83539fdfa6429e532b36ea45ef321e70645b", kill_on_drop: false }` [INFO] [stdout] 5b07625ee2b581d3a12e8df6b48d83539fdfa6429e532b36ea45ef321e70645b