[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#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemindiro%2Fqsh" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Demindiro/qsh on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-0-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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 iced-x86 v1.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e8c95320382b7a10365998f520af374a0f1d548e97e48f768f04644a255f00f [INFO] running `Command { std: "docker" "start" "-a" "3e8c95320382b7a10365998f520af374a0f1d548e97e48f768f04644a255f00f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e8c95320382b7a10365998f520af374a0f1d548e97e48f768f04644a255f00f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e8c95320382b7a10365998f520af374a0f1d548e97e48f768f04644a255f00f", kill_on_drop: false }` [INFO] [stdout] 3e8c95320382b7a10365998f520af374a0f1d548e97e48f768f04644a255f00f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ece16c70473ddf03ef2437119ed19b6202eeeff6a606cf77ed4de99ae276c288 [INFO] running `Command { std: "docker" "start" "-a" "ece16c70473ddf03ef2437119ed19b6202eeeff6a606cf77ed4de99ae276c288", 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 syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [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] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> qsh/src/jit/x64/function.rs:395:4 [INFO] [stdout] | [INFO] [stdout] 395 | / asm!( [INFO] [stdout] 396 | | " [INFO] [stdout] 397 | | # Preserve original stack pointer [INFO] [stdout] 398 | | push rbp [INFO] [stdout] ... | [INFO] [stdout] 413 | | options(noreturn) [INFO] [stdout] 414 | | ) [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> qsh/src/jit/x64/function.rs:395:4 [INFO] [stdout] | [INFO] [stdout] 395 | / asm!( [INFO] [stdout] 396 | | " [INFO] [stdout] 397 | | # Preserve original stack pointer [INFO] [stdout] 398 | | push rbp [INFO] [stdout] ... | [INFO] [stdout] 413 | | options(noreturn) [INFO] [stdout] 414 | | ) [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [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] For more information about this error, try `rustc --explain E0787`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qsh` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0787. [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 [INFO] running `Command { std: "docker" "inspect" "ece16c70473ddf03ef2437119ed19b6202eeeff6a606cf77ed4de99ae276c288", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ece16c70473ddf03ef2437119ed19b6202eeeff6a606cf77ed4de99ae276c288", kill_on_drop: false }` [INFO] [stdout] ece16c70473ddf03ef2437119ed19b6202eeeff6a606cf77ed4de99ae276c288