[INFO] cloning repository https://github.com/RustyYato/istr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RustyYato/istr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustyYato%2Fistr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustyYato%2Fistr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0811b397f032658c747436ba8c2eeb418bb10af3 [INFO] checking RustyYato/istr against nightly-2024-02-05 for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustyYato%2Fistr" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RustyYato/istr 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/RustyYato/istr [INFO] finished tweaking git repo https://github.com/RustyYato/istr [INFO] tweaked toml for git repo https://github.com/RustyYato/istr written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/RustyYato/istr 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_lex v0.5.1 [INFO] [stderr] Downloaded anstyle v1.0.2 [INFO] [stderr] Downloaded clap_derive v4.4.0 [INFO] [stderr] Downloaded clap v4.4.1 [INFO] [stderr] Downloaded syn v2.0.29 [INFO] [stderr] Downloaded ustr v0.10.0 [INFO] [stderr] Downloaded clap_builder v4.4.1 [INFO] [stderr] Downloaded ahash v0.8.3 [INFO] [stderr] Downloaded nohash-hasher v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 647f522d168cae3c5f369cf14c0d4e514ce0fa4ef8fc1608457836b6e843161a [INFO] running `Command { std: "docker" "start" "-a" "647f522d168cae3c5f369cf14c0d4e514ce0fa4ef8fc1608457836b6e843161a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "647f522d168cae3c5f369cf14c0d4e514ce0fa4ef8fc1608457836b6e843161a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "647f522d168cae3c5f369cf14c0d4e514ce0fa4ef8fc1608457836b6e843161a", kill_on_drop: false }` [INFO] [stdout] 647f522d168cae3c5f369cf14c0d4e514ce0fa4ef8fc1608457836b6e843161a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a91b5deee27d97213e7c91536fcc58bba4d96c75049b370e67fe4e2743ce8b6b [INFO] running `Command { std: "docker" "start" "-a" "a91b5deee27d97213e7c91536fcc58bba4d96c75049b370e67fe4e2743ce8b6b", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking anstyle v1.0.2 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking clap_builder v4.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking ustr v0.10.0 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking istr v0.1.0 (/opt/rustwide/workdir/istr) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> istr/src/leaky_alloc.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | struct FrozenLeakyAllocPtr(*mut ()); [INFO] [stdout] | ------------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | struct FrozenLeakyAllocPtr(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> istr/src/leaky_alloc.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | struct FrozenLeakyAllocPtr(*mut ()); [INFO] [stdout] | ------------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | struct FrozenLeakyAllocPtr(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_derive v4.4.0 [INFO] [stderr] Checking clap v4.4.1 [INFO] [stderr] Checking istr-test v0.1.0 (/opt/rustwide/workdir/istr-test) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.12s [INFO] running `Command { std: "docker" "inspect" "a91b5deee27d97213e7c91536fcc58bba4d96c75049b370e67fe4e2743ce8b6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a91b5deee27d97213e7c91536fcc58bba4d96c75049b370e67fe4e2743ce8b6b", kill_on_drop: false }` [INFO] [stdout] a91b5deee27d97213e7c91536fcc58bba4d96c75049b370e67fe4e2743ce8b6b [INFO] checking RustyYato/istr 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%2FRustyYato%2Fistr" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RustyYato/istr 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/RustyYato/istr [INFO] finished tweaking git repo https://github.com/RustyYato/istr [INFO] tweaked toml for git repo https://github.com/RustyYato/istr written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RustyYato/istr 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-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc60e6e7711bb9d7dafe651a37d0cb09db136fac5e69fb2c5eebb625c3754ab4 [INFO] running `Command { std: "docker" "start" "-a" "cc60e6e7711bb9d7dafe651a37d0cb09db136fac5e69fb2c5eebb625c3754ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc60e6e7711bb9d7dafe651a37d0cb09db136fac5e69fb2c5eebb625c3754ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc60e6e7711bb9d7dafe651a37d0cb09db136fac5e69fb2c5eebb625c3754ab4", kill_on_drop: false }` [INFO] [stdout] cc60e6e7711bb9d7dafe651a37d0cb09db136fac5e69fb2c5eebb625c3754ab4 [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 -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] 7c0ed386f6883ad56406e2549094f6ba73735b8984435218c71ea9868c6efd61 [INFO] running `Command { std: "docker" "start" "-a" "7c0ed386f6883ad56406e2549094f6ba73735b8984435218c71ea9868c6efd61", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking anstyle v1.0.2 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking clap_builder v4.4.1 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking ustr v0.10.0 [INFO] [stderr] Checking istr v0.1.0 (/opt/rustwide/workdir/istr) [INFO] [stdout] error: unexpected `cfg` condition name: `ISTR_GLOBAL_CACHE_CLEAR` [INFO] [stdout] --> istr/src/lib.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(ISTR_GLOBAL_CACHE_CLEAR)] [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(ISTR_GLOBAL_CACHE_CLEAR)");` 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: `ISTR_GLOBAL_CACHE_CLEAR` [INFO] [stdout] --> istr/src/cache.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(ISTR_GLOBAL_CACHE_CLEAR)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(ISTR_GLOBAL_CACHE_CLEAR)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `ISTR_GLOBAL_CACHE_CLEAR` [INFO] [stdout] --> istr/src/lib.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(ISTR_GLOBAL_CACHE_CLEAR)] [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(ISTR_GLOBAL_CACHE_CLEAR)");` 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: `ISTR_GLOBAL_CACHE_CLEAR` [INFO] [stdout] --> istr/src/cache.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(ISTR_GLOBAL_CACHE_CLEAR)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(ISTR_GLOBAL_CACHE_CLEAR)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> istr/src/leaky_alloc.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | struct FrozenLeakyAllocPtr(*mut ()); [INFO] [stdout] | ------------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | struct FrozenLeakyAllocPtr(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `istr` (lib test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> istr/src/leaky_alloc.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | struct FrozenLeakyAllocPtr(*mut ()); [INFO] [stdout] | ------------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | struct FrozenLeakyAllocPtr(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `istr` (lib) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7c0ed386f6883ad56406e2549094f6ba73735b8984435218c71ea9868c6efd61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c0ed386f6883ad56406e2549094f6ba73735b8984435218c71ea9868c6efd61", kill_on_drop: false }` [INFO] [stdout] 7c0ed386f6883ad56406e2549094f6ba73735b8984435218c71ea9868c6efd61