[INFO] cloning repository https://github.com/bjfssd757/Netter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bjfssd757/Netter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjfssd757%2FNetter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjfssd757%2FNetter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3c40b1e8d3cb3f9b4fa1c8df5d72d82da97e4f8 [INFO] building bjfssd757/Netter against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjfssd757%2FNetter" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bjfssd757/Netter [INFO] finished tweaking git repo https://github.com/bjfssd757/Netter [INFO] tweaked toml for git repo https://github.com/bjfssd757/Netter written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bjfssd757/Netter on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bjfssd757/Netter 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dtor v0.0.6 [INFO] [stderr] Downloaded ctor-proc-macro v0.0.5 [INFO] [stderr] Downloaded dtor-proc-macro v0.0.5 [INFO] [stderr] Downloaded ctor v0.4.2 [INFO] [stderr] Downloaded directories-next v2.0.0 [INFO] [stderr] Downloaded windows-service v0.8.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.26.2 [INFO] [stderr] Downloaded tungstenite v0.26.2 [INFO] [stderr] Downloaded windows-core v0.61.0 [INFO] [stderr] Downloaded prettyplease v0.2.32 [INFO] [stderr] Downloaded hyper-util v0.1.11 [INFO] [stderr] Downloaded h2 v0.4.9 [INFO] [stderr] Downloaded openssl-sys v0.9.108 [INFO] [stderr] Downloaded cc v1.2.34 [INFO] [stderr] Downloaded aws-lc-rs v1.13.0 [INFO] [stderr] Downloaded netter_plugger v0.1.1 [INFO] [stderr] Downloaded bzip2 v0.5.2 [INFO] [stderr] Downloaded zip v2.6.1 [INFO] [stderr] Downloaded openssl v0.10.72 [INFO] [stderr] Downloaded os_info v3.10.0 [INFO] [stderr] Downloaded fern v0.7.1 [INFO] [stderr] Downloaded zopfli v0.8.2 [INFO] [stderr] Downloaded rustls v0.23.26 [INFO] [stderr] Downloaded windows-strings v0.4.0 [INFO] [stderr] Downloaded netter_logger v0.1.1 [INFO] [stderr] Downloaded aws-lc-sys v0.28.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb2ad3560d4007b82e752606eda4ee1899cdc334a974de97fcde02948402d092 [INFO] running `Command { std: "docker" "start" "-a" "bb2ad3560d4007b82e752606eda4ee1899cdc334a974de97fcde02948402d092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb2ad3560d4007b82e752606eda4ee1899cdc334a974de97fcde02948402d092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb2ad3560d4007b82e752606eda4ee1899cdc334a974de97fcde02948402d092", kill_on_drop: false }` [INFO] [stdout] bb2ad3560d4007b82e752606eda4ee1899cdc334a974de97fcde02948402d092 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c4d1cc9bc5d7831264009c4cf8e8e20586a23ef85b80f0fe06da354abcc65f8 [INFO] running `Command { std: "docker" "start" "-a" "9c4d1cc9bc5d7831264009c4cf8e8e20586a23ef85b80f0fe06da354abcc65f8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling aws-lc-rs v1.13.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling zip v2.6.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling zopfli v0.8.2 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling fern v0.7.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling aws-lc-sys v0.28.2 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling bzip2 v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling netter_logger v0.1.1 [INFO] [stderr] Compiling xattr v1.5.0 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.4.9 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling os_info v3.10.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling netter_core v0.2.0 (/opt/rustwide/workdir/netter_core) [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> netter_core/src/language/lexer.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> netter_core/src/language/parser.rs:452:56 [INFO] [stdout] | [INFO] [stdout] 452 | left: Box::new(AstNode::Identifier((ident_name))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 452 - left: Box::new(AstNode::Identifier((ident_name))), [INFO] [stdout] 452 + left: Box::new(AstNode::Identifier(ident_name )), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> netter_core/src/language/interpreter/evaluator.rs:141:34 [INFO] [stdout] | [INFO] [stdout] 141 | let result = (left_num + right_num); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 141 - let result = (left_num + right_num); [INFO] [stdout] 141 + let result = left_num + right_num ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> netter_core/src/language/interpreter/executor.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, trace, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind` and `Error` [INFO] [stdout] --> netter_core/src/language/interpreter/executor.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::language::error::{Result, Error, ErrorKind}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Configuration` [INFO] [stdout] --> netter_core/src/language/interpreter/executor.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{Interpreter, ErrorHandler, Configuration}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> netter_core/src/language/interpreter/route_handler.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> netter_core/src/language/ast.rs:264:45 [INFO] [stdout] | [INFO] [stdout] 264 | AstNode::WhileLoop { condition, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> netter_core/src/language/ast.rs:267:51 [INFO] [stdout] | [INFO] [stdout] 267 | AstNode::ForLoop {var_name, iterable, body} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> netter_core/src/language/interpreter/route_handler.rs:148:51 [INFO] [stdout] | [INFO] [stdout] 148 | AstNode::FunctionCall { object, name, args, try_operator, unwrap_operator } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_parent`, `has_variable_local`, `has_variable`, and `get_local_variables` are never used [INFO] [stdout] --> netter_core/src/language/interpreter/context.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ExecutionContext { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn with_parent(parent: ExecutionContext) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn has_variable_local(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn has_variable(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn get_local_variables(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling netter v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:534:21 [INFO] [stdout] | [INFO] [stdout] 534 | let res = distributions_pathes(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:540:21 [INFO] [stdout] | [INFO] [stdout] 540 | let res = distributions_pathes(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:546:21 [INFO] [stdout] | [INFO] [stdout] 546 | let res = distributions_pathes(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:552:21 [INFO] [stdout] | [INFO] [stdout] 552 | let res = distributions_pathes(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:558:21 [INFO] [stdout] | [INFO] [stdout] 558 | let res = distributions_pathes(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:568:14 [INFO] [stdout] | [INFO] [stdout] 568 | let res = distributions_pathes(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:706:21 [INFO] [stdout] | [INFO] [stdout] 706 | let res = uninstall_netterd_service(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:712:21 [INFO] [stdout] | [INFO] [stdout] 712 | let res = uninstall_netterd_service(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:718:21 [INFO] [stdout] | [INFO] [stdout] 718 | let res = uninstall_netterd_service(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:724:21 [INFO] [stdout] | [INFO] [stdout] 724 | let res = uninstall_netterd_service(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:730:21 [INFO] [stdout] | [INFO] [stdout] 730 | let res = uninstall_netterd_service(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:740:21 [INFO] [stdout] | [INFO] [stdout] 740 | let res = uninstall_netterd_service(SERVICE_DEST_STR, UNIT_FILE_PATH).await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_command` is never used [INFO] [stdout] --> src/main.rs:928:4 [INFO] [stdout] | [INFO] [stdout] 928 | fn run_command(command: &str, args: &[&str]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:615:29 [INFO] [stdout] | [INFO] [stdout] 615 | service_dest_str.clone() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "9c4d1cc9bc5d7831264009c4cf8e8e20586a23ef85b80f0fe06da354abcc65f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c4d1cc9bc5d7831264009c4cf8e8e20586a23ef85b80f0fe06da354abcc65f8", kill_on_drop: false }` [INFO] [stdout] 9c4d1cc9bc5d7831264009c4cf8e8e20586a23ef85b80f0fe06da354abcc65f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1caa74210e2ba9b923b92df891555af339fb1776daf58ba64682567812dc5093 [INFO] running `Command { std: "docker" "start" "-a" "1caa74210e2ba9b923b92df891555af339fb1776daf58ba64682567812dc5093", kill_on_drop: false }` [INFO] [stderr] Compiling netter v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> netter_core/src/language/lexer.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> netter_core/src/language/parser.rs:452:56 [INFO] [stdout] | [INFO] [stdout] 452 | left: Box::new(AstNode::Identifier((ident_name))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 452 - left: Box::new(AstNode::Identifier((ident_name))), [INFO] [stdout] 452 + left: Box::new(AstNode::Identifier(ident_name )), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> netter_core/src/language/interpreter/evaluator.rs:141:34 [INFO] [stdout] | [INFO] [stdout] 141 | let result = (left_num + right_num); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 141 - let result = (left_num + right_num); [INFO] [stdout] 141 + let result = left_num + right_num ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> netter_core/src/language/interpreter/executor.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, trace, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind` and `Error` [INFO] [stdout] --> netter_core/src/language/interpreter/executor.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::language::error::{Result, Error, ErrorKind}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Configuration` [INFO] [stdout] --> netter_core/src/language/interpreter/executor.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{Interpreter, ErrorHandler, Configuration}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> netter_core/src/language/interpreter/route_handler.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> netter_core/src/language/ast.rs:264:45 [INFO] [stdout] | [INFO] [stdout] 264 | AstNode::WhileLoop { condition, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> netter_core/src/language/ast.rs:267:51 [INFO] [stdout] | [INFO] [stdout] 267 | AstNode::ForLoop {var_name, iterable, body} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> netter_core/src/language/interpreter/route_handler.rs:148:51 [INFO] [stdout] | [INFO] [stdout] 148 | AstNode::FunctionCall { object, name, args, try_operator, unwrap_operator } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_parent`, `has_variable_local`, `has_variable`, and `get_local_variables` are never used [INFO] [stdout] --> netter_core/src/language/interpreter/context.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ExecutionContext { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn with_parent(parent: ExecutionContext) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn has_variable_local(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn has_variable(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn get_local_variables(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:534:21 [INFO] [stdout] | [INFO] [stdout] 534 | let res = distributions_pathes(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:540:21 [INFO] [stdout] | [INFO] [stdout] 540 | let res = distributions_pathes(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:546:21 [INFO] [stdout] | [INFO] [stdout] 546 | let res = distributions_pathes(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:552:21 [INFO] [stdout] | [INFO] [stdout] 552 | let res = distributions_pathes(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:558:21 [INFO] [stdout] | [INFO] [stdout] 558 | let res = distributions_pathes(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:568:14 [INFO] [stdout] | [INFO] [stdout] 568 | let res = distributions_pathes(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:706:21 [INFO] [stdout] | [INFO] [stdout] 706 | let res = uninstall_netterd_service(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:712:21 [INFO] [stdout] | [INFO] [stdout] 712 | let res = uninstall_netterd_service(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:718:21 [INFO] [stdout] | [INFO] [stdout] 718 | let res = uninstall_netterd_service(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:724:21 [INFO] [stdout] | [INFO] [stdout] 724 | let res = uninstall_netterd_service(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:730:21 [INFO] [stdout] | [INFO] [stdout] 730 | let res = uninstall_netterd_service(SERVICE_DEST_STR, UNIT_FILE_PATH).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:740:21 [INFO] [stdout] | [INFO] [stdout] 740 | let res = uninstall_netterd_service(SERVICE_DEST_STR, UNIT_FILE_PATH).await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_command` is never used [INFO] [stdout] --> src/main.rs:928:4 [INFO] [stdout] | [INFO] [stdout] 928 | fn run_command(command: &str, args: &[&str]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:615:29 [INFO] [stdout] | [INFO] [stdout] 615 | service_dest_str.clone() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] running `Command { std: "docker" "inspect" "1caa74210e2ba9b923b92df891555af339fb1776daf58ba64682567812dc5093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1caa74210e2ba9b923b92df891555af339fb1776daf58ba64682567812dc5093", kill_on_drop: false }` [INFO] [stdout] 1caa74210e2ba9b923b92df891555af339fb1776daf58ba64682567812dc5093