[INFO] cloning repository https://github.com/zachlambert/c-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zachlambert/c-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachlambert%2Fc-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachlambert%2Fc-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 408d419db37807a2d2f2733d81f3ae005daad9f7 [INFO] testing zachlambert/c-compiler against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachlambert%2Fc-compiler" "/workspace/builds/worker-103/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-103/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zachlambert/c-compiler on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zachlambert/c-compiler [INFO] finished tweaking git repo https://github.com/zachlambert/c-compiler [INFO] tweaked toml for git repo https://github.com/zachlambert/c-compiler written to /workspace/builds/worker-103/source/Cargo.toml [INFO] crate git repo https://github.com/zachlambert/c-compiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b4d002f4e2b5e4cf3f820e9c15664aaef8cdba1c0827f57d36db454837acb06 [INFO] running `Command { std: "docker" "start" "-a" "8b4d002f4e2b5e4cf3f820e9c15664aaef8cdba1c0827f57d36db454837acb06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b4d002f4e2b5e4cf3f820e9c15664aaef8cdba1c0827f57d36db454837acb06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b4d002f4e2b5e4cf3f820e9c15664aaef8cdba1c0827f57d36db454837acb06", kill_on_drop: false }` [INFO] [stdout] 8b4d002f4e2b5e4cf3f820e9c15664aaef8cdba1c0827f57d36db454837acb06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07691def41e4d545e3227de3fc80beffc9c5e6c889ef4b697e1ced7e78ccd192 [INFO] running `Command { std: "docker" "start" "-a" "07691def41e4d545e3227de3fc80beffc9c5e6c889ef4b697e1ced7e78ccd192", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling bitflags v1.3.1 [INFO] [stderr] Compiling compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `rhs_datatype_i` [INFO] [stdout] --> src/generator/generate/expression.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | let (rhs_symbol, rhs_datatype_i) = generate_expression_rvalue(generator); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rhs_datatype_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/generator/generate/datatype.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn generate_return_set(generator: &mut Generator, symbol: &Symbol, return_index: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/generator/generate/datatype.rs:33:55 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn generate_return_set(generator: &mut Generator, symbol: &Symbol, return_index: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_index` [INFO] [stdout] --> src/generator/generate/datatype.rs:33:72 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn generate_return_set(generator: &mut Generator, symbol: &Symbol, return_index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_tokens` [INFO] [stdout] --> src/lexer/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn print_tokens(tokens: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sub` [INFO] [stdout] --> src/generator/instructions.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `ALUOp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Equal` [INFO] [stdout] --> src/generator/instructions.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Condition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LessThan` [INFO] [stdout] --> src/generator/instructions.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Condition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Load` [INFO] [stdout] --> src/generator/instructions.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | Load, // Move Mem[src] -> dst [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SetReturned` [INFO] [stdout] --> src/generator/instructions.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | SetReturned, // Move symbol -> returned(location) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Jump` [INFO] [stdout] --> src/generator/instructions.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | Jump, // Unconditional jump to a label [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Branch` [INFO] [stdout] --> src/generator/instructions.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Branch(Condition), // Jump to label if Condition(RegA, RegB) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/generator/instructions.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Call, // Call procedure [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int` [INFO] [stdout] --> src/generator/instructions.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | Int(i64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Constant` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/generator/instructions.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | Float(f64), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Constant` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Constant` [INFO] [stdout] --> src/generator/instructions.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | Constant(Constant), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operand` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/generator/instructions.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | Integer(i64), // Offset or stride [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operand` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_return_datatype` [INFO] [stdout] --> src/generator/generator.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn get_return_datatype(&self, index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Break` [INFO] [stdout] --> src/parser/construct/statement.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Control` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/construct/statement.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Continue` [INFO] [stdout] --> src/parser/construct/statement.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Continue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Control` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/construct/statement.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Conditional` [INFO] [stdout] --> src/parser/construct/statement.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Conditional, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Statement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/construct/statement.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Loop` [INFO] [stdout] --> src/parser/construct/statement.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Loop, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Statement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/construct/statement.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Control` [INFO] [stdout] --> src/parser/construct/statement.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Control(Control), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Statement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/construct/statement.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Block` [INFO] [stdout] --> src/parser/construct/statement.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Statement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/construct/statement.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_return_set` [INFO] [stdout] --> src/generator/generate/datatype.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn generate_return_set(generator: &mut Generator, symbol: &Symbol, return_index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.08s [INFO] running `Command { std: "docker" "inspect" "07691def41e4d545e3227de3fc80beffc9c5e6c889ef4b697e1ced7e78ccd192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07691def41e4d545e3227de3fc80beffc9c5e6c889ef4b697e1ced7e78ccd192", kill_on_drop: false }` [INFO] [stdout] 07691def41e4d545e3227de3fc80beffc9c5e6c889ef4b697e1ced7e78ccd192 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b078cf37ee022d25ac4abad334a94ff263fda47fb86bae666dc63baef9cb17c1 [INFO] running `Command { std: "docker" "start" "-a" "b078cf37ee022d25ac4abad334a94ff263fda47fb86bae666dc63baef9cb17c1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `rhs_datatype_i` [INFO] [stdout] --> src/generator/generate/expression.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | let (rhs_symbol, rhs_datatype_i) = generate_expression_rvalue(generator); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rhs_datatype_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/generator/generate/datatype.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn generate_return_set(generator: &mut Generator, symbol: &Symbol, return_index: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/generator/generate/datatype.rs:33:55 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn generate_return_set(generator: &mut Generator, symbol: &Symbol, return_index: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_index` [INFO] [stdout] --> src/generator/generate/datatype.rs:33:72 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn generate_return_set(generator: &mut Generator, symbol: &Symbol, return_index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_tokens` [INFO] [stdout] --> src/lexer/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn print_tokens(tokens: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sub` [INFO] [stdout] --> src/generator/instructions.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `ALUOp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Equal` [INFO] [stdout] --> src/generator/instructions.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Condition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LessThan` [INFO] [stdout] --> src/generator/instructions.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Condition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Load` [INFO] [stdout] --> src/generator/instructions.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | Load, // Move Mem[src] -> dst [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SetReturned` [INFO] [stdout] --> src/generator/instructions.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | SetReturned, // Move symbol -> returned(location) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Jump` [INFO] [stdout] --> src/generator/instructions.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | Jump, // Unconditional jump to a label [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Branch` [INFO] [stdout] --> src/generator/instructions.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Branch(Condition), // Jump to label if Condition(RegA, RegB) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/generator/instructions.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Call, // Call procedure [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int` [INFO] [stdout] --> src/generator/instructions.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | Int(i64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Constant` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/generator/instructions.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | Float(f64), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Constant` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Constant` [INFO] [stdout] --> src/generator/instructions.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | Constant(Constant), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operand` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/generator/instructions.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | Integer(i64), // Offset or stride [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operand` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generator/instructions.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_return_datatype` [INFO] [stdout] --> src/generator/generator.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn get_return_datatype(&self, index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Break` [INFO] [stdout] --> src/parser/construct/statement.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Control` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/construct/statement.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Continue` [INFO] [stdout] --> src/parser/construct/statement.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Continue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Control` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/construct/statement.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Conditional` [INFO] [stdout] --> src/parser/construct/statement.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Conditional, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Statement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/construct/statement.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Loop` [INFO] [stdout] --> src/parser/construct/statement.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Loop, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Statement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/construct/statement.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Control` [INFO] [stdout] --> src/parser/construct/statement.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Control(Control), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Statement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/construct/statement.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Block` [INFO] [stdout] --> src/parser/construct/statement.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Statement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/construct/statement.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_return_set` [INFO] [stdout] --> src/generator/generate/datatype.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn generate_return_set(generator: &mut Generator, symbol: &Symbol, return_index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.88s [INFO] running `Command { std: "docker" "inspect" "b078cf37ee022d25ac4abad334a94ff263fda47fb86bae666dc63baef9cb17c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b078cf37ee022d25ac4abad334a94ff263fda47fb86bae666dc63baef9cb17c1", kill_on_drop: false }` [INFO] [stdout] b078cf37ee022d25ac4abad334a94ff263fda47fb86bae666dc63baef9cb17c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fe079f789abcbbbac09142cb916c3d848a46d118d554e8f8d3cecc5d68d72b2b [INFO] running `Command { std: "docker" "start" "-a" "fe079f789abcbbbac09142cb916c3d848a46d118d554e8f8d3cecc5d68d72b2b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `rhs_datatype_i` [INFO] [stderr] --> src/generator/generate/expression.rs:124:30 [INFO] [stderr] | [INFO] [stderr] 124 | let (rhs_symbol, rhs_datatype_i) = generate_expression_rvalue(generator); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rhs_datatype_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `generator` [INFO] [stderr] --> src/generator/generate/datatype.rs:33:28 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn generate_return_set(generator: &mut Generator, symbol: &Symbol, return_index: usize) { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `symbol` [INFO] [stderr] --> src/generator/generate/datatype.rs:33:55 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn generate_return_set(generator: &mut Generator, symbol: &Symbol, return_index: usize) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `return_index` [INFO] [stderr] --> src/generator/generate/datatype.rs:33:72 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn generate_return_set(generator: &mut Generator, symbol: &Symbol, return_index: usize) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_index` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `print_tokens` [INFO] [stderr] --> src/lexer/mod.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn print_tokens(tokens: &Vec) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Sub` [INFO] [stderr] --> src/generator/instructions.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | Sub, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `ALUOp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/generator/instructions.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Equal` [INFO] [stderr] --> src/generator/instructions.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | Equal, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Condition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/generator/instructions.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LessThan` [INFO] [stderr] --> src/generator/instructions.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | LessThan, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Condition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/generator/instructions.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Load` [INFO] [stderr] --> src/generator/instructions.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | Load, // Move Mem[src] -> dst [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/generator/instructions.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SetReturned` [INFO] [stderr] --> src/generator/instructions.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | SetReturned, // Move symbol -> returned(location) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/generator/instructions.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Jump` [INFO] [stderr] --> src/generator/instructions.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | Jump, // Unconditional jump to a label [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/generator/instructions.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Branch` [INFO] [stderr] --> src/generator/instructions.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | Branch(Condition), // Jump to label if Condition(RegA, RegB) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/generator/instructions.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Call` [INFO] [stderr] --> src/generator/instructions.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | Call, // Call procedure [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/generator/instructions.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Int` [INFO] [stderr] --> src/generator/instructions.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | Int(i64), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Constant` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/generator/instructions.rs:135:10 [INFO] [stderr] | [INFO] [stderr] 135 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Float` [INFO] [stderr] --> src/generator/instructions.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | Float(f64), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Constant` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/generator/instructions.rs:135:10 [INFO] [stderr] | [INFO] [stderr] 135 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Constant` [INFO] [stderr] --> src/generator/instructions.rs:155:5 [INFO] [stderr] | [INFO] [stderr] 155 | Constant(Constant), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operand` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/generator/instructions.rs:150:10 [INFO] [stderr] | [INFO] [stderr] 150 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Integer` [INFO] [stderr] --> src/generator/instructions.rs:156:5 [INFO] [stderr] | [INFO] [stderr] 156 | Integer(i64), // Offset or stride [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operand` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/generator/instructions.rs:150:10 [INFO] [stderr] | [INFO] [stderr] 150 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_return_datatype` [INFO] [stderr] --> src/generator/generator.rs:242:12 [INFO] [stderr] | [INFO] [stderr] 242 | pub fn get_return_datatype(&self, index: usize) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Break` [INFO] [stderr] --> src/parser/construct/statement.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Break, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Control` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/construct/statement.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Continue` [INFO] [stderr] --> src/parser/construct/statement.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Continue, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Control` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/construct/statement.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Conditional` [INFO] [stderr] --> src/parser/construct/statement.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | Conditional, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Statement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/construct/statement.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Loop` [INFO] [stderr] --> src/parser/construct/statement.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | Loop, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Statement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/construct/statement.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Control` [INFO] [stderr] --> src/parser/construct/statement.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | Control(Control), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Statement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/construct/statement.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Block` [INFO] [stderr] --> src/parser/construct/statement.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | Block, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Statement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/construct/statement.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `generate_return_set` [INFO] [stderr] --> src/generator/generate/datatype.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn generate_return_set(generator: &mut Generator, symbol: &Symbol, return_index: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `compiler` (bin "compiler" test) generated 25 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/compiler-54b80e97c3a7140a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fe079f789abcbbbac09142cb916c3d848a46d118d554e8f8d3cecc5d68d72b2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe079f789abcbbbac09142cb916c3d848a46d118d554e8f8d3cecc5d68d72b2b", kill_on_drop: false }` [INFO] [stdout] fe079f789abcbbbac09142cb916c3d848a46d118d554e8f8d3cecc5d68d72b2b