[INFO] fetching crate pipeline-cli 0.12.0... [INFO] building pipeline-cli-0.12.0 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate pipeline-cli 0.12.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate pipeline-cli 0.12.0 [INFO] finished tweaking crates.io crate pipeline-cli 0.12.0 [INFO] tweaked toml for crates.io crate pipeline-cli 0.12.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pipeline-cli 0.12.0 on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pipeline-cli 0.12.0 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0449996bc49f42a23c441f0d4f17b8789f4dbaa57f8a298b30aafc767b6805f [INFO] running `Command { std: "docker" "start" "-a" "c0449996bc49f42a23c441f0d4f17b8789f4dbaa57f8a298b30aafc767b6805f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0449996bc49f42a23c441f0d4f17b8789f4dbaa57f8a298b30aafc767b6805f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0449996bc49f42a23c441f0d4f17b8789f4dbaa57f8a298b30aafc767b6805f", kill_on_drop: false }` [INFO] [stdout] c0449996bc49f42a23c441f0d4f17b8789f4dbaa57f8a298b30aafc767b6805f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] a8a1addcb9cc045e8df6365dea754c312d16fec30f278c2d0ae8c45372781fc2 [INFO] running `Command { std: "docker" "start" "-a" "a8a1addcb9cc045e8df6365dea754c312d16fec30f278c2d0ae8c45372781fc2", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling zerocopy v0.8.0-alpha.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling ssh-encoding v0.2.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling rand_core v0.9.0-alpha.1 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling ssh-cipher v0.2.0 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling ssh-rs v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling clap_builder v4.5.1 [INFO] [stderr] Compiling ssh-key v0.6.5 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling rand_chacha v0.9.0-alpha.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling generic-array v1.0.0 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling rand v0.9.0-alpha.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling scanner-rust v2.0.17 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling clap v4.5.1 [INFO] [stderr] Compiling pipeline-cli v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/v1/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/v1/parser.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::id` [INFO] [stdout] --> src/v1/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::process::id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scanner_rust::generic_array::typenum::Exp` [INFO] [stdout] --> src/v1/parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use scanner_rust::generic_array::typenum::Exp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::PipelineError::UnknownModule` [INFO] [stdout] --> src/v1/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::error::PipelineError::UnknownModule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/v1/lexer.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, io}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deref` [INFO] [stdout] --> src/v1/lexer.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Add, Deref}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/v1/expr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RwLockWriteGuard` and `Weak` [INFO] [stdout] --> src/v1/interpreter.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Arc, RwLock, RwLockWriteGuard, Weak}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Function` [INFO] [stdout] --> src/v1/interpreter.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::module::{Function, Module}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLockWriteGuard` [INFO] [stdout] --> src/v1/types.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, RwLock, RwLockWriteGuard, Weak}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Op` and `StructExpr` [INFO] [stdout] --> src/v1/types.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::v1::expr::{Expr, FnCallExpr, Op, StructExpr}; [INFO] [stdout] | ^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/builtin.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, io, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> src/builtin.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::{Command, exit, Stdio}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::Thread` [INFO] [stdout] --> src/builtin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::thread::Thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `encoding_rs::*` [INFO] [stdout] --> src/builtin.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use encoding_rs::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dynamic` [INFO] [stdout] --> src/builtin.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::v1::types::{Dynamic, Value}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weak` [INFO] [stdout] --> src/context.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc, RwLock, Weak}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dynamic` [INFO] [stdout] --> src/context.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::v1::types::{Dynamic, Value}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Weak` [INFO] [stdout] --> src/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Weak; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpStream` [INFO] [stdout] --> src/module.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ssh::LocalSession` [INFO] [stdout] --> src/module.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use ssh::LocalSession; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v1` [INFO] [stdout] --> src/module.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::v1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/module.rs:366:60 [INFO] [stdout] | [INFO] [stdout] 366 | let env=PipelineEngine::context_with_env(&ctx);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/module.rs:719:81 [INFO] [stdout] | [INFO] [stdout] 719 | impl >NativeFunction<(A)> for T { [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] 719 - impl >NativeFunction<(A)> for T { [INFO] [stdout] 719 + impl >NativeFunction for T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/main.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{fs, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::context::Context` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/builtin.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{ Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/engine.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/v1/parser.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | ... let (fn_def,pos)=self.parse_fn_def()?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peek_pos` [INFO] [stdout] --> src/v1/parser.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | let (peek_token,peek_pos)=self.token_stream.peek(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peek_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/v1/parser.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse_keyword(&mut self,target:&str)->PipelineResult<(String,Position)>{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/v1/parser.rs:179:27 [INFO] [stdout] | [INFO] [stdout] 179 | let (in_token,mut pos2)=self.token_stream.next(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos11` [INFO] [stdout] --> src/v1/parser.rs:169:23 [INFO] [stdout] | [INFO] [stdout] 169 | let (peek,pos11)=self.token_stream.peek(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos1` [INFO] [stdout] --> src/v1/parser.rs:174:30 [INFO] [stdout] | [INFO] [stdout] 174 | let (two,pos1)=self.token_stream.next(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pos1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/v1/parser.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `script` is never read [INFO] [stdout] --> src/v1/parser.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | let mut script=String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos1` [INFO] [stdout] --> src/v1/parser.rs:281:23 [INFO] [stdout] | [INFO] [stdout] 281 | let (peek,pos1)=self.token_stream.peek(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pos1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos01` [INFO] [stdout] --> src/v1/parser.rs:285:32 [INFO] [stdout] | [INFO] [stdout] 285 | let (peek0,pos01)=self.token_stream.peek(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos01` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos00` [INFO] [stdout] --> src/v1/parser.rs:293:29 [INFO] [stdout] | [INFO] [stdout] 293 | let (b0,pos00)=self.parse_if_branch()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pos00` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `one_name_pos` [INFO] [stdout] --> src/v1/parser.rs:381:23 [INFO] [stdout] | [INFO] [stdout] 381 | let (one_name,one_name_pos)=self.parse_identifier()?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_one_name_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `two_name_pos` [INFO] [stdout] --> src/v1/parser.rs:384:27 [INFO] [stdout] | [INFO] [stdout] 384 | let (two_name,two_name_pos)=self.parse_identifier()?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_two_name_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_params_pos` [INFO] [stdout] --> src/v1/parser.rs:385:34 [INFO] [stdout] | [INFO] [stdout] 385 | let (function_params,function_params_pos)=self.parse_fn_def_args()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_params_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type_pos` [INFO] [stdout] --> src/v1/parser.rs:387:30 [INFO] [stdout] | [INFO] [stdout] 387 | let (return_type,return_type_pos)=self.parse_identifier()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_params_pos` [INFO] [stdout] --> src/v1/parser.rs:396:30 [INFO] [stdout] | [INFO] [stdout] 396 | let (function_params,function_params_pos)=self.parse_fn_def_args()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_params_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type_pos` [INFO] [stdout] --> src/v1/parser.rs:398:26 [INFO] [stdout] | [INFO] [stdout] 398 | let (return_type,return_type_pos)=self.parse_identifier()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/v1/parser.rs:407:20 [INFO] [stdout] | [INFO] [stdout] 407 | let (token,pos)=self.token_stream.peek(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/v1/parser.rs:598:12 [INFO] [stdout] | [INFO] [stdout] 598 | if let (peek,mut pos1)=self.token_stream.peek(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/v1/parser.rs:727:24 [INFO] [stdout] | [INFO] [stdout] 727 | let (peek, pos)=self.token_stream.peek(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos1` [INFO] [stdout] --> src/v1/parser.rs:733:32 [INFO] [stdout] | [INFO] [stdout] 733 | let (peek1,pos1)=self.token_stream.peek(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pos1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/v1/parser.rs:791:24 [INFO] [stdout] | [INFO] [stdout] 791 | let (peek, pos)=self.token_stream.peek(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos1` [INFO] [stdout] --> src/v1/parser.rs:797:32 [INFO] [stdout] | [INFO] [stdout] 797 | let (peek1,pos1)=self.token_stream.peek(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pos1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> src/v1/parser.rs:991:14 [INFO] [stdout] | [INFO] [stdout] 991 | let (next,mut pos)=self.token_stream.next(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos0` [INFO] [stdout] --> src/v1/parser.rs:994:23 [INFO] [stdout] | [INFO] [stdout] 994 | let (peek,pos0)=self.token_stream.peek(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pos0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/v1/parser.rs:1007:17 [INFO] [stdout] | [INFO] [stdout] 1007 | t=>{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> src/v1/parser.rs:1018:14 [INFO] [stdout] | [INFO] [stdout] 1018 | let (next,mut pos)=self.token_stream.next(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos0` [INFO] [stdout] --> src/v1/parser.rs:1021:23 [INFO] [stdout] | [INFO] [stdout] 1021 | let (peek,pos0)=self.token_stream.peek(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pos0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/v1/parser.rs:1034:17 [INFO] [stdout] | [INFO] [stdout] 1034 | t=>{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/v1/parser.rs:1047:19 [INFO] [stdout] | [INFO] [stdout] 1047 | let (peek,pos)=self.token_stream.peek(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/v1/lexer.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | t => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/v1/interpreter.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut m=HashMap::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/v1/interpreter.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut m=HashMap::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/v1/interpreter.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut target=self.modules.get(module_name.as_ref()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/v1/interpreter.rs:413:19 [INFO] [stdout] | [INFO] [stdout] 413 | let mut r=None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/v1/types.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | Value::Immutable(d) => {panic!("can not be mutable")} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/v1/types.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | Value::Immutable(d) => {panic!("can not be weak pointer")} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/v1/types.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | fn from(value: ()) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/v1/types.rs:334:29 [INFO] [stdout] | [INFO] [stdout] 334 | Dynamic::Native(v)=>{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/v1/types.rs:352:28 [INFO] [stdout] | [INFO] [stdout] 352 | Dynamic::Float(f) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/builtin.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut env=env.write().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut e=PipelineEngine::new_raw(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut default =PipelineEngine::default(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/logger.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut c=String::from("\x1b[31m[Err]:".to_owned() +content+"\x1b[0m"); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/module.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 328 | let mut sc=sc.downcast_mut::>().unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/module.rs:341:17 [INFO] [stdout] | [INFO] [stdout] 341 | let mut sc=sc.downcast_mut::>().unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/module.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | let mut sc=sc.downcast_mut::>().unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/module.rs:260:46 [INFO] [stdout] | [INFO] [stdout] 260 | std.register_pipe_function("append",|ctx,args|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/module.rs:236:46 [INFO] [stdout] | [INFO] [stdout] 236 | std.register_pipe_function("remove",|ctx,args|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/module.rs:239:32 [INFO] [stdout] | [INFO] [stdout] 239 | Dynamic::Array(a)=>{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/module.rs:427:50 [INFO] [stdout] | [INFO] [stdout] 427 | math.register_pipe_function("randomInt",|ctx,args| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/module.rs:416:44 [INFO] [stdout] | [INFO] [stdout] 416 | math.register_pipe_function("max",|ctx,args| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/module.rs:572:48 [INFO] [stdout] | [INFO] [stdout] 572 | ssh.register_pipe_function("download",|ctx,args|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/module.rs:553:46 [INFO] [stdout] | [INFO] [stdout] 553 | ssh.register_pipe_function("upload",|ctx,args|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/module.rs:534:44 [INFO] [stdout] | [INFO] [stdout] 534 | ssh.register_pipe_function("exec",|ctx,args|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/module.rs:516:51 [INFO] [stdout] | [INFO] [stdout] 516 | ssh.register_pipe_function("withContext",|ctx,args|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/module.rs:626:17 [INFO] [stdout] | [INFO] [stdout] 626 | let mut ptr=args.get(2); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/module.rs:660:49 [INFO] [stdout] | [INFO] [stdout] 660 | layout.register_pipe_function("folder",|ctx,args|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/module.rs:651:46 [INFO] [stdout] | [INFO] [stdout] 651 | layout.register_pipe_function("set",|ctx,args|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/module.rs:605:17 [INFO] [stdout] | [INFO] [stdout] 605 | let v:Arc>>=Arc::new(RwLock::new(HashMap::new())); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/module.rs:710:24 [INFO] [stdout] | [INFO] [stdout] 710 | Arc::new(move |ctx:Arc>>, args:Vec< Value >|->PipelineResult{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/main.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | if let Some(p)=path.path.clone(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NativeFunction` is more private than the item `Module::register_native_function` [INFO] [stdout] --> src/module.rs:671:5 [INFO] [stdout] | [INFO] [stdout] 671 | / pub fn register_native_function(&mut self, name:impl Into, f:F ) [INFO] [stdout] 672 | | where F:NativeFunction [INFO] [stdout] | |_____________________________^ method `Module::register_native_function` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `NativeFunction` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/module.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | trait NativeFunction{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Parser` is never used [INFO] [stdout] --> src/v1/parser.rs:1105:11 [INFO] [stdout] | [INFO] [stdout] 1105 | pub trait Parser{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Variable` is never constructed [INFO] [stdout] --> src/v1/expr.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct Variable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_system_gbk_output_command` is never used [INFO] [stdout] --> src/builtin.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn is_system_gbk_output_command(c: &str) ->bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_system_gbk_err_command` is never used [INFO] [stdout] --> src/builtin.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn is_system_gbk_err_command(c:&str)->bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attributions` is never read [INFO] [stdout] --> src/module.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Class{ [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 64 | name:String, [INFO] [stdout] 65 | attributions:Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Class` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/v1/parser.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | ... self.parse_class(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 103 | let _ = self.parse_class(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | i.merge_into_main_module("std"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = i.merge_into_main_module("std"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "--export" "ring_core_0_17_8_bn_mul_mont" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<17 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libdirs-1ae9301270c6bfc2,libclap-07766eed7478889e,libclap_builder-561525a795bbee6e,libstrsim-5261867f3777ad55,libanstream-77f9e3f9ccfb9eda,libanstyle_query-762ab2e6ee56ccd9,libcolorchoice-f843408b53bb43d3,libanstyle_parse-43b39865f2d18548,libutf8parse-c7a8e2c1750ad77c,libclap_lex-2df4257bb6863119,libanstyle-2a113e70dd25572f,libssh-6a150f9cd3b4da94,libssh_key-b0defb75d696f8f2,libed25519_dalek-2cc5a743fa582bd8,libcurve25519_dalek-1560efb5c2b72313,libed25519-b1aa055ef74e2c2d,libssh_cipher-2c5473eb2d2e454f,libsec1-1b5bcfd30ac5a573,libbase16ct-c6dc21a39bc8c60c,libssh_encoding-e7d6cc9443ccb0e7,libstrum-15d566ba0ae6901f,libthiserror-3cc4efbe7d5e9e47,libtracing-f518b54b9fc6c8a3,liblog-03c1402355aa92f4,libpin_project_lite-31e2d3f271086d5c,libtracing_core-87b5520dcd02cc02,libonce_cell-119600c39ce58a96,librsa-c83464ac6410124c,libsha2-fad30a82833f492c,libpkcs1-7e57bb22e5c68cdb,libpkcs8-bd7eba9a83709d49,libspki-1363980e2584533e,libder-c742bab019dcbba0,libpem_rfc7468-0bb475cd17141ee1,libbase64ct-415c32887e031064,libsubtle-343c9aa3d9f7d536,libsignature-78901cda38dce26a,libdigest-7c693ff875657f96,libconst_oid-cd39fbcaebc2ac55,libblock_buffer-75c9deac92c1d006,libnum_bigint_dig-340900facb7ba003,liblibm-7d86a4423f93095a,libnum_iter-10263c653dc0ec08,libzeroize-ecdee4bda510392f,liblazy_static-10494f2c291f7307,libspin-d5f06904c2ae1004,libsmallvec-dd22fcde2487057b,libnum_bigint-1757f6b845b259d1,librand-7148190a628408ff,librand_chacha-2e3c6ecdcae42be0,librand_core-8576950f0c8cc96e,libnum_integer-9c4c7f8129711f92,libnum_traits-8fda797050ee69bf,libring-44ea4be8a7f519e5,libuntrusted-f7f5e2e679817f68,libctr-e72d4f38c3b85c75,libaes-ca03ce3b0c3c498f,libcipher-fa38edf1bbc74f7e,libinout-ec8af1d108a72c38,libcrypto_common-03d81597ad02fe3b,libgeneric_array-32e26f504566606f,libflate2-ba1de9be693fbd36,libminiz_oxide-d2f3683b497a5401,libadler-5d585fd5ceaaf370,libcrc32fast-7eee6fe9ac3f34b0,librand-a8abd42f889e7ec4,librand_chacha-6bbf5ce0de7870a2,libppv_lite86-486e4425e6fd09e6,librand_core-282d7b024850915e,libgetrandom-bdf6b23a26bd495a,libwasi-b9c6bfbff0bef49f,libzerocopy-ee9228133d769132,libregex-ade288a43356f462,libregex_automata-3b70542dfcf21dbc,libaho_corasick-472e2eee0decacf2,libmemchr-91991dd9826db106,libregex_syntax-ce36f47e8a6d95e0,libencoding_rs-a93dd82c8143cc9a,libcfg_if-50b02a9e3502ecf2,libscanner_rust-50f5daa4a6b854f9,libutf8_width-1ddee72aa618b858,libgeneric_array-9fd3ddc51c47b708,libtypenum-d5b99871e3042c7a}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/ring-8172bf79d37e8971/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/pipeline-592dd9d365302d42.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib: archive member 'fad98b632b8ce3cc-curve25519.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib: archive member 'ca4b6ef5433f5aeb-aes_nohw.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib: archive member 'ca8bd8684bb569fa-montgomery.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib: archive member 'ca8bd8684bb569fa-montgomery_inv.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib: archive member 'a9af75d892b04b75-ecp_nistz.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib: archive member 'a9af75d892b04b75-gfp_p256.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib: archive member 'a9af75d892b04b75-gfp_p384.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib: archive member 'a9af75d892b04b75-p256.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib: archive member 'a1949f2101df4b9c-limbs.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib: archive member '7effb53edfc7fa2d-mem.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib: archive member 'bec76f70393ddef1-poly1305.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib: archive member '7effb53edfc7fa2d-constant_time_test.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.05.rcgu.o): undefined symbol: ring_core_0_17_8_bn_from_montgomery_in_place [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.05.rcgu.o): undefined symbol: ring_core_0_17_8_limbs_mul_add_limb [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.06.rcgu.o): undefined symbol: ring_core_0_17_8_CRYPTO_poly1305_finish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.06.rcgu.o): undefined symbol: ring_core_0_17_8_CRYPTO_poly1305_init [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.06.rcgu.o): undefined symbol: ring_core_0_17_8_CRYPTO_memcmp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.06.rcgu.o): undefined symbol: ring_core_0_17_8_CRYPTO_poly1305_update [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.07.rcgu.o): undefined symbol: ring_core_0_17_8_x25519_scalar_mult_generic_masked [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.07.rcgu.o): undefined symbol: ring_core_0_17_8_x25519_public_from_private_generic_masked [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.09.rcgu.o): undefined symbol: ring_core_0_17_8_x25519_fe_neg [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.09.rcgu.o): undefined symbol: ring_core_0_17_8_x25519_fe_invert [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.09.rcgu.o): undefined symbol: ring_core_0_17_8_x25519_fe_mul_ttt [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.09.rcgu.o): undefined symbol: ring_core_0_17_8_x25519_fe_mul_ttt [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.09.rcgu.o): undefined symbol: ring_core_0_17_8_x25519_fe_tobytes [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.09.rcgu.o): undefined symbol: ring_core_0_17_8_x25519_fe_isnegative [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.09.rcgu.o): undefined symbol: ring_core_0_17_8_x25519_ge_frombytes_vartime [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.13.rcgu.o): undefined symbol: ring_core_0_17_8_LIMBS_are_zero [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.13.rcgu.o): undefined symbol: ring_core_0_17_8_LIMBS_add_mod [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.13.rcgu.o): undefined symbol: ring_core_0_17_8_LIMBS_equal [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.13.rcgu.o): undefined symbol: ring_core_0_17_8_LIMBS_less_than [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libring-44ea4be8a7f519e5.rlib(ring-44ea4be8a7f519e5.ring.f46357ef312ab59f-cgu.13.rcgu.o): undefined symbol: ring_core_0_17_8_p256_point_mul_base [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pipeline-cli` (bin "pipeline") due to 1 previous error; 100 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a8a1addcb9cc045e8df6365dea754c312d16fec30f278c2d0ae8c45372781fc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8a1addcb9cc045e8df6365dea754c312d16fec30f278c2d0ae8c45372781fc2", kill_on_drop: false }` [INFO] [stdout] a8a1addcb9cc045e8df6365dea754c312d16fec30f278c2d0ae8c45372781fc2