[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 beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachlambert%2Fc-compiler" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zachlambert/c-compiler on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-10/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" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cee15a801da7693ca19ace57168efc53e22a49800ed3b163d22ffd6e6ea86691 [INFO] running `Command { std: "docker" "start" "-a" "cee15a801da7693ca19ace57168efc53e22a49800ed3b163d22ffd6e6ea86691", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cee15a801da7693ca19ace57168efc53e22a49800ed3b163d22ffd6e6ea86691", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cee15a801da7693ca19ace57168efc53e22a49800ed3b163d22ffd6e6ea86691", kill_on_drop: false }` [INFO] [stdout] cee15a801da7693ca19ace57168efc53e22a49800ed3b163d22ffd6e6ea86691 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef2f6aaaa45263ce25fb133b901c4ac9597216d687d689b6be2f592fe359d9ba [INFO] running `Command { std: "docker" "start" "-a" "ef2f6aaaa45263ce25fb133b901c4ac9597216d687d689b6be2f592fe359d9ba", kill_on_drop: false }` [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 0.72s [INFO] running `Command { std: "docker" "inspect" "ef2f6aaaa45263ce25fb133b901c4ac9597216d687d689b6be2f592fe359d9ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef2f6aaaa45263ce25fb133b901c4ac9597216d687d689b6be2f592fe359d9ba", kill_on_drop: false }` [INFO] [stdout] ef2f6aaaa45263ce25fb133b901c4ac9597216d687d689b6be2f592fe359d9ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b04930420a9615658a5ad8d810603ea7b47eabdfc1c5ef53f4ba2bcf69b1dc4 [INFO] running `Command { std: "docker" "start" "-a" "7b04930420a9615658a5ad8d810603ea7b47eabdfc1c5ef53f4ba2bcf69b1dc4", kill_on_drop: false }` [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 0.42s [INFO] running `Command { std: "docker" "inspect" "7b04930420a9615658a5ad8d810603ea7b47eabdfc1c5ef53f4ba2bcf69b1dc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b04930420a9615658a5ad8d810603ea7b47eabdfc1c5ef53f4ba2bcf69b1dc4", kill_on_drop: false }` [INFO] [stdout] 7b04930420a9615658a5ad8d810603ea7b47eabdfc1c5ef53f4ba2bcf69b1dc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5519d106a66efacc3d60bec14fabf97ffb10a4a979283ccb739592261c115467 [INFO] running `Command { std: "docker" "start" "-a" "5519d106a66efacc3d60bec14fabf97ffb10a4a979283ccb739592261c115467", 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.48s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/compiler-b7946802ad55b8e3) [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" "5519d106a66efacc3d60bec14fabf97ffb10a4a979283ccb739592261c115467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5519d106a66efacc3d60bec14fabf97ffb10a4a979283ccb739592261c115467", kill_on_drop: false }` [INFO] [stdout] 5519d106a66efacc3d60bec14fabf97ffb10a4a979283ccb739592261c115467