[INFO] cloning repository https://github.com/tarberd/toy-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tarberd/toy-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftarberd%2Ftoy-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftarberd%2Ftoy-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b56542a18e85b31e525cc8320ecc1aa8c60fbbc [INFO] checking tarberd/toy-compiler against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftarberd%2Ftoy-compiler" "/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/tarberd/toy-compiler [INFO] finished tweaking git repo https://github.com/tarberd/toy-compiler [INFO] tweaked toml for git repo https://github.com/tarberd/toy-compiler written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tarberd/toy-compiler on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tarberd/toy-compiler 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efe33270a8527051de221e6a899aae59298ae65a47b2023557593a6d5fce0581 [INFO] running `Command { std: "docker" "start" "-a" "efe33270a8527051de221e6a899aae59298ae65a47b2023557593a6d5fce0581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efe33270a8527051de221e6a899aae59298ae65a47b2023557593a6d5fce0581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efe33270a8527051de221e6a899aae59298ae65a47b2023557593a6d5fce0581", kill_on_drop: false }` [INFO] [stdout] efe33270a8527051de221e6a899aae59298ae65a47b2023557593a6d5fce0581 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7499f6a30fba8aaee22f21c69e76985db6d7c12391f406f52832bfe96163aae0 [INFO] running `Command { std: "docker" "start" "-a" "7499f6a30fba8aaee22f21c69e76985db6d7c12391f406f52832bfe96163aae0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking toy-lexer v0.1.0 (/opt/rustwide/workdir/toy-lexer) [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling lalrpop-util v0.18.1 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling llvm-sys v110.0.0 [INFO] [stderr] Checking structopt v0.3.14 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling lalrpop v0.18.1 [INFO] [stderr] Compiling toy-parser v0.1.0 (/opt/rustwide/workdir/toy-parser) [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> toy-parser/src/typecheck.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::{self, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> toy-parser/src/typecheck.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::{self, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `I32` found for enum `ast::Type` in the current scope [INFO] [stdout] --> toy-parser/src/environment_builder.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | Some(&Type::I32) [INFO] [stdout] | ^^^ variant or associated item not found in `ast::Type` [INFO] [stdout] | [INFO] [stdout] ::: toy-parser/src/ast.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Type { [INFO] [stdout] | ------------- variant or associated item `I32` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Void` found for enum `ast::Type` in the current scope [INFO] [stdout] --> toy-parser/src/environment_builder.rs:222:45 [INFO] [stdout] | [INFO] [stdout] 222 | return_type: Box::new(Type::Void), [INFO] [stdout] | ^^^^ variant or associated item not found in `ast::Type` [INFO] [stdout] | [INFO] [stdout] ::: toy-parser/src/ast.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Type { [INFO] [stdout] | ------------- variant or associated item `Void` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Void` found for enum `ast::Type` in the current scope [INFO] [stdout] --> toy-parser/src/environment_builder.rs:230:45 [INFO] [stdout] | [INFO] [stdout] 230 | return_type: Box::new(Type::Void), [INFO] [stdout] | ^^^^ variant or associated item not found in `ast::Type` [INFO] [stdout] | [INFO] [stdout] ::: toy-parser/src/ast.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Type { [INFO] [stdout] | ------------- variant or associated item `Void` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `I32` found for enum `ast::Type` in the current scope [INFO] [stdout] --> toy-parser/src/environment_builder.rs:237:40 [INFO] [stdout] | [INFO] [stdout] 237 | parameters: vec![Type::I32, Type::I32], [INFO] [stdout] | ^^^ variant or associated item not found in `ast::Type` [INFO] [stdout] | [INFO] [stdout] ::: toy-parser/src/ast.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Type { [INFO] [stdout] | ------------- variant or associated item `I32` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `I32` found for enum `ast::Type` in the current scope [INFO] [stdout] --> toy-parser/src/environment_builder.rs:237:51 [INFO] [stdout] | [INFO] [stdout] 237 | parameters: vec![Type::I32, Type::I32], [INFO] [stdout] | ^^^ variant or associated item not found in `ast::Type` [INFO] [stdout] | [INFO] [stdout] ::: toy-parser/src/ast.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Type { [INFO] [stdout] | ------------- variant or associated item `I32` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `I32` found for enum `ast::Type` in the current scope [INFO] [stdout] --> toy-parser/src/environment_builder.rs:238:45 [INFO] [stdout] | [INFO] [stdout] 238 | return_type: Box::new(Type::I32), [INFO] [stdout] | ^^^ variant or associated item not found in `ast::Type` [INFO] [stdout] | [INFO] [stdout] ::: toy-parser/src/ast.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Type { [INFO] [stdout] | ------------- variant or associated item `I32` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_statement` [INFO] [stdout] --> toy-parser/src/environment_builder.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | return_statement: &ReturnStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_statement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_statement` [INFO] [stdout] --> toy-parser/src/environment_builder.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | return_statement: &ReturnStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_statement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `toy-parser` (lib test) due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7499f6a30fba8aaee22f21c69e76985db6d7c12391f406f52832bfe96163aae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7499f6a30fba8aaee22f21c69e76985db6d7c12391f406f52832bfe96163aae0", kill_on_drop: false }` [INFO] [stdout] 7499f6a30fba8aaee22f21c69e76985db6d7c12391f406f52832bfe96163aae0