[INFO] cloning repository https://github.com/sombrastudios/js [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sombrastudios/js" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsombrastudios%2Fjs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsombrastudios%2Fjs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18cf6acb010515dd0e6d80ccf01b1d72c1141939 [INFO] checking sombrastudios/js against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsombrastudios%2Fjs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sombrastudios/js on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sombrastudios/js [INFO] finished tweaking git repo https://github.com/sombrastudios/js [INFO] tweaked toml for git repo https://github.com/sombrastudios/js written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/sombrastudios/js already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d578f82b96ba3ae65eb884483063936f92c1946db787bcc5a4ae218dda7ba65b [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" "d578f82b96ba3ae65eb884483063936f92c1946db787bcc5a4ae218dda7ba65b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d578f82b96ba3ae65eb884483063936f92c1946db787bcc5a4ae218dda7ba65b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d578f82b96ba3ae65eb884483063936f92c1946db787bcc5a4ae218dda7ba65b", kill_on_drop: false }` [INFO] [stdout] d578f82b96ba3ae65eb884483063936f92c1946db787bcc5a4ae218dda7ba65b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28551651eb5c83d5425fcd95efdb876d77201942cf6eaa797ae5585b14c22230 [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" "28551651eb5c83d5425fcd95efdb876d77201942cf6eaa797ae5585b14c22230", kill_on_drop: false }` [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking gc v0.3.3 [INFO] [stderr] Checking stackvector v1.0.2 [INFO] [stderr] Compiling nom v5.0.0 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Checking lexical-core v0.4.0 [INFO] [stderr] Compiling gc_derive v0.3.2 [INFO] [stderr] Checking js v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: mismatched closing delimiter: `]` [INFO] [stdout] --> src/compile/mod.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 20 | map[format!({}{}, &scope, f.identifier.0] = get_all_functions(:wq [INFO] [stdout] | - - ^ mismatched closing delimiter [INFO] [stdout] | | | [INFO] [stdout] | | unclosed delimiter [INFO] [stdout] | closing delimiter possibly meant for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/compile/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 19 | |acc: HashMap, f: &'a FunctionBody| { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] 20 | map[format!({}{}, &scope, f.identifier.0] = get_all_functions(:wq [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 21 | [INFO] [stdout] 22 | }, [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `:` [INFO] [stdout] --> src/compile/mod.rs:20:75 [INFO] [stdout] | [INFO] [stdout] 20 | map[format!({}{}, &scope, f.identifier.0] = get_all_functions(:wq [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `]` [INFO] [stdout] --> src/compile/mod.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 20 | map[format!({}{}, &scope, f.identifier.0] = get_all_functions(:wq [INFO] [stdout] | - - ^ mismatched closing delimiter [INFO] [stdout] | | | [INFO] [stdout] | | unclosed delimiter [INFO] [stdout] | closing delimiter possibly meant for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/compile/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 19 | |acc: HashMap, f: &'a FunctionBody| { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] 20 | map[format!({}{}, &scope, f.identifier.0] = get_all_functions(:wq [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 21 | [INFO] [stdout] 22 | }, [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `:` [INFO] [stdout] --> src/compile/mod.rs:20:75 [INFO] [stdout] | [INFO] [stdout] 20 | map[format!({}{}, &scope, f.identifier.0] = get_all_functions(:wq [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, found `{` [INFO] [stdout] --> src/compile/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | map[format!({}{}, &scope, f.identifier.0] = get_all_functions(:wq [INFO] [stdout] | ^ expected `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, found `{` [INFO] [stdout] --> src/compile/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | map[format!({}{}, &scope, f.identifier.0] = get_all_functions(:wq [INFO] [stdout] | ^ expected `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `map` in this scope [INFO] [stdout] --> src/compile/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | map: HashMap::new(), [INFO] [stdout] | ^^^ expecting a type here because of type ascription [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::parse::string_template::map; [INFO] [stdout] | [INFO] [stdout] 2 | use nom::combinator::map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `map` in this scope [INFO] [stdout] --> src/compile/mod.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | map[format!({}{}, &scope, f.identifier.0] = get_all_functions(:wq [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::parse::string_template::map; [INFO] [stdout] | [INFO] [stdout] 2 | use nom::combinator::map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0214]: parenthesized type parameters may only be used with a `Fn` trait [INFO] [stdout] --> src/compile/mod.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | map: HashMap::new(), [INFO] [stdout] | ^^^^^ only `Fn` traits may use parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ForLoopCondition`, `ForLoop`, `expression::*` [INFO] [stdout] --> src/compile/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | expression::*, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | for_loop::{ForLoop, ForLoopCondition}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/parse/for_loop.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `many0`, `none_of` [INFO] [stdout] --> src/parse/obj.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | character::complete::{char, none_of}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | combinator::map, [INFO] [stdout] 15 | multi::{many0, separated_list}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StackAddress` [INFO] [stdout] --> src/vm/machine.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | instruction::{InstructionAddress, StackAddress}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Sub` [INFO] [stdout] --> src/vm/object.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Add, Sub}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `map` in this scope [INFO] [stdout] --> src/compile/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | map: HashMap::new(), [INFO] [stdout] | ^^^ expecting a type here because of type ascription [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::parse::string_template::map; [INFO] [stdout] | [INFO] [stdout] 2 | use nom::combinator::map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `map` in this scope [INFO] [stdout] --> src/compile/mod.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | map[format!({}{}, &scope, f.identifier.0] = get_all_functions(:wq [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::parse::string_template::map; [INFO] [stdout] | [INFO] [stdout] 2 | use nom::combinator::map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0214]: parenthesized type parameters may only be used with a `Fn` trait [INFO] [stdout] --> src/compile/mod.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | map: HashMap::new(), [INFO] [stdout] | ^^^^^ only `Fn` traits may use parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ForLoopCondition`, `ForLoop`, `expression::*` [INFO] [stdout] --> src/compile/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | expression::*, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | for_loop::{ForLoop, ForLoopCondition}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `many0`, `none_of` [INFO] [stdout] --> src/parse/obj.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | character::complete::{char, none_of}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | combinator::map, [INFO] [stdout] 15 | multi::{many0, separated_list}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StackAddress` [INFO] [stdout] --> src/vm/machine.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | instruction::{InstructionAddress, StackAddress}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Sub` [INFO] [stdout] --> src/vm/object.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Add, Sub}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/compile/mod.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn generate_code(ast: Ast) -> Vec { [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^ expected struct `Vec`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected at least 2, found 0 [INFO] [stdout] --> src/compile/mod.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | map: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected at least 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/compile/mod.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn generate_code(ast: Ast) -> Vec { [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^ expected struct `Vec`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected at least 2, found 0 [INFO] [stdout] --> src/compile/mod.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | map: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected at least 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0214, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `js` [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] [stdout] error: aborting due to 9 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0214, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "28551651eb5c83d5425fcd95efdb876d77201942cf6eaa797ae5585b14c22230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28551651eb5c83d5425fcd95efdb876d77201942cf6eaa797ae5585b14c22230", kill_on_drop: false }` [INFO] [stdout] 28551651eb5c83d5425fcd95efdb876d77201942cf6eaa797ae5585b14c22230