[INFO] cloning repository https://github.com/jroesch/stg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jroesch/stg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjroesch%2Fstg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjroesch%2Fstg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 461e71964daf4893a4c33cd742bd7c54e21f5012 [INFO] testing jroesch/stg against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjroesch%2Fstg" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jroesch/stg on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jroesch/stg [INFO] finished tweaking git repo https://github.com/jroesch/stg [INFO] tweaked toml for git repo https://github.com/jroesch/stg written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/jroesch/stg already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abaf08a527dd8e2e286c378dd018b75901a2fdd56ade2fc98f73d4c1981ec1a3 [INFO] running `Command { std: "docker" "start" "-a" "abaf08a527dd8e2e286c378dd018b75901a2fdd56ade2fc98f73d4c1981ec1a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abaf08a527dd8e2e286c378dd018b75901a2fdd56ade2fc98f73d4c1981ec1a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abaf08a527dd8e2e286c378dd018b75901a2fdd56ade2fc98f73d4c1981ec1a3", kill_on_drop: false }` [INFO] [stdout] abaf08a527dd8e2e286c378dd018b75901a2fdd56ade2fc98f73d4c1981ec1a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b08caf765e5f2884a144ab99a555781ad108ad963edc9f5ed33f25738d2bdd94 [INFO] running `Command { std: "docker" "start" "-a" "b08caf765e5f2884a144ab99a555781ad108ad963edc9f5ed33f25738d2bdd94", kill_on_drop: false }` [INFO] [stderr] Compiling stg v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/machine/mod.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | debug!("Rule: LET") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 72 | let x_prime = self.allocate(obj); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `subst` [INFO] [stdout] --> src/machine/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod subst; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `subst`, create file "src/machine/subst.rs" or "src/machine/subst/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/machine/scope.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | let mut binding_range = range(0u, bindings.len()); [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0178]: expected a path on the left-hand side of `+`, not `&'a mut Writer` [INFO] [stdout] --> src/pretty.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub buf: &'a mut Writer + 'a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try adding parentheses: `&'a mut (Writer + 'a)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #[phase(plugin, link)] extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::hashmap` [INFO] [stdout] --> src/machine/mod.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::hashmap::HashMap; [INFO] [stdout] | ^^^^^^^ could not find `hashmap` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::hashmap` [INFO] [stdout] --> src/machine/scope.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::hashmap::HashMap; [INFO] [stdout] | ^^^^^^^ could not find `hashmap` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::IoResult`, `std::io::MemWriter` [INFO] [stdout] --> src/pretty.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{IoResult, MemWriter}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ no `MemWriter` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Result, MemWriter}; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{IoResult, BufWriter}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fmt::Show` [INFO] [stdout] --> src/pretty.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{rt, Show}; [INFO] [stdout] | ^^^^ no `Show` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::fmt::FormatWriter` [INFO] [stdout] --> src/pretty.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::{FormatWriter}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `FormatWriter` in `fmt` [INFO] [stdout] | help: a similar name exists in the module: `Formatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/lib.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[phase(plugin, link)] extern crate log; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:1:3 [INFO] [stdout] | [INFO] [stdout] 1 | #[deriving(Clone, PartialEq, Eq, Show, Hash)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[deriving(Clone, PartialEq, Eq, Show, Hash)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[deriving(Clone, PartialEq, Eq, Show, Hash)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[deriving(Clone, PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[deriving(Clone, PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[deriving(Clone, PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[deriving(Clone, PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[deriving(Clone, PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[deriving(Clone, PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | #[deriving(Clone, PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | #[deriving(Clone, PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/machine/mod.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/machine/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | fail!("Variable not defined: {}", var); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/machine/mod.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | debug!("Rule: LET") [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/machine/mod.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | debug!("Rule: LET"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/machine/mod.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | ... debug!("UPDATE"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/machine/mod.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | _ => { fail!("not impl") } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/machine/mod.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | _ => { fail!("not impl") } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/machine/mod.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | EPrimOp(..) => fail!("Ignored for now.") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/machine/mod.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | _ => fail!("Runtime error") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ObjCon` in this scope [INFO] [stdout] --> src/dsl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ObjCon(Constructor(s.to_string()), atoms) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use ast::Object::ObjCon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EAtom` in this scope [INFO] [stdout] --> src/dsl.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | EAtom(AtomVar(self)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use ast::Expr::EAtom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AtomVar` in this scope [INFO] [stdout] --> src/dsl.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | EAtom(AtomVar(self)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try calling `AtomVar` as a method [INFO] [stdout] | [INFO] [stdout] 17 | EAtom(self.AtomVar()) [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use ast::Atom::AtomVar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/ast.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | IntLit(int), [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/machine/scope.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | let mut binding_range = range(0u, bindings.len()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use core::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ELet` in this scope [INFO] [stdout] --> src/machine/mod.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | ELet(x, obj, exp) => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Expr::ELet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ECase` in this scope [INFO] [stdout] --> src/machine/mod.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | ECase(scrutinee, alts) => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Expr::ECase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `EAtom` in this scope [INFO] [stdout] --> src/machine/mod.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | EAtom(atom) => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Expr::EAtom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Case` in this scope [INFO] [stdout] --> src/machine/mod.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | Some(Case(alts)) => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Kont::Case; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AtomLit` in this scope [INFO] [stdout] --> src/machine/mod.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | ... AtomLit(lit) => AtomLit(lit), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Atom::AtomLit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AtomLit` in this scope [INFO] [stdout] --> src/machine/mod.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | ... AtomLit(lit) => AtomLit(lit), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Atom::AtomLit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AtomVar` in this scope [INFO] [stdout] --> src/machine/mod.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | ... AtomVar(var) => { self.value_for(self.lookup(&var)); AtomVar(var) } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Atom::AtomVar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AtomVar` in this scope [INFO] [stdout] --> src/machine/mod.rs:87:82 [INFO] [stdout] | [INFO] [stdout] 87 | ... AtomVar(var) => { self.value_for(self.lookup(&var)); AtomVar(var) } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Atom::AtomVar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ECase` in this scope [INFO] [stdout] --> src/machine/mod.rs:89:35 [INFO] [stdout] | [INFO] [stdout] 89 | self.eval(ECase(box EAtom(value), alts)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Expr::ECase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EAtom` in this scope [INFO] [stdout] --> src/machine/mod.rs:89:45 [INFO] [stdout] | [INFO] [stdout] 89 | self.eval(ECase(box EAtom(value), alts)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Expr::EAtom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Update` in this scope [INFO] [stdout] --> src/machine/mod.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | Some(Update(x)) => match atom { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Kont::Update; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AtomVar` in this scope [INFO] [stdout] --> src/machine/mod.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | AtomVar(y) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Atom::AtomVar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EAtom` in this scope [INFO] [stdout] --> src/machine/mod.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | ... EAtom(AtomVar(y)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Expr::EAtom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AtomVar` in this scope [INFO] [stdout] --> src/machine/mod.rs:98:35 [INFO] [stdout] | [INFO] [stdout] 98 | ... EAtom(AtomVar(y)) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Atom::AtomVar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `EFCall` in this scope [INFO] [stdout] --> src/machine/mod.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | EFCall(..) => {e}, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Expr::EFCall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `EPrimOp` in this scope [INFO] [stdout] --> src/machine/mod.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | EPrimOp(..) => fail!("Ignored for now.") [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Expr::EPrimOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EFCall` in this scope [INFO] [stdout] --> src/machine/mod.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | let main_fn = EFCall(0, main_name, Vec::new()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Expr::EFCall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `EAtom` in this scope [INFO] [stdout] --> src/machine/mod.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | EAtom(AtomLit(lit)) => [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Expr::EAtom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AtomLit` in this scope [INFO] [stdout] --> src/machine/mod.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | EAtom(AtomLit(lit)) => [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Atom::AtomLit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `EAtom` in this scope [INFO] [stdout] --> src/machine/mod.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | EAtom(AtomVar(ref var)) => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Expr::EAtom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AtomVar` in this scope [INFO] [stdout] --> src/machine/mod.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | EAtom(AtomVar(ref var)) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use machine::Atom::AtomVar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Alignment` in module `rt` [INFO] [stdout] --> src/pretty.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | pub align: rt::Alignment, [INFO] [stdout] | ^^^^^^^^^ not found in `rt` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Alignment; [INFO] [stdout] | [INFO] [stdout] 1 | use pretty::rt::v1::Alignment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/pretty.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Printer<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 12 | pub width: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/pretty.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Printer<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 14 | pub precision: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in this scope [INFO] [stdout] --> src/pretty.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | pub buf: &'a mut Writer + 'a, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AlignLeft` in module `rt` [INFO] [stdout] --> src/pretty.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | align: rt::AlignLeft, [INFO] [stdout] | ^^^^^^^^^ not found in `rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ObjCon` in this scope [INFO] [stdout] --> src/pretty.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | &ObjCon(ref cons, ref args) => { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use pretty::Object::ObjCon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `EAtom` in this scope [INFO] [stdout] --> src/pretty.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | &EAtom(ref atom) => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use pretty::Expr::EAtom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `IntLit` in this scope [INFO] [stdout] --> src/pretty.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | &IntLit(ref i) => { printer.write(i.to_string().as_bytes()); }, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use pretty::Literal::IntLit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(globs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `globs` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(phase)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/machine/mod.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | self.eval(ECase(box EAtom(value), alts)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/machine/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Atom` [INFO] [stdout] --> src/machine/scope.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use ast::{Atom, Var, Expr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pretty.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | try!(printer.write(")".as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pretty.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | _ => { try!(printer.write("not impl".as_bytes())) } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pretty.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | try!(atom.pretty_with_printer(printer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pretty.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | _ => { try!(printer.write("not impl".as_bytes())) } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'fmt_internals': internal to format_args! [INFO] [stdout] --> src/pretty.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{rt, Show}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `globs` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(globs)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 71 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0178, E0412, E0425, E0432, E0463, E0531, E0554, E0583, E0635... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0178`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stg` due to 72 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b08caf765e5f2884a144ab99a555781ad108ad963edc9f5ed33f25738d2bdd94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b08caf765e5f2884a144ab99a555781ad108ad963edc9f5ed33f25738d2bdd94", kill_on_drop: false }` [INFO] [stdout] b08caf765e5f2884a144ab99a555781ad108ad963edc9f5ed33f25738d2bdd94