[INFO] cloning repository https://github.com/feroldi/bitlang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/feroldi/bitlang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fferoldi%2Fbitlang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fferoldi%2Fbitlang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2eea4c4b7b7f7606110744b81adb772d7a69803d [INFO] checking feroldi/bitlang against master#cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fferoldi%2Fbitlang" "/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/feroldi/bitlang on toolchain cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/feroldi/bitlang [INFO] finished tweaking git repo https://github.com/feroldi/bitlang [INFO] tweaked toml for git repo https://github.com/feroldi/bitlang written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/feroldi/bitlang 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" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6190064ca0683d107428652129d0c493777230af34ec3279cb6a363a340790b3 [INFO] running `Command { std: "docker" "start" "-a" "6190064ca0683d107428652129d0c493777230af34ec3279cb6a363a340790b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6190064ca0683d107428652129d0c493777230af34ec3279cb6a363a340790b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6190064ca0683d107428652129d0c493777230af34ec3279cb6a363a340790b3", kill_on_drop: false }` [INFO] [stdout] 6190064ca0683d107428652129d0c493777230af34ec3279cb6a363a340790b3 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32da4b9fa1c1fd8e5b82ec0c9e5062e3ea93c5d7570155bd7608cc4b9c2ab4bc [INFO] running `Command { std: "docker" "start" "-a" "32da4b9fa1c1fd8e5b82ec0c9e5062e3ea93c5d7570155bd7608cc4b9c2ab4bc", kill_on_drop: false }` [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking bumpalo v3.13.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking sophia v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/compiler_context.rs:29:50 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'ctx> CompilerContext { [INFO] [stdout] | ---- lifetime `'ctx` declared here [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) fn get_source_code(&'ctx self) -> &str { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser.rs:12:74 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'ctx> Parser<'ctx> { [INFO] [stdout] | ---- lifetime `'ctx` declared here [INFO] [stdout] 12 | pub(crate) fn new(tokens: Vec, ctx: &'ctx CompilerContext) -> Parser { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/scanner.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn new<'ctx>(ctx: &'ctx CompilerContext) -> Scanner { [INFO] [stdout] | ---- lifetime `'ctx` declared here ^^^^^^^ this elided lifetime gets resolved as `'ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/compiler_context.rs:29:50 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'ctx> CompilerContext { [INFO] [stdout] | ---- lifetime `'ctx` declared here [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) fn get_source_code(&'ctx self) -> &str { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser.rs:12:74 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'ctx> Parser<'ctx> { [INFO] [stdout] | ---- lifetime `'ctx` declared here [INFO] [stdout] 12 | pub(crate) fn new(tokens: Vec, ctx: &'ctx CompilerContext) -> Parser { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/scanner.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn new<'ctx>(ctx: &'ctx CompilerContext) -> Scanner { [INFO] [stdout] | ---- lifetime `'ctx` declared here ^^^^^^^ this elided lifetime gets resolved as `'ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `return_type` and `parameters` are never read [INFO] [stdout] --> src/ast.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) struct Function<'ctx> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 47 | pub(crate) return_type: Type, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | pub(crate) parameters: &'ctx [Param], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `identifier` and `ty` are never read [INFO] [stdout] --> src/ast.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub(crate) struct Param { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 54 | identifier: Symbol, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 55 | ty: Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Param` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/scanner.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 148 | pub(crate) enum TokenKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 149 | UnitConstant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 153 | Excla, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 154 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] 155 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 156 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 157 | Dash, [INFO] [stdout] | ^^^^ [INFO] [stdout] 158 | Less, [INFO] [stdout] | ^^^^ [INFO] [stdout] 159 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 160 | LessLess, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 161 | GreaterGreater, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 162 | LessEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 163 | GreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenKind` 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: fields `return_type` and `parameters` are never read [INFO] [stdout] --> src/ast.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) struct Function<'ctx> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 47 | pub(crate) return_type: Type, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | pub(crate) parameters: &'ctx [Param], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `identifier` and `ty` are never read [INFO] [stdout] --> src/ast.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub(crate) struct Param { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 54 | identifier: Symbol, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 55 | ty: Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Param` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/scanner.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 148 | pub(crate) enum TokenKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 149 | UnitConstant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 153 | Excla, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 154 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] 155 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 156 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 157 | Dash, [INFO] [stdout] | ^^^^ [INFO] [stdout] 158 | Less, [INFO] [stdout] | ^^^^ [INFO] [stdout] 159 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 160 | LessLess, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 161 | GreaterGreater, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 162 | LessEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 163 | GreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "32da4b9fa1c1fd8e5b82ec0c9e5062e3ea93c5d7570155bd7608cc4b9c2ab4bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32da4b9fa1c1fd8e5b82ec0c9e5062e3ea93c5d7570155bd7608cc4b9c2ab4bc", kill_on_drop: false }` [INFO] [stdout] 32da4b9fa1c1fd8e5b82ec0c9e5062e3ea93c5d7570155bd7608cc4b9c2ab4bc