[INFO] cloning repository https://github.com/S3r4f1n/key_map [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/S3r4f1n/key_map" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS3r4f1n%2Fkey_map", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS3r4f1n%2Fkey_map'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15d763add135beecb8bca06250810139f47de9ab [INFO] checking S3r4f1n/key_map/15d763add135beecb8bca06250810139f47de9ab against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS3r4f1n%2Fkey_map" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/S3r4f1n/key_map on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/S3r4f1n/key_map [INFO] finished tweaking git repo https://github.com/S3r4f1n/key_map [INFO] tweaked toml for git repo https://github.com/S3r4f1n/key_map written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/S3r4f1n/key_map 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c3e093bb8075bc1d1f4dc358dd6404213b6b03f8c37dbcc2530064c195759b5 [INFO] running `Command { std: "docker" "start" "-a" "5c3e093bb8075bc1d1f4dc358dd6404213b6b03f8c37dbcc2530064c195759b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c3e093bb8075bc1d1f4dc358dd6404213b6b03f8c37dbcc2530064c195759b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c3e093bb8075bc1d1f4dc358dd6404213b6b03f8c37dbcc2530064c195759b5", kill_on_drop: false }` [INFO] [stdout] 5c3e093bb8075bc1d1f4dc358dd6404213b6b03f8c37dbcc2530064c195759b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0eb25d46426670cb9caab18335c707076af3139d1824ea43f22d215af13c765e [INFO] running `Command { std: "docker" "start" "-a" "0eb25d46426670cb9caab18335c707076af3139d1824ea43f22d215af13c765e", 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.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.121 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking logical_expr v0.1.0 (https://github.com/s3r4f1n/logical_expr#e41635e5) [INFO] [stderr] Checking key_map v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/evaluation_tree.rs (4 fixes) [INFO] [stderr] Fixed src/lib.rs (6 fixes) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/evaluation_tree/command_execution.rs:15:133 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn execute<'a, E: EnvVariables>(&'a self, conglomerates: &'a HashMap>, environment: &E) -> Vec<&F> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stderr] Fixed src/evaluation_tree.rs (1 fix) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/evaluation_tree/command_execution.rs:15:133 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn execute<'a, E: EnvVariables>(&'a self, conglomerates: &'a HashMap>, environment: &E) -> Vec<&F> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/evaluation_tree.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl EvaluationTree { [INFO] [stdout] | --------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | fn add(&mut self, mode: M, key_map_node: KeyMapNode) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/evaluation_tree.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 93 | impl KeyMapNode { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn add(&mut self, key: K, node: KeyMapNode) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.83s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking key_map v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/evaluation_tree/command_execution.rs:15:133 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn execute<'a, E: EnvVariables>(&'a self, conglomerates: &'a HashMap>, environment: &E) -> Vec<&F> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mode` in this scope [INFO] [stdout] --> src/evaluation_tree.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 154 | let mut tree: EvaluationTree = EvaluationTree::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyCode` in this scope [INFO] [stdout] --> src/evaluation_tree.rs:154:38 [INFO] [stdout] | [INFO] [stdout] 154 | let mut tree: EvaluationTree = EvaluationTree::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use crate::types::KeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FunctionString` in this scope [INFO] [stdout] --> src/evaluation_tree.rs:154:47 [INFO] [stdout] | [INFO] [stdout] 154 | let mut tree: EvaluationTree = EvaluationTree::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::FunctionString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyCode` [INFO] [stdout] --> src/evaluation_tree.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | node.add(KeyCode::from("a"), command.into()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `KeyCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use crate::types::KeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/evaluation_tree.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | tree.add(Mode::from("Normal"), node); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyCode` [INFO] [stdout] --> src/evaluation_tree.rs:159:27 [INFO] [stdout] | [INFO] [stdout] 159 | let c = tree.evaluate(&[KeyCode::from("a"), KeyCode::from("b")], &environment::DefaultEnvironment::new()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `KeyCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use crate::types::KeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyCode` [INFO] [stdout] --> src/evaluation_tree.rs:159:47 [INFO] [stdout] | [INFO] [stdout] 159 | let c = tree.evaluate(&[KeyCode::from("a"), KeyCode::from("b")], &environment::DefaultEnvironment::new()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `KeyCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use crate::types::KeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyCode` [INFO] [stdout] --> src/lib.rs:126:71 [INFO] [stdout] | [INFO] [stdout] 126 | let functions: Vec<&FunctionString> = kp.parse_key_sequence(&[KeyCode::from("a"), KeyCode::from("b")]).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `KeyCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 117 + use crate::types::KeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyCode` [INFO] [stdout] --> src/lib.rs:126:91 [INFO] [stdout] | [INFO] [stdout] 126 | let functions: Vec<&FunctionString> = kp.parse_key_sequence(&[KeyCode::from("a"), KeyCode::from("b")]).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `KeyCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 117 + use crate::types::KeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyCode` [INFO] [stdout] --> src/lib.rs:128:71 [INFO] [stdout] | [INFO] [stdout] 128 | let functions: Vec<&FunctionString> = kp.parse_key_sequence(&[KeyCode::from("c")]).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `KeyCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 117 + use crate::types::KeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyCode` [INFO] [stdout] --> src/lib.rs:138:69 [INFO] [stdout] | [INFO] [stdout] 138 | let functions: Option> = kp.key_by_key(KeyCode::from("a")).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `KeyCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 117 + use crate::types::KeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyCode` [INFO] [stdout] --> src/lib.rs:140:69 [INFO] [stdout] | [INFO] [stdout] 140 | let functions: Option> = kp.key_by_key(KeyCode::from("b")).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `KeyCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 117 + use crate::types::KeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyCode` [INFO] [stdout] --> src/lib.rs:142:69 [INFO] [stdout] | [INFO] [stdout] 142 | let functions: Option> = kp.key_by_key(KeyCode::from("c")).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `KeyCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 117 + use crate::types::KeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyCode` [INFO] [stdout] --> src/lib.rs:144:69 [INFO] [stdout] | [INFO] [stdout] 144 | let functions: Option> = kp.key_by_key(KeyCode::from("a")).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `KeyCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 117 + use crate::types::KeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyCode` [INFO] [stdout] --> src/lib.rs:149:29 [INFO] [stdout] | [INFO] [stdout] 149 | match kp.key_by_key(KeyCode::from("a")){ Err(msg) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `KeyCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 117 + use crate::types::KeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/evaluation_tree/command_execution.rs:15:133 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn execute<'a, E: EnvVariables>(&'a self, conglomerates: &'a HashMap>, environment: &E) -> Vec<&F> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/evaluation_tree.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl EvaluationTree { [INFO] [stdout] | --------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | fn add(&mut self, mode: M, key_map_node: KeyMapNode) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/evaluation_tree.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 93 | impl KeyMapNode { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn add(&mut self, key: K, node: KeyMapNode) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `key_map` (lib test) due to 16 previous errors; 1 warning emitted [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" "0eb25d46426670cb9caab18335c707076af3139d1824ea43f22d215af13c765e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eb25d46426670cb9caab18335c707076af3139d1824ea43f22d215af13c765e", kill_on_drop: false }` [INFO] [stdout] 0eb25d46426670cb9caab18335c707076af3139d1824ea43f22d215af13c765e