[INFO] cloning repository https://github.com/archseer/comet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/archseer/comet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farchseer%2Fcomet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farchseer%2Fcomet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f64ca8e135e2cecb88f0644c3cc5822a5b3ac3c3 [INFO] checking archseer/comet/f64ca8e135e2cecb88f0644c3cc5822a5b3ac3c3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farchseer%2Fcomet" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/archseer/comet on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/archseer/comet [INFO] finished tweaking git repo https://github.com/archseer/comet [INFO] tweaked toml for git repo https://github.com/archseer/comet written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/archseer/comet 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/TheDan64/inkwell` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt v0.3.1 [INFO] [stderr] Downloaded lalrpop-util v0.17.2 [INFO] [stderr] Downloaded structopt-derive v0.3.1 [INFO] [stderr] Downloaded cargo_toml v0.6.4 [INFO] [stderr] Downloaded codespan v0.4.1 [INFO] [stderr] Downloaded enum-methods v0.0.8 [INFO] [stderr] Downloaded cranelift-entity v0.40.0 [INFO] [stderr] Downloaded ena v0.13.0 [INFO] [stderr] Downloaded toolshed v0.8.1 [INFO] [stderr] Downloaded codespan-reporting v0.4.1 [INFO] [stderr] Downloaded sized-chunks v0.3.1 [INFO] [stderr] Downloaded llvm-sys v80.1.1 [INFO] [stderr] Downloaded err-derive v0.1.5 [INFO] [stderr] Downloaded im v13.0.0 [INFO] [stderr] Downloaded ctor v0.1.10 [INFO] [stderr] Downloaded lalrpop v0.17.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78f4944425d51a17b203fe26a1feba81a4eb0abddd8dfbeb777e25e056b1da16 [INFO] running `Command { std: "docker" "start" "-a" "78f4944425d51a17b203fe26a1feba81a4eb0abddd8dfbeb777e25e056b1da16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78f4944425d51a17b203fe26a1feba81a4eb0abddd8dfbeb777e25e056b1da16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78f4944425d51a17b203fe26a1feba81a4eb0abddd8dfbeb777e25e056b1da16", kill_on_drop: false }` [INFO] [stdout] 78f4944425d51a17b203fe26a1feba81a4eb0abddd8dfbeb777e25e056b1da16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e74b2b02092e9616b6e7ce485cd2b0b0ba61c87b127c4429888c944fd4450112 [INFO] running `Command { std: "docker" "start" "-a" "e74b2b02092e9616b6e7ce485cd2b0b0ba61c87b127c4429888c944fd4450112", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling proc-macro2 v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling rand_os v0.1.3 [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 siphasher v0.2.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling strsim v0.9.2 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling ena v0.13.0 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling diff v0.1.11 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Compiling err-derive v0.1.5 [INFO] [stderr] Checking unicode-segmentation v1.3.0 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Checking toolshed v0.8.1 [INFO] [stderr] Checking codespan v0.4.1 [INFO] [stderr] Checking codespan-reporting v0.4.1 [INFO] [stderr] Compiling cc v1.0.42 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking cranelift-entity v0.40.0 [INFO] [stderr] Compiling inkwell v0.1.0 (https://github.com/TheDan64/inkwell?branch=llvm8-0#d0f5c1e1) [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling im v13.0.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling llvm-sys v80.1.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling enum-methods v0.0.8 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling structopt-derive v0.3.1 [INFO] [stderr] Checking sized-chunks v0.3.1 [INFO] [stderr] Checking structopt v0.3.1 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling lalrpop v0.17.2 [INFO] [stderr] Compiling cargo_toml v0.6.4 [INFO] [stderr] Compiling inkwell_internal_macros v0.1.0 (https://github.com/TheDan64/inkwell?branch=llvm8-0#d0f5c1e1) [INFO] [stderr] Compiling comet_parser v0.1.0 (/opt/rustwide/workdir/parser) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LexerError`, `Spanned`, and `self` [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | lexer::{Token, LexerError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | diagnostics::{self, Spanned}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12313:5 [INFO] [stdout] | [INFO] [stdout] 12313 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12313 - (__0) [INFO] [stdout] 12313 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12324:5 [INFO] [stdout] | [INFO] [stdout] 12324 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12324 - (__0) [INFO] [stdout] 12324 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12335:5 [INFO] [stdout] | [INFO] [stdout] 12335 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12335 - (__0) [INFO] [stdout] 12335 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12438:5 [INFO] [stdout] | [INFO] [stdout] 12438 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12438 - (__0) [INFO] [stdout] 12438 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12469:5 [INFO] [stdout] | [INFO] [stdout] 12469 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12469 - (__0) [INFO] [stdout] 12469 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12537:5 [INFO] [stdout] | [INFO] [stdout] 12537 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12537 - (__0) [INFO] [stdout] 12537 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12548:5 [INFO] [stdout] | [INFO] [stdout] 12548 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12548 - (__0) [INFO] [stdout] 12548 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12559:5 [INFO] [stdout] | [INFO] [stdout] 12559 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12559 - (__0) [INFO] [stdout] 12559 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12570:5 [INFO] [stdout] | [INFO] [stdout] 12570 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12570 - (__0) [INFO] [stdout] 12570 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12616:5 [INFO] [stdout] | [INFO] [stdout] 12616 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12616 - (__0) [INFO] [stdout] 12616 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12627:5 [INFO] [stdout] | [INFO] [stdout] 12627 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12627 - (__0) [INFO] [stdout] 12627 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12638:5 [INFO] [stdout] | [INFO] [stdout] 12638 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12638 - (__0) [INFO] [stdout] 12638 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12649:5 [INFO] [stdout] | [INFO] [stdout] 12649 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12649 - (__0) [INFO] [stdout] 12649 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12660:5 [INFO] [stdout] | [INFO] [stdout] 12660 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12660 - (__0) [INFO] [stdout] 12660 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12671:5 [INFO] [stdout] | [INFO] [stdout] 12671 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12671 - (__0) [INFO] [stdout] 12671 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12682:5 [INFO] [stdout] | [INFO] [stdout] 12682 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12682 - (__0) [INFO] [stdout] 12682 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:13258:5 [INFO] [stdout] | [INFO] [stdout] 13258 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13258 - (__0) [INFO] [stdout] 13258 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:13316:5 [INFO] [stdout] | [INFO] [stdout] 13316 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13316 - (__0) [INFO] [stdout] 13316 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::diagnostics::Span` [INFO] [stdout] --> parser/src/ast.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::diagnostics::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Files` and `RawOffset` [INFO] [stdout] --> parser/src/lexer.rs:4:57 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::diagnostics::{ByteIndex, ByteOffset, FileId, Files, RawOffset, Span}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ident` [INFO] [stdout] --> parser/src/lexer.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::symbol::{Ident, Symbol}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LexerError`, `Spanned`, and `self` [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | lexer::{Token, LexerError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | diagnostics::{self, Spanned}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12313:5 [INFO] [stdout] | [INFO] [stdout] 12313 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12313 - (__0) [INFO] [stdout] 12313 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12324:5 [INFO] [stdout] | [INFO] [stdout] 12324 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12324 - (__0) [INFO] [stdout] 12324 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12335:5 [INFO] [stdout] | [INFO] [stdout] 12335 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12335 - (__0) [INFO] [stdout] 12335 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12438:5 [INFO] [stdout] | [INFO] [stdout] 12438 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12438 - (__0) [INFO] [stdout] 12438 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12469:5 [INFO] [stdout] | [INFO] [stdout] 12469 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12469 - (__0) [INFO] [stdout] 12469 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12537:5 [INFO] [stdout] | [INFO] [stdout] 12537 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12537 - (__0) [INFO] [stdout] 12537 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12548:5 [INFO] [stdout] | [INFO] [stdout] 12548 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12548 - (__0) [INFO] [stdout] 12548 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12559:5 [INFO] [stdout] | [INFO] [stdout] 12559 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12559 - (__0) [INFO] [stdout] 12559 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12570:5 [INFO] [stdout] | [INFO] [stdout] 12570 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12570 - (__0) [INFO] [stdout] 12570 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12616:5 [INFO] [stdout] | [INFO] [stdout] 12616 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12616 - (__0) [INFO] [stdout] 12616 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12627:5 [INFO] [stdout] | [INFO] [stdout] 12627 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12627 - (__0) [INFO] [stdout] 12627 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12638:5 [INFO] [stdout] | [INFO] [stdout] 12638 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12638 - (__0) [INFO] [stdout] 12638 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12649:5 [INFO] [stdout] | [INFO] [stdout] 12649 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12649 - (__0) [INFO] [stdout] 12649 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12660:5 [INFO] [stdout] | [INFO] [stdout] 12660 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12660 - (__0) [INFO] [stdout] 12660 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12671:5 [INFO] [stdout] | [INFO] [stdout] 12671 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12671 - (__0) [INFO] [stdout] 12671 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:12682:5 [INFO] [stdout] | [INFO] [stdout] 12682 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12682 - (__0) [INFO] [stdout] 12682 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:13258:5 [INFO] [stdout] | [INFO] [stdout] 13258 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13258 - (__0) [INFO] [stdout] 13258 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/comet_parser-b3f5f16e7a36ccc1/out/grammar.rs:13316:5 [INFO] [stdout] | [INFO] [stdout] 13316 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13316 - (__0) [INFO] [stdout] 13316 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::diagnostics::Span` [INFO] [stdout] --> parser/src/ast.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::diagnostics::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Files` and `RawOffset` [INFO] [stdout] --> parser/src/lexer.rs:4:57 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::diagnostics::{ByteIndex, ByteOffset, FileId, Files, RawOffset, Span}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ident` [INFO] [stdout] --> parser/src/lexer.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::symbol::{Ident, Symbol}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `codespan::Files` [INFO] [stdout] --> parser/src/lexer.rs:625:9 [INFO] [stdout] | [INFO] [stdout] 625 | use codespan::Files; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assert_ne` [INFO] [stdout] --> parser/src/parser.rs:168:40 [INFO] [stdout] | [INFO] [stdout] 168 | use pretty_assertions::{assert_eq, assert_ne}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> parser/src/parser.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grammar::ExprParser` [INFO] [stdout] --> parser/src/parser.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | use crate::grammar::ExprParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::Lexer` [INFO] [stdout] --> parser/src/parser.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | use crate::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> parser/src/parser.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | assert_parse!(Ok(Expr::Int(42)), "42"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `Result>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` which comes from the expansion of the macro `assert_parse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> parser/src/parser.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | assert_parse!(Ok(Expr::Int(255)), "0xFF"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `Result>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` which comes from the expansion of the macro `assert_parse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> parser/src/parser.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | assert_parse!(Ok(Expr::Int(129)), "0b10000001"); // allow _ later [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `Result>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` which comes from the expansion of the macro `assert_parse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> parser/src/parser.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | assert_parse!(Ok(Expr::Bool(true)), "true"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `Result>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` which comes from the expansion of the macro `assert_parse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> parser/src/parser.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | assert_parse!(Ok(Expr::Bool(false)), "false"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `Result>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` which comes from the expansion of the macro `assert_parse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> parser/src/parser.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | / assert_parse!( [INFO] [stdout] 208 | | Ok(Expr::Int(12)), [INFO] [stdout] 209 | | "fn (a, b) { [INFO] [stdout] 210 | | let x: int = 1 + 2 [INFO] [stdout] ... | [INFO] [stdout] 218 | | }" [INFO] [stdout] 219 | | ); [INFO] [stdout] | |_________^ expected `Result`, found `Result>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` which comes from the expansion of the macro `assert_parse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking comet_ir v0.1.0 (/opt/rustwide/workdir/ir) [INFO] [stderr] Checking comet_typeck v0.1.0 (/opt/rustwide/workdir/typeck) [INFO] [stdout] error: aborting due to 6 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ListPool`, `PrimaryMap`, and `entity_impl` [INFO] [stdout] --> ir/src/builder.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use cranelift_entity::{entity_impl, EntityList, EntityRef, ListPool, PrimaryMap}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> typeck/src/typecheck.rs:408:6 [INFO] [stdout] | [INFO] [stdout] 408 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteIndex` [INFO] [stdout] --> ir/src/lower.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use parser::diagnostics::{ByteIndex, Span}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> typeck/src/typecheck.rs:470:6 [INFO] [stdout] | [INFO] [stdout] 470 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EntityList`, `ListPool`, `PrimaryMap`, and `entity_impl` [INFO] [stdout] --> ir/src/lower.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use cranelift_entity::{entity_impl, EntityList, EntityRef, ListPool, PrimaryMap}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `comet_parser` (lib test) due to 7 previous errors; 28 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused imports: `ListPool`, `PrimaryMap`, and `entity_impl` [INFO] [stdout] --> ir/src/builder.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use cranelift_entity::{entity_impl, EntityList, EntityRef, ListPool, PrimaryMap}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteIndex` [INFO] [stdout] --> ir/src/lower.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use parser::diagnostics::{ByteIndex, Span}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EntityList`, `ListPool`, `PrimaryMap`, and `entity_impl` [INFO] [stdout] --> ir/src/lower.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use cranelift_entity::{entity_impl, EntityList, EntityRef, ListPool, PrimaryMap}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ListPool`, `PrimaryMap`, and `entity_impl` [INFO] [stdout] --> ir/src/lower.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | use cranelift_entity::{entity_impl, EntityList, EntityRef, ListPool, PrimaryMap}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> typeck/src/typecheck.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | .intersperse(", ".to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] --> typeck/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(iter_intersperse)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> typeck/src/typecheck.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | .intersperse(", ".to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] --> typeck/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(iter_intersperse)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> typeck/src/typecheck.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | .intersperse(", ".to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] --> typeck/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(iter_intersperse)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> typeck/src/typecheck.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | .intersperse(", ".to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] --> typeck/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(iter_intersperse)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityRef` [INFO] [stdout] --> ir/src/builder.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use cranelift_entity::{entity_impl, EntityList, EntityRef, ListPool, PrimaryMap}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityRef` [INFO] [stdout] --> ir/src/fun.rs:1:49 [INFO] [stdout] | [INFO] [stdout] 1 | use cranelift_entity::{entity_impl, EntityList, EntityRef, ListPool, PrimaryMap}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityRef` [INFO] [stdout] --> ir/src/lower.rs:6:49 [INFO] [stdout] | [INFO] [stdout] 6 | use cranelift_entity::{entity_impl, EntityList, EntityRef, ListPool, PrimaryMap}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> typeck/src/typecheck.rs:460:23 [INFO] [stdout] | [INFO] [stdout] 460 | let t = infer(&ast, &mut env, 1).expect("unable to infer type"); [INFO] [stdout] | ----- ^^^^ expected `&Expr`, found `&Module` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Expr` [INFO] [stdout] found reference `&Module` [INFO] [stdout] note: function defined here [INFO] [stdout] --> typeck/src/typecheck.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn infer(t: &Expr, env: &mut Env, level: usize) -> Result { [INFO] [stdout] | ^^^^^ -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> typeck/src/typecheck.rs:482:23 [INFO] [stdout] | [INFO] [stdout] 482 | let t = infer(&ast, &mut env, 1); [INFO] [stdout] | ----- ^^^^ expected `&Expr`, found `&Module` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Expr` [INFO] [stdout] found reference `&Module` [INFO] [stdout] note: function defined here [INFO] [stdout] --> typeck/src/typecheck.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn infer(t: &Expr, env: &mut Env, level: usize) -> Result { [INFO] [stdout] | ^^^^^ -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_val` [INFO] [stdout] --> ir/src/lower.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let (entry_cont, entry_val) = builder.lambda(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> ir/src/lower.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | span: Span, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> ir/src/lower.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | name: Symbol, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> ir/src/lower.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | Expr::Let { name, ty, value } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> ir/src/lower.rs:190:40 [INFO] [stdout] | [INFO] [stdout] 190 | let mut builder = Builder::new(fun); [INFO] [stdout] | ------------ ^^^ expected `&mut Function`, found `Function` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> ir/src/builder.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(fun: &'a mut Function) -> Self { [INFO] [stdout] | ^^^ --------------------- [INFO] [stdout] help: consider mutably borrowing here [INFO] [stdout] | [INFO] [stdout] 190 | let mut builder = Builder::new(&mut fun); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> typeck/src/typecheck.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | let args: Vec = args_types [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> ir/src/lower.rs:195:38 [INFO] [stdout] | [INFO] [stdout] 195 | ctx.lower_expr(&mut builder, &expr, entry).unwrap(); [INFO] [stdout] | ---------- ^^^^^ expected `&Expr`, found `&Module` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Expr` [INFO] [stdout] found reference `&comet_parser::ast::Module` [INFO] [stdout] note: method defined here [INFO] [stdout] --> ir/src/lower.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn lower_expr( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | expr: &Expr, [INFO] [stdout] | ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_generic_var` is never used [INFO] [stdout] --> typeck/src/typecheck.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl Env { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | fn new_generic_var(&mut self) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `extract` found for struct `builder::Builder` in the current scope [INFO] [stdout] --> ir/src/lower.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | let fun = builder.extract(); [INFO] [stdout] | ^^^^^^^ method not found in `Builder<'_>` [INFO] [stdout] | [INFO] [stdout] ::: ir/src/builder.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Builder<'a> { [INFO] [stdout] | ---------------------- method `extract` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> typeck/src/typecheck.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | let args: Vec = args_types [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityRef` [INFO] [stdout] --> ir/src/builder.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use cranelift_entity::{entity_impl, EntityList, EntityRef, ListPool, PrimaryMap}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityRef` [INFO] [stdout] --> ir/src/fun.rs:1:49 [INFO] [stdout] | [INFO] [stdout] 1 | use cranelift_entity::{entity_impl, EntityList, EntityRef, ListPool, PrimaryMap}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityRef` [INFO] [stdout] --> ir/src/lower.rs:6:49 [INFO] [stdout] | [INFO] [stdout] 6 | use cranelift_entity::{entity_impl, EntityList, EntityRef, ListPool, PrimaryMap}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityRef` [INFO] [stdout] --> ir/src/lower.rs:178:53 [INFO] [stdout] | [INFO] [stdout] 178 | use cranelift_entity::{entity_impl, EntityList, EntityRef, ListPool, PrimaryMap}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_val` [INFO] [stdout] --> ir/src/lower.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let (entry_cont, entry_val) = builder.lambda(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> ir/src/lower.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | span: Span, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> ir/src/lower.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | name: Symbol, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `comet_typeck` (lib test) due to 3 previous errors; 5 warnings emitted [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> ir/src/lower.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | Expr::Let { name, ty, value } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `comet_ir` (lib test) due to 4 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e74b2b02092e9616b6e7ce485cd2b0b0ba61c87b127c4429888c944fd4450112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74b2b02092e9616b6e7ce485cd2b0b0ba61c87b127c4429888c944fd4450112", kill_on_drop: false }` [INFO] [stdout] e74b2b02092e9616b6e7ce485cd2b0b0ba61c87b127c4429888c944fd4450112