[INFO] cloning repository https://github.com/ohogb/yuio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ohogb/yuio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohogb%2Fyuio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohogb%2Fyuio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9d5198d862c68cecd9bbd05ba451a2c88ea4749 [INFO] checking ohogb/yuio against master#385fa9d845dd326c6bbfd58c22244215e431948a for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohogb%2Fyuio" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ohogb/yuio on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ohogb/yuio [INFO] finished tweaking git repo https://github.com/ohogb/yuio [INFO] tweaked toml for git repo https://github.com/ohogb/yuio written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ohogb/yuio 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5777d51743ec38df0490ed569ecb78cb67bb416e8268353a3593604fcceaf13c [INFO] running `Command { std: "docker" "start" "-a" "5777d51743ec38df0490ed569ecb78cb67bb416e8268353a3593604fcceaf13c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5777d51743ec38df0490ed569ecb78cb67bb416e8268353a3593604fcceaf13c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5777d51743ec38df0490ed569ecb78cb67bb416e8268353a3593604fcceaf13c", kill_on_drop: false }` [INFO] [stdout] 5777d51743ec38df0490ed569ecb78cb67bb416e8268353a3593604fcceaf13c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfef96626fd2a24d2278a65d9c8dc2240e9985a304f7b20831ad1b1a5f3fa1b8 [INFO] running `Command { std: "docker" "start" "-a" "cfef96626fd2a24d2278a65d9c8dc2240e9985a304f7b20831ad1b1a5f3fa1b8", kill_on_drop: false }` [INFO] [stderr] Checking yuio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ast` [INFO] [stdout] --> src/ast/node.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ast, hlir, Result}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast` [INFO] [stdout] --> src/ast/node.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ast, hlir, Result}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ast/integer.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | fn define_functions(&self, ctx: &mut hlir::Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ast/integer.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | fn generate(&self, ctx: &mut hlir::Context) -> Result { [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/ast/parameter_definition.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | fn define_functions(&self, ctx: &mut hlir::Context) {} [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/ast/variable_lookup.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | fn define_functions(&self, ctx: &mut hlir::Context) {} [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/ast/integer.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | fn define_functions(&self, ctx: &mut hlir::Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ast/integer.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | fn generate(&self, ctx: &mut hlir::Context) -> Result { [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/ast/parameter_definition.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | fn define_functions(&self, ctx: &mut hlir::Context) {} [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/ast/variable_lookup.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | fn define_functions(&self, ctx: &mut hlir::Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/ast/binary_operation.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BinaryOperation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperation` 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] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/ast/call.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Call { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Call` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `location` and `return_type` are never read [INFO] [stdout] --> src/ast/function_definition.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct FunctionDefinition { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | return_type: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDefinition` 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 `location` is never read [INFO] [stdout] --> src/ast/if.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct If { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `If` 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 `location` is never read [INFO] [stdout] --> src/ast/integer.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Integer { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Integer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `location` and `typ` are never read [INFO] [stdout] --> src/ast/parameter_definition.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ParameterDefinition { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | name: String, [INFO] [stdout] 7 | typ: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParameterDefinition` 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 `location` is never read [INFO] [stdout] --> src/ast/return.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Return { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Return` 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 `location` is never read [INFO] [stdout] --> src/ast/scope.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` 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 `location` is never read [INFO] [stdout] --> src/ast/variable_definition.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VariableDefinition { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableDefinition` 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 `location` is never read [INFO] [stdout] --> src/ast/variable_lookup.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VariableLookup { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableLookup` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `munmap` is never used [INFO] [stdout] --> src/x86_64/executable.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn munmap(ptr: *mut u8, size: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/x86_64/executable.rs:40:2 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Executable { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 39 | ptr: *mut u8, [INFO] [stdout] 40 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/ast/binary_operation.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BinaryOperation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperation` 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] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/ast/call.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Call { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Call` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `location` and `return_type` are never read [INFO] [stdout] --> src/ast/function_definition.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct FunctionDefinition { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | return_type: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDefinition` 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 `location` is never read [INFO] [stdout] --> src/ast/if.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct If { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `If` 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 `location` is never read [INFO] [stdout] --> src/ast/integer.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Integer { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Integer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `location` and `typ` are never read [INFO] [stdout] --> src/ast/parameter_definition.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ParameterDefinition { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | name: String, [INFO] [stdout] 7 | typ: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParameterDefinition` 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 `location` is never read [INFO] [stdout] --> src/ast/return.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Return { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Return` 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 `location` is never read [INFO] [stdout] --> src/ast/scope.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` 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 `location` is never read [INFO] [stdout] --> src/ast/variable_definition.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VariableDefinition { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableDefinition` 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 `location` is never read [INFO] [stdout] --> src/ast/variable_lookup.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VariableLookup { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableLookup` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `munmap` is never used [INFO] [stdout] --> src/x86_64/executable.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn munmap(ptr: *mut u8, size: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/x86_64/executable.rs:40:2 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Executable { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 39 | ptr: *mut u8, [INFO] [stdout] 40 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "cfef96626fd2a24d2278a65d9c8dc2240e9985a304f7b20831ad1b1a5f3fa1b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfef96626fd2a24d2278a65d9c8dc2240e9985a304f7b20831ad1b1a5f3fa1b8", kill_on_drop: false }` [INFO] [stdout] cfef96626fd2a24d2278a65d9c8dc2240e9985a304f7b20831ad1b1a5f3fa1b8 [INFO] checking ohogb/yuio against try#2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohogb%2Fyuio" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ohogb/yuio on toolchain 2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ohogb/yuio [INFO] finished tweaking git repo https://github.com/ohogb/yuio [INFO] tweaked toml for git repo https://github.com/ohogb/yuio written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ohogb/yuio 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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39cf2cb5f7e0013dfd51435ff505286b07909b2dd57481a995dc7da821c3ddd8 [INFO] running `Command { std: "docker" "start" "-a" "39cf2cb5f7e0013dfd51435ff505286b07909b2dd57481a995dc7da821c3ddd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39cf2cb5f7e0013dfd51435ff505286b07909b2dd57481a995dc7da821c3ddd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39cf2cb5f7e0013dfd51435ff505286b07909b2dd57481a995dc7da821c3ddd8", kill_on_drop: false }` [INFO] [stdout] 39cf2cb5f7e0013dfd51435ff505286b07909b2dd57481a995dc7da821c3ddd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25db9bd1d008c05144a3be1ec81b387e77b8ccbb94d95f8c3ee829f6196261b7 [INFO] running `Command { std: "docker" "start" "-a" "25db9bd1d008c05144a3be1ec81b387e77b8ccbb94d95f8c3ee829f6196261b7", kill_on_drop: false }` [INFO] [stderr] Checking yuio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ast` [INFO] [stdout] --> src/ast/node.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ast, hlir, Result}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast` [INFO] [stdout] --> src/ast/node.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ast, hlir, Result}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ast/integer.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | fn define_functions(&self, ctx: &mut hlir::Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ast/integer.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | fn generate(&self, ctx: &mut hlir::Context) -> Result { [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/ast/parameter_definition.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | fn define_functions(&self, ctx: &mut hlir::Context) {} [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/ast/variable_lookup.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | fn define_functions(&self, ctx: &mut hlir::Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/ast/binary_operation.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BinaryOperation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperation` 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] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/ast/call.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Call { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Call` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `location` and `return_type` are never read [INFO] [stdout] --> src/ast/function_definition.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct FunctionDefinition { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | return_type: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDefinition` 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 `location` is never read [INFO] [stdout] --> src/ast/if.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct If { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `If` 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 `location` is never read [INFO] [stdout] --> src/ast/integer.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Integer { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Integer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `location` and `typ` are never read [INFO] [stdout] --> src/ast/parameter_definition.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ParameterDefinition { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | name: String, [INFO] [stdout] 7 | typ: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParameterDefinition` 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 `location` is never read [INFO] [stdout] --> src/ast/return.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Return { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Return` 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 `location` is never read [INFO] [stdout] --> src/ast/scope.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` 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 `location` is never read [INFO] [stdout] --> src/ast/variable_definition.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VariableDefinition { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableDefinition` 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 `location` is never read [INFO] [stdout] --> src/ast/variable_lookup.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VariableLookup { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableLookup` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `munmap` is never used [INFO] [stdout] --> src/x86_64/executable.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn munmap(ptr: *mut u8, size: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/x86_64/executable.rs:40:2 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Executable { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 39 | ptr: *mut u8, [INFO] [stdout] 40 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ast/integer.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | fn define_functions(&self, ctx: &mut hlir::Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ast/integer.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | fn generate(&self, ctx: &mut hlir::Context) -> Result { [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/ast/parameter_definition.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | fn define_functions(&self, ctx: &mut hlir::Context) {} [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/ast/variable_lookup.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | fn define_functions(&self, ctx: &mut hlir::Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/ast/binary_operation.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BinaryOperation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperation` 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] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/ast/call.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Call { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Call` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `location` and `return_type` are never read [INFO] [stdout] --> src/ast/function_definition.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct FunctionDefinition { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | return_type: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDefinition` 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 `location` is never read [INFO] [stdout] --> src/ast/if.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct If { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `If` 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 `location` is never read [INFO] [stdout] --> src/ast/integer.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Integer { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Integer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `location` and `typ` are never read [INFO] [stdout] --> src/ast/parameter_definition.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ParameterDefinition { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | name: String, [INFO] [stdout] 7 | typ: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParameterDefinition` 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 `location` is never read [INFO] [stdout] --> src/ast/return.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Return { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Return` 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 `location` is never read [INFO] [stdout] --> src/ast/scope.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` 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 `location` is never read [INFO] [stdout] --> src/ast/variable_definition.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VariableDefinition { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableDefinition` 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 `location` is never read [INFO] [stdout] --> src/ast/variable_lookup.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VariableLookup { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 5 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableLookup` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `munmap` is never used [INFO] [stdout] --> src/x86_64/executable.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn munmap(ptr: *mut u8, size: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/x86_64/executable.rs:40:2 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Executable { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 39 | ptr: *mut u8, [INFO] [stdout] 40 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "25db9bd1d008c05144a3be1ec81b387e77b8ccbb94d95f8c3ee829f6196261b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25db9bd1d008c05144a3be1ec81b387e77b8ccbb94d95f8c3ee829f6196261b7", kill_on_drop: false }` [INFO] [stdout] 25db9bd1d008c05144a3be1ec81b387e77b8ccbb94d95f8c3ee829f6196261b7