[INFO] cloning repository https://github.com/hdonnay/cfgmk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hdonnay/cfgmk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdonnay%2Fcfgmk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdonnay%2Fcfgmk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4035993b66e09673f93eb4a60c29c19d1d29e1fb [INFO] checking hdonnay/cfgmk against master#368e2fd458a22d0cc133d0c254f2612ee999744f for pr-128351 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdonnay%2Fcfgmk" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hdonnay/cfgmk on toolchain 368e2fd458a22d0cc133d0c254f2612ee999744f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hdonnay/cfgmk [INFO] finished tweaking git repo https://github.com/hdonnay/cfgmk [INFO] tweaked toml for git repo https://github.com/hdonnay/cfgmk written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hdonnay/cfgmk 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" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.86 [INFO] [stderr] Downloaded serde_yaml v0.8.8 [INFO] [stderr] Downloaded trimmer v0.3.6 [INFO] [stderr] Downloaded tar v0.4.20 [INFO] [stderr] Downloaded serde_json v1.0.38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 914f3837c2241c00f26ca48d134a9c4098532d29f696bbeb3e4ab9b3f3c28834 [INFO] running `Command { std: "docker" "start" "-a" "914f3837c2241c00f26ca48d134a9c4098532d29f696bbeb3e4ab9b3f3c28834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "914f3837c2241c00f26ca48d134a9c4098532d29f696bbeb3e4ab9b3f3c28834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "914f3837c2241c00f26ca48d134a9c4098532d29f696bbeb3e4ab9b3f3c28834", kill_on_drop: false }` [INFO] [stdout] 914f3837c2241c00f26ca48d134a9c4098532d29f696bbeb3e4ab9b3f3c28834 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b7a46ac79f795482d52713b7be0a7a0b5036ddd26226d74ec7cad674df71e05 [INFO] running `Command { std: "docker" "start" "-a" "8b7a46ac79f795482d52713b7be0a7a0b5036ddd26226d74ec7cad674df71e05", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling serde v1.0.86 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling pest v2.1.0 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling pest_meta v2.1.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ascii v0.7.1 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking yaml-rust v0.4.2 [INFO] [stderr] Checking combine v2.5.2 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking filetime v0.2.4 [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking tar v0.4.20 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Checking serde_json v1.0.38 [INFO] [stderr] Checking serde_yaml v0.8.8 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Checking trimmer v0.3.6 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking structopt v0.2.14 [INFO] [stderr] Checking cfgmk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Template` [INFO] [stdout] --> src/filter/simple.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use trimmer::{Context, Parser, Template}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `Read`, and `self` [INFO] [stdout] --> src/parser.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Cursor, Read}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Template` [INFO] [stdout] --> src/filter/simple.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use trimmer::{Context, Parser, Template}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/main.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/filter/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Filter = Box From>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub type Filter = Box From>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `Read`, and `self` [INFO] [stdout] --> src/parser.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Cursor, Read}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/parser.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/main.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/filter/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Filter = Box From>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub type Filter = Box From>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/archive.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | parser::From::Filter(which, inner) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_which` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/archive.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | parser::From::Filter(which, inner) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/archive.rs:62:42 [INFO] [stdout] | [INFO] [stdout] 62 | parser::From::Filter(which, inner) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_which` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/archive.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | parser::From::Filter(which, inner) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/archive.rs:75:38 [INFO] [stdout] | [INFO] [stdout] 75 | parser::From::Filter(which, inner) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_which` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/archive.rs:75:45 [INFO] [stdout] | [INFO] [stdout] 75 | parser::From::Filter(which, inner) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/filter/simple.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 36 | _ => unimplemented!(), [INFO] [stdout] | - matches any value [INFO] [stdout] 37 | From::Literal(lit) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/filter/simple.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 36 | _ => unimplemented!(), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 43 | From::File(name) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/archive.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | parser::From::Filter(which, inner) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_which` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/archive.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | parser::From::Filter(which, inner) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/archive.rs:62:42 [INFO] [stdout] | [INFO] [stdout] 62 | parser::From::Filter(which, inner) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_which` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/archive.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | parser::From::Filter(which, inner) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/archive.rs:75:38 [INFO] [stdout] | [INFO] [stdout] 75 | parser::From::Filter(which, inner) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_which` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/archive.rs:75:45 [INFO] [stdout] | [INFO] [stdout] 75 | parser::From::Filter(which, inner) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/archive.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut buf = Vec::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/archive.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let mut w = Cursor::new(buf); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/filter/simple.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 36 | _ => unimplemented!(), [INFO] [stdout] | - matches any value [INFO] [stdout] 37 | From::Literal(lit) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/filter/simple.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 36 | _ => unimplemented!(), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 43 | From::File(name) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `If` is never constructed [INFO] [stdout] --> src/parser.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub enum Conditional { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 137 | If(String), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Conditional` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `If` is never constructed [INFO] [stdout] --> src/parser.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub enum Conditional { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 137 | If(String), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Conditional` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.60s [INFO] running `Command { std: "docker" "inspect" "8b7a46ac79f795482d52713b7be0a7a0b5036ddd26226d74ec7cad674df71e05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b7a46ac79f795482d52713b7be0a7a0b5036ddd26226d74ec7cad674df71e05", kill_on_drop: false }` [INFO] [stdout] 8b7a46ac79f795482d52713b7be0a7a0b5036ddd26226d74ec7cad674df71e05 [INFO] checking hdonnay/cfgmk against try#09146510cdb33d15474a35fde290187a88b1cf35 for pr-128351 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdonnay%2Fcfgmk" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hdonnay/cfgmk on toolchain 09146510cdb33d15474a35fde290187a88b1cf35 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09146510cdb33d15474a35fde290187a88b1cf35" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hdonnay/cfgmk [INFO] finished tweaking git repo https://github.com/hdonnay/cfgmk [INFO] tweaked toml for git repo https://github.com/hdonnay/cfgmk written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hdonnay/cfgmk 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" "+09146510cdb33d15474a35fde290187a88b1cf35" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+09146510cdb33d15474a35fde290187a88b1cf35" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 083f08a2192c07282c14087e1a069c3872cbc70a739807c49d1586aa53e320c0 [INFO] running `Command { std: "docker" "start" "-a" "083f08a2192c07282c14087e1a069c3872cbc70a739807c49d1586aa53e320c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "083f08a2192c07282c14087e1a069c3872cbc70a739807c49d1586aa53e320c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "083f08a2192c07282c14087e1a069c3872cbc70a739807c49d1586aa53e320c0", kill_on_drop: false }` [INFO] [stdout] 083f08a2192c07282c14087e1a069c3872cbc70a739807c49d1586aa53e320c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+09146510cdb33d15474a35fde290187a88b1cf35" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66d9affac580917be9e601b3d60335f997a873034502bf179bf437d427334103 [INFO] running `Command { std: "docker" "start" "-a" "66d9affac580917be9e601b3d60335f997a873034502bf179bf437d427334103", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling serde v1.0.86 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling pest v2.1.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_errors/src/lib.rs:588:17: [INFO] [stderr] must_produce_diag: `trimmed_def_paths` called but no diagnostics emitted; `with_no_trimmed_paths` for debugging. called at: 0: ::set_must_produce_diag [INFO] [stderr] 1: ::record_trimmed_def_paths [INFO] [stderr] 2: rustc_middle::ty::print::pretty::trimmed_def_paths [INFO] [stderr] 3: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 4: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, false> [INFO] [stderr] 5: rustc_query_impl::query_impl::trimmed_def_paths::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 6: ::print_def_path [INFO] [stderr] 7: ::print_def_path [INFO] [stderr] 8: ::pretty_print_type [INFO] [stderr] 9: as rustc_middle::ty::print::Print>::print [INFO] [stderr] 10: ::pretty_in_binder::> [INFO] [stderr] 11: ::pretty_print_type [INFO] [stderr] 12: ::fmt [INFO] [stderr] 13: rustc_lint::mutable_transmutes::check_overlapping::::check_expr::{closure#0}>::{closure#2}> [INFO] [stderr] 14: ::check_expr [INFO] [stderr] 15: as rustc_hir::intravisit::Visitor>::visit_expr [INFO] [stderr] 16: rustc_hir::intravisit::walk_block::> [INFO] [stderr] 17: as rustc_hir::intravisit::Visitor>::visit_expr [INFO] [stderr] 18: rustc_hir::intravisit::walk_block::> [INFO] [stderr] 19: as rustc_hir::intravisit::Visitor>::visit_nested_body [INFO] [stderr] 20: as rustc_hir::intravisit::Visitor>::visit_nested_item [INFO] [stderr] 21: rustc_hir::intravisit::walk_block::> [INFO] [stderr] 22: as rustc_hir::intravisit::Visitor>::visit_expr [INFO] [stderr] 23: rustc_hir::intravisit::walk_block::> [INFO] [stderr] 24: as rustc_hir::intravisit::Visitor>::visit_nested_body [INFO] [stderr] 25: as rustc_hir::intravisit::Visitor>::visit_nested_item [INFO] [stderr] 26: rustc_lint::lint_mod [INFO] [stderr] 27: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 28: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, false> [INFO] [stderr] 29: rustc_query_impl::query_impl::lint_mod::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 30: rustc_lint::late::check_crate::{closure#1} [INFO] [stderr] 31: rustc_lint::late::check_crate [INFO] [stderr] 32: rustc_interface::passes::analysis [INFO] [stderr] 33: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 34: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, false> [INFO] [stderr] 35: rustc_query_impl::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 36: rustc_interface::interface::run_compiler::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 37: std::sys::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> [INFO] [stderr] 38: <::spawn_unchecked_, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 39: as core::ops::function::FnOnce>::call_once [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/alloc/src/boxed.rs:2148:9 [INFO] [stderr] 40: as core::ops::function::FnOnce>::call_once [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/alloc/src/boxed.rs:2148:9 [INFO] [stderr] 41: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stderr] 42: [INFO] [stderr] 43: clone [INFO] [stderr] [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7fe7c0f7ddd5 - std::backtrace_rs::backtrace::libunwind::trace::hd14cd05c8ce75653 [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stderr] 1: 0x7fe7c0f7ddd5 - std::backtrace_rs::backtrace::trace_unsynchronized::h2bd11920a4bced06 [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7fe7c0f7ddd5 - std::sys::backtrace::_print_fmt::h7b5db99a0e0a9618 [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x7fe7c0f7ddd5 - ::fmt::h3b0bb7ed425a905c [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x7fe7c0fcecfb - core::fmt::rt::Argument::fmt::h8dbebbed1aabf976 [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x7fe7c0fcecfb - core::fmt::write::h970c44dce83e5ee7 [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/core/src/fmt/mod.rs:1178:21 [INFO] [stderr] 6: 0x7fe7c0f7261f - std::io::Write::write_fmt::h3b36ddac8cba0ada [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/std/src/io/mod.rs:1823:15 [INFO] [stderr] 7: 0x7fe7c0f80671 - std::sys::backtrace::BacktraceLock::print::h4e16a8d2ce8dc6ad [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x7fe7c0f80671 - std::panicking::default_hook::{{closure}}::h1d9339438491665b [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/std/src/panicking.rs:266:22 [INFO] [stderr] 9: 0x7fe7c0f8034c - std::panicking::default_hook::h706794151aa208b4 [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/std/src/panicking.rs:293:9 [INFO] [stderr] 10: 0x7fe7c4451dba - std[f88f5f79b5dd95a0]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 11: 0x7fe7c0f8103f - as core::ops::function::Fn>::call::h83138b9a2d92612c [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/alloc/src/boxed.rs:2162:9 [INFO] [stderr] 12: 0x7fe7c0f8103f - std::panicking::rust_panic_with_hook::hf271bde743f78cbd [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/std/src/panicking.rs:805:13 [INFO] [stderr] 13: 0x7fe7c0f80c67 - std::panicking::begin_panic_handler::{{closure}}::h153af9175e95fc80 [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/std/src/panicking.rs:671:13 [INFO] [stderr] 14: 0x7fe7c0f7e299 - std::sys::backtrace::__rust_end_short_backtrace::h8607198d3b617b99 [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/std/src/sys/backtrace.rs:170:18 [INFO] [stderr] 15: 0x7fe7c0f808f4 - rust_begin_unwind [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/std/src/panicking.rs:662:5 [INFO] [stderr] 16: 0x7fe7c0fcb2c3 - core::panicking::panic_fmt::hf6633b287b5ae536 [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/core/src/panicking.rs:74:14 [INFO] [stderr] 17: 0x7fe7c73a5e9a - ::drop.cold [INFO] [stderr] 18: 0x7fe7c67edb5c - core[3cb4721bd79b40c1]::ptr::drop_in_place:: [INFO] [stderr] 19: 0x7fe7c68f70da - core[3cb4721bd79b40c1]::ptr::drop_in_place:: [INFO] [stderr] 20: 0x7fe7c68f775f - core[3cb4721bd79b40c1]::ptr::drop_in_place:: [INFO] [stderr] 21: 0x7fe7c6807cb8 - rustc_interface[d8ac3dbe8c4052b9]::interface::run_compiler::, rustc_driver_impl[fc71c99b1665d275]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 22: 0x7fe7c67ec549 - std[f88f5f79b5dd95a0]::sys::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[fc71c99b1665d275]::run_compiler::{closure#0}>::{closure#1}, core[3cb4721bd79b40c1]::result::Result<(), rustc_span[c47c5cbe9eaa080e]::ErrorGuaranteed>>::{closure#0}, core[3cb4721bd79b40c1]::result::Result<(), rustc_span[c47c5cbe9eaa080e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3cb4721bd79b40c1]::result::Result<(), rustc_span[c47c5cbe9eaa080e]::ErrorGuaranteed>> [INFO] [stderr] 23: 0x7fe7c67ec2fa - <::spawn_unchecked_, rustc_driver_impl[fc71c99b1665d275]::run_compiler::{closure#0}>::{closure#1}, core[3cb4721bd79b40c1]::result::Result<(), rustc_span[c47c5cbe9eaa080e]::ErrorGuaranteed>>::{closure#0}, core[3cb4721bd79b40c1]::result::Result<(), rustc_span[c47c5cbe9eaa080e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3cb4721bd79b40c1]::result::Result<(), rustc_span[c47c5cbe9eaa080e]::ErrorGuaranteed>>::{closure#1} as core[3cb4721bd79b40c1]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 24: 0x7fe7c0f8afbb - as core::ops::function::FnOnce>::call_once::h438aa41529320378 [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/alloc/src/boxed.rs:2148:9 [INFO] [stderr] 25: 0x7fe7c0f8afbb - as core::ops::function::FnOnce>::call_once::ha61ffbd131f8a573 [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/alloc/src/boxed.rs:2148:9 [INFO] [stderr] 26: 0x7fe7c0f8afbb - std::sys::pal::unix::thread::Thread::new::thread_start::h64d9bacc04a5fc59 [INFO] [stderr] at /rustc/09146510cdb33d15474a35fde290187a88b1cf35/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stderr] 27: 0x7fe7c0d28ac3 - [INFO] [stderr] 28: 0x7fe7c0db9a04 - clone [INFO] [stderr] 29: 0x0 - [INFO] [stderr] [INFO] [stderr] error: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.1.3/rustc-ice-2024-07-31T10_00_55-292.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.82.0-nightly (09146510c 2024-07-30) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] end of query stack [INFO] [stderr] error: could not compile `memchr` (lib) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "66d9affac580917be9e601b3d60335f997a873034502bf179bf437d427334103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66d9affac580917be9e601b3d60335f997a873034502bf179bf437d427334103", kill_on_drop: false }` [INFO] [stdout] 66d9affac580917be9e601b3d60335f997a873034502bf179bf437d427334103