[INFO] cloning repository https://github.com/ImSingee/gg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ImSingee/gg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FImSingee%2Fgg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FImSingee%2Fgg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba2116680fe2b520fa608f766885f6fb5de22f4d [INFO] checking ImSingee/gg against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FImSingee%2Fgg" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ImSingee/gg [INFO] finished tweaking git repo https://github.com/ImSingee/gg [INFO] tweaked toml for git repo https://github.com/ImSingee/gg written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ImSingee/gg on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ImSingee/gg 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f440f08f824bfad0a38283f1f4b18325ceb7159b97ebb0861bbecc2aab848548 [INFO] running `Command { std: "docker" "start" "-a" "f440f08f824bfad0a38283f1f4b18325ceb7159b97ebb0861bbecc2aab848548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f440f08f824bfad0a38283f1f4b18325ceb7159b97ebb0861bbecc2aab848548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f440f08f824bfad0a38283f1f4b18325ceb7159b97ebb0861bbecc2aab848548", kill_on_drop: false }` [INFO] [stdout] f440f08f824bfad0a38283f1f4b18325ceb7159b97ebb0861bbecc2aab848548 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2c4477bb612aa79975c090e35d9d29787088c68ba67bd796e11a07e3c37a713 [INFO] running `Command { std: "docker" "start" "-a" "e2c4477bb612aa79975c090e35d9d29787088c68ba67bd796e11a07e3c37a713", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Checking anstyle v1.0.5 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking jobserver v0.1.27 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking gg-tui v0.0.1 (/opt/rustwide/workdir/gg-tui) [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking cargo-util v0.2.8 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking gg-git v0.0.1 (/opt/rustwide/workdir/gg-git) [INFO] [stderr] Checking gg-config v0.0.1 (/opt/rustwide/workdir/gg-config) [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> gg-config/src/serde/string_or_struct.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg_attr(doc_cfg, doc(cfg(any(feature = "std", feature = "alloc"))))] [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(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `doc_cfg` [INFO] [stdout] --> gg-config/src/serde/string_or_struct.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std")))] [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(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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 import: `Serialize` [INFO] [stdout] --> gg-config/src/config.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de_string_or_struct` [INFO] [stdout] --> gg-config/src/serde/mod.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::string_or_struct::{de_string_or_struct, de_string_or_struct_hashmap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> gg-config/src/serde/string_or_struct.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg_attr(doc_cfg, doc(cfg(any(feature = "std", feature = "alloc"))))] [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(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `doc_cfg` [INFO] [stdout] --> gg-config/src/serde/string_or_struct.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std")))] [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(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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 import: `de_string_or_struct` [INFO] [stdout] --> gg-config/src/serde/mod.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::string_or_struct::{de_string_or_struct, de_string_or_struct_hashmap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `de_string_or_struct` is never used [INFO] [stdout] --> gg-config/src/serde/string_or_struct.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn de_string_or_struct<'de, T, D>(deserializer: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BTreeMapVisitor` is never constructed [INFO] [stdout] --> gg-config/src/serde/string_or_struct.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | struct [<$name Visitor>] (PhantomData $ty>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | / map_impl! { [INFO] [stdout] 134 | | #[cfg_attr(doc_cfg, doc(cfg(any(feature = "std", feature = "alloc"))))] [INFO] [stdout] 135 | | BTreeMap, [INFO] [stdout] 136 | | BTreeMap, [INFO] [stdout] 137 | | map, [INFO] [stdout] 138 | | BTreeMap::new(), [INFO] [stdout] 139 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `map_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> gg-config/src/config.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 32 | | Ok(Script { [INFO] [stdout] 33 | | command: s.to_string(), [INFO] [stdout] 34 | | }) [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> gg-config/src/config.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / Ok(Script { [INFO] [stdout] 33 | | command: s.to_string(), [INFO] [stdout] 34 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gg-config` (lib) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `BTreeMapVisitor` is never constructed [INFO] [stdout] --> gg-config/src/serde/string_or_struct.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | struct [<$name Visitor>] (PhantomData $ty>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | / map_impl! { [INFO] [stdout] 134 | | #[cfg_attr(doc_cfg, doc(cfg(any(feature = "std", feature = "alloc"))))] [INFO] [stdout] 135 | | BTreeMap, [INFO] [stdout] 136 | | BTreeMap, [INFO] [stdout] 137 | | map, [INFO] [stdout] 138 | | BTreeMap::new(), [INFO] [stdout] 139 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `map_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> gg-config/src/config.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 32 | | Ok(Script { [INFO] [stdout] 33 | | command: s.to_string(), [INFO] [stdout] 34 | | }) [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> gg-config/src/config.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / Ok(Script { [INFO] [stdout] 33 | | command: s.to_string(), [INFO] [stdout] 34 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> gg-config/src/serde/string_or_struct.rs:172:57 [INFO] [stdout] | [INFO] [stdout] 172 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 173 | | Ok(Foo1 { [INFO] [stdout] 174 | | foo: s.to_string(), [INFO] [stdout] 175 | | bar: "".to_string(), [INFO] [stdout] 176 | | }) [INFO] [stdout] 177 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> gg-config/src/serde/string_or_struct.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | / Ok(Foo1 { [INFO] [stdout] 174 | | foo: s.to_string(), [INFO] [stdout] 175 | | bar: "".to_string(), [INFO] [stdout] 176 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gg-config` (lib test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e2c4477bb612aa79975c090e35d9d29787088c68ba67bd796e11a07e3c37a713", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2c4477bb612aa79975c090e35d9d29787088c68ba67bd796e11a07e3c37a713", kill_on_drop: false }` [INFO] [stdout] e2c4477bb612aa79975c090e35d9d29787088c68ba67bd796e11a07e3c37a713