[INFO] cloning repository https://github.com/Demindiro/qsh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Demindiro/qsh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemindiro%2Fqsh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemindiro%2Fqsh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2988f7cf4a271304fb388fc2d1184299b5982e2 [INFO] checking Demindiro/qsh/f2988f7cf4a271304fb388fc2d1184299b5982e2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemindiro%2Fqsh" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Demindiro/qsh on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Demindiro/qsh [INFO] finished tweaking git repo https://github.com/Demindiro/qsh [INFO] tweaked toml for git repo https://github.com/Demindiro/qsh written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Demindiro/qsh 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dynasmrt v1.2.1 [INFO] [stderr] Downloaded memmap2 v0.5.2 [INFO] [stderr] Downloaded dynasm v1.2.1 [INFO] [stderr] Downloaded iced-x86 v1.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ececd1ebe818cfefbc5fccb774f916f8b1d11b565132d0f0fa706e3dc39a7259 [INFO] running `Command { std: "docker" "start" "-a" "ececd1ebe818cfefbc5fccb774f916f8b1d11b565132d0f0fa706e3dc39a7259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ececd1ebe818cfefbc5fccb774f916f8b1d11b565132d0f0fa706e3dc39a7259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ececd1ebe818cfefbc5fccb774f916f8b1d11b565132d0f0fa706e3dc39a7259", kill_on_drop: false }` [INFO] [stdout] ececd1ebe818cfefbc5fccb774f916f8b1d11b565132d0f0fa706e3dc39a7259 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 786eccc54bdcb55ae7a8315f868e33aa97fbb7b22fd2850564275e4189da0c8f [INFO] running `Command { std: "docker" "start" "-a" "786eccc54bdcb55ae7a8315f868e33aa97fbb7b22fd2850564275e4189da0c8f", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking iced-x86 v1.16.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking memmap2 v0.5.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling dynasm v1.2.1 [INFO] [stderr] Checking dynasmrt v1.2.1 [INFO] [stderr] Checking qsh v0.1.0 (/opt/rustwide/workdir/qsh) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> qsh/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> qsh/src/jit/x64/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> qsh/src/jit/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Op` [INFO] [stdout] --> qsh/src/shell/mod.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::op::{Op, OpTreeParser, Register}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> qsh/src/shell/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::token::{Token, TokenParser}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> qsh/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> qsh/src/jit/x64/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> qsh/src/jit/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Op` [INFO] [stdout] --> qsh/src/shell/mod.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::op::{Op, OpTreeParser, Register}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> qsh/src/shell/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::token::{Token, TokenParser}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_refs_to_cell` has been stable since 1.83.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> qsh/src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_refs_to_cell)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_discriminant` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> qsh/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_discriminant)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_refs_to_cell` has been stable since 1.83.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> qsh/src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_refs_to_cell)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_discriminant` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> qsh/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_discriminant)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `op::OpTree` in the current scope [INFO] [stdout] --> qsh/src/jit/mod.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | let ops = OpTree::new(TokenParser::new(s).map(Result::unwrap), resolve_fn).unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `OpTree<'_>` [INFO] [stdout] | [INFO] [stdout] ::: qsh/src/op/mod.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct OpTree<'a> { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `op::OpTree` in the current scope [INFO] [stdout] --> qsh/src/op/test.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | OpTree::new(TokenParser::new(s).map(Result::unwrap), resolve_fn) [INFO] [stdout] | ^^^ function or associated item not found in `OpTree<'_>` [INFO] [stdout] | [INFO] [stdout] ::: qsh/src/op/mod.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct OpTree<'a> { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> qsh/src/op/test.rs:32:2 [INFO] [stdout] | [INFO] [stdout] 24 | fn reg_1<'a>(tp: &OpTree<'a>, var: &str) -> (RegisterIndex, Register<'a>) { [INFO] [stdout] | ----------------------------- expected `(op::RegisterIndex, op::Register<'a>)` because of return type [INFO] [stdout] ... [INFO] [stdout] 32 | r [INFO] [stdout] | ^ expected `(RegisterIndex, Register<'_>)`, found `(RegisterIndex, &Register<'_>)` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(op::RegisterIndex, op::Register<'a>)` [INFO] [stdout] found tuple `(op::RegisterIndex, &op::Register<'_>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> qsh/src/op/test.rs:293:16 [INFO] [stdout] | [INFO] [stdout] 293 | variable: "x", [INFO] [stdout] | ^^^ expected `Cow<'_, str>`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed` [INFO] [stdout] | [INFO] [stdout] 293 | variable: std::borrow::Cow::Borrowed("x"), [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> qsh/src/op/test.rs:298:16 [INFO] [stdout] | [INFO] [stdout] 298 | variable: "y", [INFO] [stdout] | ^^^ expected `Cow<'_, str>`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed` [INFO] [stdout] | [INFO] [stdout] 298 | variable: std::borrow::Cow::Borrowed("y"), [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> qsh/src/op/test.rs:329:16 [INFO] [stdout] | [INFO] [stdout] 329 | variable: "x", [INFO] [stdout] | ^^^ expected `Cow<'_, str>`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed` [INFO] [stdout] | [INFO] [stdout] 329 | variable: std::borrow::Cow::Borrowed("x"), [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> qsh/src/op/test.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | variable: "y", [INFO] [stdout] | ^^^ expected `Cow<'_, str>`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed` [INFO] [stdout] | [INFO] [stdout] 334 | variable: std::borrow::Cow::Borrowed("y"), [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> qsh/src/op/test.rs:365:16 [INFO] [stdout] | [INFO] [stdout] 365 | variable: "x", [INFO] [stdout] | ^^^ expected `Cow<'_, str>`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed` [INFO] [stdout] | [INFO] [stdout] 365 | variable: std::borrow::Cow::Borrowed("x"), [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> qsh/src/op/test.rs:370:16 [INFO] [stdout] | [INFO] [stdout] 370 | variable: "y", [INFO] [stdout] | ^^^ expected `Cow<'_, str>`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed` [INFO] [stdout] | [INFO] [stdout] 370 | variable: std::borrow::Cow::Borrowed("y"), [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> qsh/src/op/test.rs:405:15 [INFO] [stdout] | [INFO] [stdout] 405 | variable: "x", [INFO] [stdout] | ^^^ expected `Cow<'_, str>`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed` [INFO] [stdout] | [INFO] [stdout] 405 | variable: std::borrow::Cow::Borrowed("x"), [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> qsh/src/op/test.rs:435:16 [INFO] [stdout] | [INFO] [stdout] 435 | variable: "x", [INFO] [stdout] | ^^^ expected `Cow<'_, str>`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed` [INFO] [stdout] | [INFO] [stdout] 435 | variable: std::borrow::Cow::Borrowed("x"), [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> qsh/src/op/test.rs:440:16 [INFO] [stdout] | [INFO] [stdout] 440 | variable: "y", [INFO] [stdout] | ^^^ expected `Cow<'_, str>`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed` [INFO] [stdout] | [INFO] [stdout] 440 | variable: std::borrow::Cow::Borrowed("y"), [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> qsh/src/op/test.rs:476:16 [INFO] [stdout] | [INFO] [stdout] 476 | variable: "x", [INFO] [stdout] | ^^^ expected `Cow<'_, str>`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed` [INFO] [stdout] | [INFO] [stdout] 476 | variable: std::borrow::Cow::Borrowed("x"), [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> qsh/src/op/test.rs:481:16 [INFO] [stdout] | [INFO] [stdout] 481 | variable: "y", [INFO] [stdout] | ^^^ expected `Cow<'_, str>`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed` [INFO] [stdout] | [INFO] [stdout] 481 | variable: std::borrow::Cow::Borrowed("y"), [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> qsh/src/op/test.rs:486:16 [INFO] [stdout] | [INFO] [stdout] 486 | variable: "z", [INFO] [stdout] | ^^^ expected `Cow<'_, str>`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed` [INFO] [stdout] | [INFO] [stdout] 486 | variable: std::borrow::Cow::Borrowed("z"), [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stack_alloc_zeroed` is never used [INFO] [stdout] --> qsh/src/jit/x64/stack.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 8 | / impl<'a, F> X64Compiler<'a, F> [INFO] [stdout] 9 | | where [INFO] [stdout] 10 | | F: Fn(&str) -> Option, [INFO] [stdout] | |_____________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub(super) fn stack_alloc_zeroed(&mut self, size: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> qsh/src/runtime/pipe.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | Box::from_raw(self.inner.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = Box::from_raw(self.inner.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking qsh_shell v0.1.0 (/opt/rustwide/workdir/shell) [INFO] [stdout] error: aborting due to 15 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qsh` (lib test) due to 16 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "786eccc54bdcb55ae7a8315f868e33aa97fbb7b22fd2850564275e4189da0c8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "786eccc54bdcb55ae7a8315f868e33aa97fbb7b22fd2850564275e4189da0c8f", kill_on_drop: false }` [INFO] [stdout] 786eccc54bdcb55ae7a8315f868e33aa97fbb7b22fd2850564275e4189da0c8f