[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 try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjroesch%2Fstg" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jroesch/stg on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jroesch/stg 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1efc2e6a0a19b241acc0f4afeb5ddaa483fca888c8f18a98c133e45e65775aa [INFO] running `Command { std: "docker" "start" "-a" "e1efc2e6a0a19b241acc0f4afeb5ddaa483fca888c8f18a98c133e45e65775aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1efc2e6a0a19b241acc0f4afeb5ddaa483fca888c8f18a98c133e45e65775aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1efc2e6a0a19b241acc0f4afeb5ddaa483fca888c8f18a98c133e45e65775aa", kill_on_drop: false }` [INFO] [stdout] e1efc2e6a0a19b241acc0f4afeb5ddaa483fca888c8f18a98c133e45e65775aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b26ee4e73e927bd65bb1926d0dbc842c914d45ac3a518f35da31e0fbd4adcaa6 [INFO] running `Command { std: "docker" "start" "-a" "b26ee4e73e927bd65bb1926d0dbc842c914d45ac3a518f35da31e0fbd4adcaa6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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: `box_syntax` has been removed [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] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 89 - self.eval(ECase(box EAtom(value), alts)) [INFO] [stdout] 89 + self.eval(ECase(Box::new(EAtom(value)), alts)) [INFO] [stdout] | [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] = note: if there is a `mod subst` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0178]: expected a path on the left-hand side of `+` [INFO] [stdout] --> src/pretty.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub buf: &'a mut Writer + 'a, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try adding parentheses [INFO] [stdout] | [INFO] [stdout] 15 | pub buf: &'a mut (Writer + 'a), [INFO] [stdout] | + + [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::{IoResult, MemWriter}; [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, MemWriter}; [INFO] [stdout] 1 + use std::io::{IoResult, BufWriter}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::fmt::rt`, `std::fmt::Show` [INFO] [stdout] --> src/pretty.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{rt, Show}; [INFO] [stdout] | ^^ ^^^^ no `Show` in `fmt` [INFO] [stdout] | | [INFO] [stdout] | no `rt` 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: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(AtomVar(self)) [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[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 `uint` in this scope [INFO] [stdout] --> src/pretty.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | pub width: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Printer<'a, uint> { [INFO] [stdout] | ++++++ [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] 14 | pub precision: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Printer<'a, uint> { [INFO] [stdout] | ++++++ [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[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] 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: 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] 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[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] Some errors have detailed explanations: E0178, E0412, E0425, E0432, E0463, E0531, 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` (lib) due to 63 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b26ee4e73e927bd65bb1926d0dbc842c914d45ac3a518f35da31e0fbd4adcaa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b26ee4e73e927bd65bb1926d0dbc842c914d45ac3a518f35da31e0fbd4adcaa6", kill_on_drop: false }` [INFO] [stdout] b26ee4e73e927bd65bb1926d0dbc842c914d45ac3a518f35da31e0fbd4adcaa6