[INFO] cloning repository https://github.com/LHNCreate/Buggy-Automotive [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LHNCreate/Buggy-Automotive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLHNCreate%2FBuggy-Automotive", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLHNCreate%2FBuggy-Automotive'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e6b48f7a1abd6efe58042ade619416fe39a6393 [INFO] checking LHNCreate/Buggy-Automotive against try#654bc80249a2b2ba8bd16392b5829d87ed96c92d for pr-136458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLHNCreate%2FBuggy-Automotive" "/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/LHNCreate/Buggy-Automotive on toolchain 654bc80249a2b2ba8bd16392b5829d87ed96c92d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LHNCreate/Buggy-Automotive [INFO] finished tweaking git repo https://github.com/LHNCreate/Buggy-Automotive [INFO] tweaked toml for git repo https://github.com/LHNCreate/Buggy-Automotive written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LHNCreate/Buggy-Automotive 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" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cxxbridge-flags v1.0.128 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.128 [INFO] [stderr] Downloaded cxx v1.0.128 [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 760525d0fc1d186c6d321e89c3dffb4c497b23fa13019f2ba5681a08c7d916ed [INFO] running `Command { std: "docker" "start" "-a" "760525d0fc1d186c6d321e89c3dffb4c497b23fa13019f2ba5681a08c7d916ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "760525d0fc1d186c6d321e89c3dffb4c497b23fa13019f2ba5681a08c7d916ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "760525d0fc1d186c6d321e89c3dffb4c497b23fa13019f2ba5681a08c7d916ed", kill_on_drop: false }` [INFO] [stdout] 760525d0fc1d186c6d321e89c3dffb4c497b23fa13019f2ba5681a08c7d916ed [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=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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bde8af007b05eb5a08cbc1f87895d5ebf090589544914fdb5d5cf66bdd152b64 [INFO] running `Command { std: "docker" "start" "-a" "bde8af007b05eb5a08cbc1f87895d5ebf090589544914fdb5d5cf66bdd152b64", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling cxxbridge-flags v1.0.128 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling link-cplusplus v1.0.9 [INFO] [stderr] Compiling cxx v1.0.128 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling cxxbridge-macro v1.0.128 [INFO] [stderr] Checking AdaptiveAutosar-Rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::em::exec_error_domain::ExecErrc` [INFO] [stdout] --> src/em/execution_client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::em::exec_error_domain::ExecErrc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::execution_client::ExecutionState` [INFO] [stdout] --> src/em/execution_error_event.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::execution_client::ExecutionState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::em::execution_management::ExecutionManagement` [INFO] [stdout] --> src/em/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::em::execution_management::ExecutionManagement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::em::exec_error_domain::ExecErrc` [INFO] [stdout] --> src/em/execution_client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::em::exec_error_domain::ExecErrc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::execution_client::ExecutionState` [INFO] [stdout] --> src/em/execution_error_event.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::execution_client::ExecutionState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/em/execution_management.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut state = self.state.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `execution_state` is never read [INFO] [stdout] --> src/em/execution_client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ExecutionClient{ [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 14 | execution_state: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ActivationReturnType` is never used [INFO] [stdout] --> src/em/deterministic_client.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum ActivationReturnType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `execution_error` and `function_group` are never read [INFO] [stdout] --> src/em/execution_error_event.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ExecutionErrorEvent { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | execution_error: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | function_group: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExecErrc` is never used [INFO] [stdout] --> src/em/exec_error_domain.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ExecErrc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionGroupState` is never constructed [INFO] [stdout] --> src/em/function_group_state.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct FunctionGroupState {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProcessState` is never used [INFO] [stdout] --> src/em/execution_management.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum ProcessState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManagedProcess` is never constructed [INFO] [stdout] --> src/em/execution_management.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct ManagedProcess { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `terminate`, and `get_state` are never used [INFO] [stdout] --> src/em/execution_management.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl ManagedProcess { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | fn new(name: String, path: String, priority: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn terminate(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn get_state(&self) -> ProcessState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecutionManagement` is never constructed [INFO] [stdout] --> src/em/execution_management.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct ExecutionManagement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load_manifest`, `start_all`, `terminate_all`, and `monitor` are never used [INFO] [stdout] --> src/em/execution_management.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 133 | impl ExecutionManagement { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 134 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub(crate) fn load_manifest(&mut self, manifest_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub(crate) fn start_all(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn terminate_all(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub(crate) fn monitor(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `AdaptiveAutosar_Rust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `adaptive_autosar_rust` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Child` should have a snake case name [INFO] [stdout] --> src/em/execution_management.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | if let Some(ref mut Child) = *child_lock { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/em/execution_management.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut state = self.state.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `execution_state` is never read [INFO] [stdout] --> src/em/execution_client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ExecutionClient{ [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 14 | execution_state: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ActivationReturnType` is never used [INFO] [stdout] --> src/em/deterministic_client.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum ActivationReturnType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `execution_error` and `function_group` are never read [INFO] [stdout] --> src/em/execution_error_event.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ExecutionErrorEvent { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | execution_error: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | function_group: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExecErrc` is never used [INFO] [stdout] --> src/em/exec_error_domain.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ExecErrc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionGroupState` is never constructed [INFO] [stdout] --> src/em/function_group_state.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct FunctionGroupState {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Starting` and `Terminating` are never constructed [INFO] [stdout] --> src/em/execution_management.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum ProcessState { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 7 | Idle, // 空闲状态 [INFO] [stdout] 8 | Starting, // 启动中 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | Running, // 运行中 [INFO] [stdout] 10 | Terminating, // 终止中 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `terminate` is never used [INFO] [stdout] --> src/em/execution_management.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl ManagedProcess { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | fn terminate(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `terminate_all` is never used [INFO] [stdout] --> src/em/execution_management.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 133 | impl ExecutionManagement { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | fn terminate_all(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Child` should have a snake case name [INFO] [stdout] --> src/em/execution_management.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | if let Some(ref mut Child) = *child_lock { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `child` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.03s [INFO] running `Command { std: "docker" "inspect" "bde8af007b05eb5a08cbc1f87895d5ebf090589544914fdb5d5cf66bdd152b64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bde8af007b05eb5a08cbc1f87895d5ebf090589544914fdb5d5cf66bdd152b64", kill_on_drop: false }` [INFO] [stdout] bde8af007b05eb5a08cbc1f87895d5ebf090589544914fdb5d5cf66bdd152b64