[INFO] cloning repository https://github.com/TheOnlyMrCat/lok-r4 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheOnlyMrCat/lok-r4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheOnlyMrCat%2Flok-r4", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheOnlyMrCat%2Flok-r4'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87ee9289be9dac554abd8d4b35044635d57c0819 [INFO] checking TheOnlyMrCat/lok-r4/87ee9289be9dac554abd8d4b35044635d57c0819 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheOnlyMrCat%2Flok-r4" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheOnlyMrCat/lok-r4 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/TheOnlyMrCat/lok-r4 [INFO] finished tweaking git repo https://github.com/TheOnlyMrCat/lok-r4 [INFO] tweaked toml for git repo https://github.com/TheOnlyMrCat/lok-r4 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TheOnlyMrCat/lok-r4 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unique_id v0.1.3 [INFO] [stderr] Downloaded parking_lot_core v0.8.1 [INFO] [stderr] Downloaded atomic_refcell v0.1.7 [INFO] [stderr] Downloaded blob-uuid v0.4.0 [INFO] [stderr] Downloaded llvm-sys v100.2.0 [INFO] [stderr] Downloaded smallvec v1.5.1 [INFO] [stderr] Downloaded lalrpop-util v0.19.5 [INFO] [stderr] Downloaded inkwell_internals v0.2.0 [INFO] [stderr] Downloaded inkwell v0.1.0-llvm10sample [INFO] [stderr] Downloaded syn v1.0.54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13e6bc9b1ff7b82f2644dc439152822f13b8f7b7161d2c7d9743122de0b3f8bf [INFO] running `Command { std: "docker" "start" "-a" "13e6bc9b1ff7b82f2644dc439152822f13b8f7b7161d2c7d9743122de0b3f8bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13e6bc9b1ff7b82f2644dc439152822f13b8f7b7161d2c7d9743122de0b3f8bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13e6bc9b1ff7b82f2644dc439152822f13b8f7b7161d2c7d9743122de0b3f8bf", kill_on_drop: false }` [INFO] [stdout] 13e6bc9b1ff7b82f2644dc439152822f13b8f7b7161d2c7d9743122de0b3f8bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a95bb7caf0e0ae83195b09f9322d4b0bf2c86b1c0de22f988754fdc8486ccc07 [INFO] running `Command { std: "docker" "start" "-a" "a95bb7caf0e0ae83195b09f9322d4b0bf2c86b1c0de22f988754fdc8486ccc07", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Compiling inkwell v0.1.0-llvm10sample [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling lok v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking atomic_refcell v0.1.7 [INFO] [stderr] Checking lalrpop-util v0.19.5 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking parking_lot_core v0.8.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking blob-uuid v0.4.0 [INFO] [stderr] Checking unique_id v0.1.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling llvm-sys v100.2.0 [INFO] [stderr] Compiling inkwell_internals v0.2.0 [INFO] [stdout] warning: unused import: `Either` [INFO] [stdout] --> src/codegen/lir.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use either::{Either, Left, Right}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Either` [INFO] [stdout] --> src/codegen/lir.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use either::{Either, Left, Right}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codegen/ast.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | Decl(Decl), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TopLevelDecl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Decl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `external`, `ty`, and `path` are never read [INFO] [stdout] --> src/codegen/ast.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Use { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 14 | pub external: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub ty: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | pub path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Use` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codegen/ast.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | Use(Use) [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Decl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | Use(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/codegen/lir.rs:565:2 [INFO] [stdout] | [INFO] [stdout] 564 | struct LoopBreak { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 565 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/error.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct LIRError { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | pub ty: LIRErrorType [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `LIRError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codegen/ast.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | Decl(Decl), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TopLevelDecl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Decl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `external`, `ty`, and `path` are never read [INFO] [stdout] --> src/codegen/ast.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Use { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 14 | pub external: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub ty: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | pub path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Use` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codegen/ast.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | Use(Use) [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Decl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | Use(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/codegen/lir.rs:565:2 [INFO] [stdout] | [INFO] [stdout] 564 | struct LoopBreak { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 565 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/error.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct LIRError { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | pub ty: LIRErrorType [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `LIRError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `#[link]` argument, expected one of: name, kind, modifiers, cfg, wasm_import_module, import_name_type [INFO] [stdout] --> src/lexer.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | #[link(name="lexer", link="static")] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `#[link]` argument, expected one of: name, kind, modifiers, cfg, wasm_import_module, import_name_type [INFO] [stdout] --> src/lexer.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | #[link(name="lexer", link="static")] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lok` (bin "lok") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lok` (bin "lok" test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a95bb7caf0e0ae83195b09f9322d4b0bf2c86b1c0de22f988754fdc8486ccc07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a95bb7caf0e0ae83195b09f9322d4b0bf2c86b1c0de22f988754fdc8486ccc07", kill_on_drop: false }` [INFO] [stdout] a95bb7caf0e0ae83195b09f9322d4b0bf2c86b1c0de22f988754fdc8486ccc07