[INFO] cloning repository https://github.com/agillbraun/clc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/agillbraun/clc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagillbraun%2Fclc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagillbraun%2Fclc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7109a7dd259a6a62807aebc248f6542b0724bea [INFO] testing agillbraun/clc against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagillbraun%2Fclc" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/agillbraun/clc [INFO] finished tweaking git repo https://github.com/agillbraun/clc [INFO] tweaked toml for git repo https://github.com/agillbraun/clc written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/agillbraun/clc on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/agillbraun/clc already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 26b1438ff8ab689fa4d4bc8a03e989e2a84eac0131f02d553acb626ac8f74a2f [INFO] running `Command { std: "docker" "start" "26b1438ff8ab689fa4d4bc8a03e989e2a84eac0131f02d553acb626ac8f74a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26b1438ff8ab689fa4d4bc8a03e989e2a84eac0131f02d553acb626ac8f74a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "26b1438ff8ab689fa4d4bc8a03e989e2a84eac0131f02d553acb626ac8f74a2f" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26b1438ff8ab689fa4d4bc8a03e989e2a84eac0131f02d553acb626ac8f74a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "26b1438ff8ab689fa4d4bc8a03e989e2a84eac0131f02d553acb626ac8f74a2f" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling rustix v0.36.5 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling phf_shared v0.11.1 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_lex v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling is-terminal v0.4.2 [INFO] [stderr] Compiling clap_derive v4.0.21 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling phf_macros v0.11.1 [INFO] [stderr] Compiling phf v0.11.1 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling clap v4.0.32 [INFO] [stderr] Compiling clc v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Width` [INFO] [stdout] --> src/parser.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::value::{Unit, Value, Width}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_value`, `is_identifier`, `is_binary_op`, `is_unary_op`, and `is_rparen` are never used [INFO] [stdout] --> src/lexer.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 17 | pub fn is_value(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn is_identifier(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn is_binary_op(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_unary_op(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn is_rparen(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_float` is never used [INFO] [stdout] --> src/value.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 11 | impl Value { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub const fn new_float(value: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 21.04s [INFO] running `Command { std: "docker" "inspect" "26b1438ff8ab689fa4d4bc8a03e989e2a84eac0131f02d553acb626ac8f74a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "26b1438ff8ab689fa4d4bc8a03e989e2a84eac0131f02d553acb626ac8f74a2f" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling phf_macros v0.11.1 [INFO] [stderr] Compiling test-case-macros v2.2.2 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling clap_derive v4.0.21 [INFO] [stderr] Compiling phf v0.11.1 [INFO] [stderr] Compiling test-case v2.2.2 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling clap v4.0.32 [INFO] [stderr] Compiling clc v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `is_value`, `is_identifier`, `is_binary_op`, `is_unary_op`, and `is_rparen` are never used [INFO] [stdout] --> src/lexer.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 17 | pub fn is_value(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn is_identifier(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn is_binary_op(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_unary_op(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn is_rparen(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 18.05s [INFO] running `Command { std: "docker" "inspect" "26b1438ff8ab689fa4d4bc8a03e989e2a84eac0131f02d553acb626ac8f74a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "26b1438ff8ab689fa4d4bc8a03e989e2a84eac0131f02d553acb626ac8f74a2f" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: methods `is_value`, `is_identifier`, `is_binary_op`, `is_unary_op`, and `is_rparen` are never used [INFO] [stderr] --> src/lexer.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 16 | impl Token { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] 17 | pub fn is_value(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | pub fn is_identifier(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn is_binary_op(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn is_unary_op(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn is_rparen(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `clc` (bin "clc" test) generated 1 warning [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/clc-bd02d25f59cecdac) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test lexer::tests::test_tokenize_float ... ok [INFO] [stdout] test lexer::tests::test_tokenize_integer ... ok [INFO] [stdout] test lexer::tests::test_tokenize_identifier ... ok [INFO] [stdout] test lexer::tests::test_tokenize_unary ... ok [INFO] [stdout] test lexer::tests::test_tokenize_binary ... ok [INFO] [stdout] test parser::tests::test_parse::_1_2_expects_ok_value_new_integer_3_width_u64_ ... ok [INFO] [stdout] test parser::tests::test_parse::_1_5_3_expects_ok_value_new_float_4_5_ ... ok [INFO] [stdout] test parser::tests::test_parse::_1_expects_ok_value_new_integer_1_width_u64_ ... ok [INFO] [stdout] test parser::tests::test_parse::_1_2_3_expects_ok_value_new_integer_9_width_u64_ ... ok [INFO] [stdout] test parser::tests::test_parse::_sin_deg_90_expects_ok_value_new_float_1_0_ ... ok [INFO] [stdout] test parser::tests::test_parse::_3_1_5_expects_ok_value_new_integer_3_width_u64_ ... ok [INFO] [stdout] test parser::tests::test_parse::_expects_ok_value_new_integer_0_width_u64_ ... ok [INFO] [stdout] test parser::tests::test_parse::_u32_1_expects_ok_value_new_integer_1_width_u32_ ... ok [INFO] [stdout] test parser::tests::test_parse::_u32_1_1_expects_ok_value_new_integer_2_width_u32_ ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "26b1438ff8ab689fa4d4bc8a03e989e2a84eac0131f02d553acb626ac8f74a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26b1438ff8ab689fa4d4bc8a03e989e2a84eac0131f02d553acb626ac8f74a2f", kill_on_drop: false }` [INFO] [stdout] 26b1438ff8ab689fa4d4bc8a03e989e2a84eac0131f02d553acb626ac8f74a2f