[INFO] cloning repository https://github.com/petegleeson/compile-to-wasm-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/petegleeson/compile-to-wasm-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpetegleeson%2Fcompile-to-wasm-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpetegleeson%2Fcompile-to-wasm-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 297ee69a927e1c206dd6afd3b1c12bac8492d294 [INFO] checking petegleeson/compile-to-wasm-lang against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpetegleeson%2Fcompile-to-wasm-lang" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/petegleeson/compile-to-wasm-lang on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/petegleeson/compile-to-wasm-lang [INFO] finished tweaking git repo https://github.com/petegleeson/compile-to-wasm-lang [INFO] tweaked toml for git repo https://github.com/petegleeson/compile-to-wasm-lang written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/petegleeson/compile-to-wasm-lang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded insta v0.16.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f27430211fe7a81ea41ac5ac4cc0a85442a1f11ab603e74e8db7b3292e055065 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f27430211fe7a81ea41ac5ac4cc0a85442a1f11ab603e74e8db7b3292e055065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f27430211fe7a81ea41ac5ac4cc0a85442a1f11ab603e74e8db7b3292e055065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f27430211fe7a81ea41ac5ac4cc0a85442a1f11ab603e74e8db7b3292e055065", kill_on_drop: false }` [INFO] [stdout] f27430211fe7a81ea41ac5ac4cc0a85442a1f11ab603e74e8db7b3292e055065 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e23d6647fd1fea834d7130f15ee31e3d0804350121a8df57339ff0afe8311b2c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e23d6647fd1fea834d7130f15ee31e3d0804350121a8df57339ff0afe8311b2c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling llvm-sys v100.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.8 [INFO] [stderr] Checking structopt v0.3.15 [INFO] [stderr] Checking compile-to-wasm-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::lexer::Token` [INFO] [stdout] --> src/main.rs:1024:9 [INFO] [stdout] | [INFO] [stdout] 1024 | use crate::lexer::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Identifier` [INFO] [stdout] --> src/main.rs:1425:47 [INFO] [stdout] | [INFO] [stdout] 1425 | use crate::ast::{Declaration, Expression, Identifier, Number, Program, Statement}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:1449:5 [INFO] [stdout] | [INFO] [stdout] 1449 | / macro_rules! c_str { [INFO] [stdout] 1450 | | ($s:expr) => { [INFO] [stdout] 1451 | | concat!($s, "\0").as_ptr() as *const i8 [INFO] [stdout] 1452 | | }; [INFO] [stdout] 1453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `&Function(_)` not covered [INFO] [stdout] --> src/main.rs:1476:15 [INFO] [stdout] | [INFO] [stdout] 1015 | / pub enum Expression { [INFO] [stdout] 1016 | | Number(Number), [INFO] [stdout] 1017 | | Identifier(Identifier), [INFO] [stdout] 1018 | | Function(Function), [INFO] [stdout] | | -------- not covered [INFO] [stdout] 1019 | | } [INFO] [stdout] | |_____- `ast::Expression` defined here [INFO] [stdout] ... [INFO] [stdout] 1476 | match &declaration.value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ pattern `&Function(_)` not covered [INFO] [stdout] | [INFO] [stdout] = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms [INFO] [stdout] = note: the matched value is of type `&ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1067:9 [INFO] [stdout] | [INFO] [stdout] 1067 | mut subst: Vec, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1084:9 [INFO] [stdout] | [INFO] [stdout] 1084 | mut constraints: Vec, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1102:13 [INFO] [stdout] | [INFO] [stdout] 1102 | mut subst: Vec, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compile-to-wasm-rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e23d6647fd1fea834d7130f15ee31e3d0804350121a8df57339ff0afe8311b2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e23d6647fd1fea834d7130f15ee31e3d0804350121a8df57339ff0afe8311b2c", kill_on_drop: false }` [INFO] [stdout] e23d6647fd1fea834d7130f15ee31e3d0804350121a8df57339ff0afe8311b2c