[INFO] cloning repository https://github.com/crust-gather/crust-gather [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crust-gather/crust-gather" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrust-gather%2Fcrust-gather", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrust-gather%2Fcrust-gather'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c049539cfd903dcfcb9520dd0f8834163f22426 [INFO] checking crust-gather/crust-gather/1c049539cfd903dcfcb9520dd0f8834163f22426 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrust-gather%2Fcrust-gather" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/crust-gather/crust-gather on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/crust-gather/crust-gather [INFO] finished tweaking git repo https://github.com/crust-gather/crust-gather [INFO] tweaked toml for git repo https://github.com/crust-gather/crust-gather written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/crust-gather/crust-gather 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dbe727e29a9689b4c890493cbbdb3e7704d5d00706135e8ad3b331c7ed316de [INFO] running `Command { std: "docker" "start" "-a" "9dbe727e29a9689b4c890493cbbdb3e7704d5d00706135e8ad3b331c7ed316de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dbe727e29a9689b4c890493cbbdb3e7704d5d00706135e8ad3b331c7ed316de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dbe727e29a9689b4c890493cbbdb3e7704d5d00706135e8ad3b331c7ed316de", kill_on_drop: false }` [INFO] [stdout] 9dbe727e29a9689b4c890493cbbdb3e7704d5d00706135e8ad3b331c7ed316de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df25831b5e5679e267a59a797b60585686db7dad6a8f9387a9c476d615d8a0b7 [INFO] running `Command { std: "docker" "start" "-a" "df25831b5e5679e267a59a797b60585686db7dad6a8f9387a9c476d615d8a0b7", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking rustls-pki-types v1.10.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling rustls v0.23.18 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling k8s-openapi v0.23.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Compiling zstd-safe v7.2.0 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking rustls-native-certs v0.7.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling logos-codegen v0.14.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Checking tower-http v0.6.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling serde_json_path_macros_internal v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking secrecy v0.10.3 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking tower v0.5.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde_json_path_core v0.2.1 [INFO] [stderr] Checking jsonpath-rust v0.7.3 [INFO] [stderr] Checking hyper-timeout v0.5.1 [INFO] [stderr] Checking hyper-rustls v0.27.2 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking clap_builder v4.5.21 [INFO] [stderr] Checking serde_json_path_macros v0.1.5 [INFO] [stderr] Checking jsonptr v0.6.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking actix-server v2.4.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling logos-derive v0.14.2 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Checking sdd v1.7.0 [INFO] [stderr] Checking actix-http v3.8.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking scc v2.1.4 [INFO] [stderr] Checking serde_json_path v0.7.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking logos v0.14.2 [INFO] [stderr] Compiling serde_with_macros v3.11.0 [INFO] [stderr] Checking tokio-retry v0.3.0 [INFO] [stderr] Checking json-patch v3.0.1 [INFO] [stderr] Checking clap v4.5.21 [INFO] [stderr] Checking duration-string v0.4.0 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking build_html v2.5.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking xid v1.1.1 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking serde_with v3.11.0 [INFO] [stderr] Compiling trait-set v0.3.0 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking kube-core v0.97.0 [INFO] [stderr] Checking kube-client v0.97.0 [INFO] [stderr] Checking kube v0.97.0 [INFO] [stderr] Checking crust-gather v0.7.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `kubectl_crust_gather` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/gather/selector.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/gather/selector.rs:51:16 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/gather/selector.rs:79:16 [INFO] [stderr] | [INFO] [stderr] 79 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/gather/selector.rs:91:16 [INFO] [stderr] | [INFO] [stderr] 91 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/gather/selector.rs:110:16 [INFO] [stderr] | [INFO] [stderr] 110 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ParsedExpression` in this scope [INFO] [stderr] --> src/gather/selector.rs:40:28 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct Expressions(Vec); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 40 | pub struct Expressions(Vec); [INFO] [stderr] | ++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ParsedExpression` in this scope [INFO] [stderr] --> src/gather/selector.rs:43:17 [INFO] [stderr] | [INFO] [stderr] 43 | type Item = ParsedExpression; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ParsedExpression` in this scope [INFO] [stderr] --> src/gather/selector.rs:119:27 [INFO] [stderr] | [INFO] [stderr] 119 | lexer: &mut Lexer<'_, ParsedExpression>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 118 | pub fn parse_expression( [INFO] [stderr] | ++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ParsedExpression` in this scope [INFO] [stderr] --> src/gather/selector.rs:120:20 [INFO] [stderr] | [INFO] [stderr] 120 | ) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 118 | pub fn parse_expression( [INFO] [stderr] | ++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `ParsedExpression` [INFO] [stderr] --> src/gather/selector.rs:69:25 [INFO] [stderr] | [INFO] [stderr] 69 | let mut lexer = ParsedExpression::lexer(selector.as_str()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type `ParsedExpression` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `EqualityToken` [INFO] [stderr] --> src/gather/selector.rs:135:21 [INFO] [stderr] | [INFO] [stderr] 135 | let mut lexer = EqualityToken::lexer(source); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type `EqualityToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:152:21 [INFO] [stderr] | [INFO] [stderr] 152 | let mut lexer = SetToken::lexer(source); [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `ValuesListToken` [INFO] [stderr] --> src/gather/selector.rs:181:17 [INFO] [stderr] | [INFO] [stderr] 181 | let lexer = ValuesListToken::lexer(source); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `ValuesListToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `ParsedExpression` [INFO] [stderr] --> src/gather/selector.rs:31:31 [INFO] [stderr] | [INFO] [stderr] 31 | .map(|ParsedExpression::Expression(e)| e.matches(labels)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type `ParsedExpression` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `ValuesListToken` [INFO] [stderr] --> src/gather/selector.rs:185:13 [INFO] [stderr] | [INFO] [stderr] 185 | ValuesListToken::Value(value) => value, [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `ValuesListToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:175:35 [INFO] [stderr] | [INFO] [stderr] 175 | SetToken::ValuesList(_) | SetToken::In | SetToken::NotIn => None, [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `EqualityToken` [INFO] [stderr] --> src/gather/selector.rs:140:10 [INFO] [stderr] | [INFO] [stderr] 140 | (EqualityToken::Value(key), EqualityToken::Equal, EqualityToken::Value(value)) => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type `EqualityToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `EqualityToken` [INFO] [stderr] --> src/gather/selector.rs:140:37 [INFO] [stderr] | [INFO] [stderr] 140 | (EqualityToken::Value(key), EqualityToken::Equal, EqualityToken::Value(value)) => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type `EqualityToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `EqualityToken` [INFO] [stderr] --> src/gather/selector.rs:140:59 [INFO] [stderr] | [INFO] [stderr] 140 | (EqualityToken::Value(key), EqualityToken::Equal, EqualityToken::Value(value)) => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type `EqualityToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `EqualityToken` [INFO] [stderr] --> src/gather/selector.rs:143:10 [INFO] [stderr] | [INFO] [stderr] 143 | (EqualityToken::Value(key), EqualityToken::NotEqual, EqualityToken::Value(value)) => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type `EqualityToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `EqualityToken` [INFO] [stderr] --> src/gather/selector.rs:143:37 [INFO] [stderr] | [INFO] [stderr] 143 | (EqualityToken::Value(key), EqualityToken::NotEqual, EqualityToken::Value(value)) => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type `EqualityToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `EqualityToken` [INFO] [stderr] --> src/gather/selector.rs:143:62 [INFO] [stderr] | [INFO] [stderr] 143 | (EqualityToken::Value(key), EqualityToken::NotEqual, EqualityToken::Value(value)) => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type `EqualityToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:175:50 [INFO] [stderr] | [INFO] [stderr] 175 | SetToken::ValuesList(_) | SetToken::In | SetToken::NotIn => None, [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:155:9 [INFO] [stderr] | [INFO] [stderr] 155 | SetToken::Not => match lexer.next()?.ok()? { [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:156:13 [INFO] [stderr] | [INFO] [stderr] 156 | SetToken::Value(value) => Some(Expression::DoesNotExist(value)), [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:159:9 [INFO] [stderr] | [INFO] [stderr] 159 | SetToken::Value(key) => { [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:166:18 [INFO] [stderr] | [INFO] [stderr] 166 | (SetToken::In, SetToken::ValuesList(values)) => { [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:166:32 [INFO] [stderr] | [INFO] [stderr] 166 | (SetToken::In, SetToken::ValuesList(values)) => { [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:169:18 [INFO] [stderr] | [INFO] [stderr] 169 | (SetToken::NotIn, SetToken::ValuesList(values)) => { [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:169:35 [INFO] [stderr] | [INFO] [stderr] 169 | (SetToken::NotIn, SetToken::ValuesList(values)) => { [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:175:9 [INFO] [stderr] | [INFO] [stderr] 175 | SetToken::ValuesList(_) | SetToken::In | SetToken::NotIn => None, [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error: aborting due to 30 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/reader.rs:509:60 [INFO] [stdout] | [INFO] [stdout] 509 | fn objects(&self, path: ArchivePath) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/reader.rs:509:16 [INFO] [stdout] | [INFO] [stdout] 509 | fn objects(&self, path: ArchivePath) -> anyhow::Result> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 509 | fn objects(&self, path: ArchivePath) -> anyhow::Result + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/reader.rs:562:25 [INFO] [stdout] | [INFO] [stdout] 562 | ) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/reader.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 562 | ) -> anyhow::Result + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, EqualityToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, EqualityToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, SetToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, SetToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Vec, SetToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Vec, SetToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, ValuesListToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `kubectl_crust_gather` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/gather/selector.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/gather/selector.rs:51:16 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/gather/selector.rs:79:16 [INFO] [stderr] | [INFO] [stderr] 79 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/gather/selector.rs:91:16 [INFO] [stderr] | [INFO] [stderr] 91 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/gather/selector.rs:110:16 [INFO] [stderr] | [INFO] [stderr] 110 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::ParsedExpression` [INFO] [stderr] --> src/gather/selector.rs:199:53 [INFO] [stderr] | [INFO] [stderr] 199 | use super::{parse_expression, parse_value_list, ParsedExpression}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `ParsedExpression` in `gather::selector` [INFO] [stderr] | help: a similar name exists in the module: `parse_expression` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ParsedExpression` in this scope [INFO] [stderr] --> src/gather/selector.rs:40:28 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct Expressions(Vec); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 40 | pub struct Expressions(Vec); [INFO] [stderr] | ++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ParsedExpression` in this scope [INFO] [stderr] --> src/gather/selector.rs:43:17 [INFO] [stderr] | [INFO] [stderr] 43 | type Item = ParsedExpression; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ParsedExpression` in this scope [INFO] [stderr] --> src/gather/selector.rs:119:27 [INFO] [stderr] | [INFO] [stderr] 119 | lexer: &mut Lexer<'_, ParsedExpression>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/cli.rs:714:9 [INFO] [stdout] | [INFO] [stdout] 714 | env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 714 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 715 ~ unsafe { env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/cli.rs:733:9 [INFO] [stdout] | [INFO] [stdout] 733 | env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 733 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 734 ~ unsafe { env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 118 | pub fn parse_expression( [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/cli.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 758 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 759 ~ unsafe { env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ++++++++++++++++++ [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/cli.rs:799:9 [INFO] [stdout] | [INFO] [stdout] 799 | env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 799 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 800 ~ unsafe { env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/cli.rs:856:9 [INFO] [stdout] | [INFO] [stdout] 856 | env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 856 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 857 ~ unsafe { env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0412]: cannot find type `ParsedExpression` in this scope [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/cli.rs:923:9 [INFO] [stdout] | [INFO] [stdout] 923 | env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 923 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 924 ~ unsafe { env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/gather/selector.rs:120:20 [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/cli.rs:1062:9 [INFO] [stdout] | [INFO] [stdout] 1062 | env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 1062 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 1063 ~ unsafe { env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/gather/config.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | env::set_var("FOO", "foo"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 513 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 514 ~ unsafe { env::set_var("FOO", "foo") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 120 | ) -> Result> { [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/gather/config.rs:514:9 [INFO] [stdout] | [INFO] [stdout] 514 | env::set_var("BAR", "bar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 514 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 515 ~ unsafe { env::set_var("BAR", "bar") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/gather/config.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | env::set_var("KEY", "password"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 523 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 524 ~ unsafe { env::set_var("KEY", "password") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/gather/config.rs:534:9 [INFO] [stdout] | [INFO] [stdout] 534 | env::set_var("KEY", "password"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 534 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 535 ~ unsafe { env::set_var("KEY", "password") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: you might be missing a type parameter [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/gather/writer.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | env::set_var("SECRET", "secret"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 398 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 399 ~ unsafe { env::set_var("SECRET", "secret") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/reader.rs:509:60 [INFO] [stdout] | [INFO] [stdout] 509 | fn objects(&self, path: ArchivePath) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/reader.rs:509:16 [INFO] [stdout] | [INFO] [stdout] 509 | fn objects(&self, path: ArchivePath) -> anyhow::Result> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 509 | fn objects(&self, path: ArchivePath) -> anyhow::Result + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 118 | pub fn parse_expression( [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/reader.rs:562:25 [INFO] [stdout] | [INFO] [stdout] 562 | ) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/reader.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 562 | ) -> anyhow::Result + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ++++++++++++++++++ [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `ParsedExpression` [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/gather/selector.rs:69:25 [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 69 | let mut lexer = ParsedExpression::lexer(selector.as_str()); [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type `ParsedExpression` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `EqualityToken` [INFO] [stderr] --> src/gather/selector.rs:135:21 [INFO] [stderr] | [INFO] [stderr] 135 | let mut lexer = EqualityToken::lexer(source); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type `EqualityToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:152:21 [INFO] [stderr] | [INFO] [stderr] 152 | let mut lexer = SetToken::lexer(source); [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `ValuesListToken` [INFO] [stderr] --> src/gather/selector.rs:181:17 [INFO] [stderr] | [INFO] [stderr] 181 | let lexer = ValuesListToken::lexer(source); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `ValuesListToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `ParsedExpression` [INFO] [stderr] --> src/gather/selector.rs:31:31 [INFO] [stderr] | [INFO] [stderr] 31 | .map(|ParsedExpression::Expression(e)| e.matches(labels)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type `ParsedExpression` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `ValuesListToken` [INFO] [stderr] --> src/gather/selector.rs:185:13 [INFO] [stderr] | [INFO] [stderr] 185 | ValuesListToken::Value(value) => value, [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `ValuesListToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:175:35 [INFO] [stderr] | [INFO] [stderr] 175 | SetToken::ValuesList(_) | SetToken::In | SetToken::NotIn => None, [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `EqualityToken` [INFO] [stderr] --> src/gather/selector.rs:140:10 [INFO] [stderr] | [INFO] [stderr] 140 | (EqualityToken::Value(key), EqualityToken::Equal, EqualityToken::Value(value)) => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type `EqualityToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `EqualityToken` [INFO] [stderr] --> src/gather/selector.rs:140:37 [INFO] [stderr] | [INFO] [stderr] 140 | (EqualityToken::Value(key), EqualityToken::Equal, EqualityToken::Value(value)) => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type `EqualityToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `EqualityToken` [INFO] [stderr] --> src/gather/selector.rs:140:59 [INFO] [stderr] | [INFO] [stderr] 140 | (EqualityToken::Value(key), EqualityToken::Equal, EqualityToken::Value(value)) => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type `EqualityToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `EqualityToken` [INFO] [stderr] --> src/gather/selector.rs:143:10 [INFO] [stderr] | [INFO] [stderr] 143 | (EqualityToken::Value(key), EqualityToken::NotEqual, EqualityToken::Value(value)) => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type `EqualityToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `EqualityToken` [INFO] [stderr] --> src/gather/selector.rs:143:37 [INFO] [stderr] | [INFO] [stderr] 143 | (EqualityToken::Value(key), EqualityToken::NotEqual, EqualityToken::Value(value)) => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type `EqualityToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `EqualityToken` [INFO] [stderr] --> src/gather/selector.rs:143:62 [INFO] [stderr] | [INFO] [stderr] 143 | (EqualityToken::Value(key), EqualityToken::NotEqual, EqualityToken::Value(value)) => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type `EqualityToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:175:50 [INFO] [stderr] | [INFO] [stderr] 175 | SetToken::ValuesList(_) | SetToken::In | SetToken::NotIn => None, [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:155:9 [INFO] [stderr] | [INFO] [stderr] 155 | SetToken::Not => match lexer.next()?.ok()? { [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:156:13 [INFO] [stderr] | [INFO] [stderr] 156 | SetToken::Value(value) => Some(Expression::DoesNotExist(value)), [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:159:9 [INFO] [stderr] | [INFO] [stderr] 159 | SetToken::Value(key) => { [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:166:18 [INFO] [stderr] | [INFO] [stderr] 166 | (SetToken::In, SetToken::ValuesList(values)) => { [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:166:32 [INFO] [stderr] | [INFO] [stderr] 166 | (SetToken::In, SetToken::ValuesList(values)) => { [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:169:18 [INFO] [stderr] | [INFO] [stderr] 169 | (SetToken::NotIn, SetToken::ValuesList(values)) => { [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:169:35 [INFO] [stderr] | [INFO] [stderr] 169 | (SetToken::NotIn, SetToken::ValuesList(values)) => { [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `SetToken` [INFO] [stderr] --> src/gather/selector.rs:175:9 [INFO] [stderr] | [INFO] [stderr] 175 | SetToken::ValuesList(_) | SetToken::In | SetToken::NotIn => None, [INFO] [stderr] | ^^^^^^^^ use of undeclared type `SetToken` [INFO] [stderr] [INFO] [stderr] error: aborting due to 31 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Expression, ParsedExpression>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, EqualityToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, EqualityToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, SetToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, SetToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Vec, SetToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, Vec, SetToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, ValuesListToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/gather/selector.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/gather/selector.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking crust-gather v0.7.0 (/tmp/fixit) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/gather/server.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 233 | let version: serde_yaml::Value = serde_yaml::from_str({ [INFO] [stdout] | -------------------- borrow later used by call [INFO] [stdout] ... [INFO] [stdout] 238 | / Reader::new(archive.clone(), state.serve_time) [INFO] [stdout] 239 | | .map_err(error::ErrorNotFound)? [INFO] [stdout] 240 | | .load_raw(ArchivePath::Custom("version.yaml".into())) [INFO] [stdout] 241 | | .map_err(error::ErrorNotFound)? [INFO] [stdout] | |___________________________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 242 | .as_str() [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/gather/server.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 233 | let version: serde_yaml::Value = serde_yaml::from_str({ [INFO] [stdout] | -------------------- borrow later used by call [INFO] [stdout] ... [INFO] [stdout] 238 | / Reader::new(archive.clone(), state.serve_time) [INFO] [stdout] 239 | | .map_err(error::ErrorNotFound)? [INFO] [stdout] 240 | | .load_raw(ArchivePath::Custom("version.yaml".into())) [INFO] [stdout] 241 | | .map_err(error::ErrorNotFound)? [INFO] [stdout] | |___________________________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 242 | .as_str() [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/cli.rs:714:9 [INFO] [stdout] | [INFO] [stdout] 714 | env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/cli.rs:733:9 [INFO] [stdout] | [INFO] [stdout] 733 | env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/cli.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/cli.rs:799:9 [INFO] [stdout] | [INFO] [stdout] 799 | env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/cli.rs:856:9 [INFO] [stdout] | [INFO] [stdout] 856 | env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/cli.rs:923:9 [INFO] [stdout] | [INFO] [stdout] 923 | env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/cli.rs:1062:9 [INFO] [stdout] | [INFO] [stdout] 1062 | env::set_var("KUBECONFIG", test_env.kubeconfig_path().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/gather/config.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | env::set_var("FOO", "foo"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/gather/config.rs:514:9 [INFO] [stdout] | [INFO] [stdout] 514 | env::set_var("BAR", "bar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/gather/config.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | env::set_var("KEY", "password"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/gather/config.rs:534:9 [INFO] [stdout] | [INFO] [stdout] 534 | env::set_var("KEY", "password"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/gather/writer.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | env::set_var("SECRET", "secret"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crust-gather` (bin "kubectl-crust-gather") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0133, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crust-gather` (bin "kubectl-crust-gather" test) due to 13 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "df25831b5e5679e267a59a797b60585686db7dad6a8f9387a9c476d615d8a0b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df25831b5e5679e267a59a797b60585686db7dad6a8f9387a9c476d615d8a0b7", kill_on_drop: false }` [INFO] [stdout] df25831b5e5679e267a59a797b60585686db7dad6a8f9387a9c476d615d8a0b7