[INFO] cloning repository https://github.com/Arcterus/umake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Arcterus/umake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArcterus%2Fumake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArcterus%2Fumake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b496fbd67b3c7cbb33b1ad613a376e98f71edb1 [INFO] checking Arcterus/umake against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArcterus%2Fumake" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Arcterus/umake on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Arcterus/umake [INFO] finished tweaking git repo https://github.com/Arcterus/umake [INFO] tweaked toml for git repo https://github.com/Arcterus/umake written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Arcterus/umake already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6bebd56c861b3ab14e5bad640216171dfcf47bf337499812853b78521abad32d [INFO] running `Command { std: "docker" "start" "-a" "6bebd56c861b3ab14e5bad640216171dfcf47bf337499812853b78521abad32d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bebd56c861b3ab14e5bad640216171dfcf47bf337499812853b78521abad32d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bebd56c861b3ab14e5bad640216171dfcf47bf337499812853b78521abad32d", kill_on_drop: false }` [INFO] [stdout] 6bebd56c861b3ab14e5bad640216171dfcf47bf337499812853b78521abad32d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48bc878125369985d1fcbe8d4e03da3fd69dd108449ba4dedebd7d2f6d181ba6 [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" "48bc878125369985d1fcbe8d4e03da3fd69dd108449ba4dedebd7d2f6d181ba6", kill_on_drop: false }` [INFO] [stderr] Checking umake v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `std::fmt::Show`, `std::fmt::FormatError` [INFO] [stdout] --> src/lib.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Show, FormatError, Formatter}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ no `FormatError` in `fmt` [INFO] [stdout] | | [INFO] [stdout] | no `Show` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `Comma`, `Dollar` [INFO] [stdout] --> src/gnu/lexer.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use {TokenError, TokenResult, Token, Comma, Dollar}; [INFO] [stdout] | ^^^^^ ^^^^^^ no `Dollar` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Comma` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::fmt::Show`, `std::fmt::FormatError` [INFO] [stdout] --> src/lib.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Show, FormatError, Formatter}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ no `FormatError` in `fmt` [INFO] [stdout] | | [INFO] [stdout] | no `Show` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `Comma`, `Dollar` [INFO] [stdout] --> src/gnu/lexer.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use {TokenError, TokenResult, Token, Comma, Dollar}; [INFO] [stdout] | ^^^^^ ^^^^^^ no `Dollar` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Comma` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gnu/parser.rs:30:105 [INFO] [stdout] | [INFO] [stdout] 10 | impl Parser { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 30 | fn parse_var<'a, 'b>(&mut self, makefile: &mut GnuMakefile<'a>, tokens: &[Token<'b>]) -> ParseResult { [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/gnu/parser.rs:38:106 [INFO] [stdout] | [INFO] [stdout] 10 | impl Parser { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 38 | fn parse_rule<'a, 'b>(&mut self, makefile: &mut GnuMakefile<'a>, tokens: &[Token<'b>]) -> ParseResult { [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/gnu/parser.rs:42:104 [INFO] [stdout] | [INFO] [stdout] 10 | impl Parser { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 42 | fn parse_func<'a, 'b>(&mut self, makefile: &mut GnuMakefile<'a>, data: &[Token<'b>]) -> ParseResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Unimplemented` in this scope [INFO] [stdout] --> src/gnu/parser.rs:49:62 [INFO] [stdout] | [INFO] [stdout] 49 | ParseError::new(format!("{} not yet implemented.", name), Unimplemented as int) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use gnu::parser::GnuParseError::Unimplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/gnu/parser.rs:49:79 [INFO] [stdout] | [INFO] [stdout] 49 | ParseError::new(format!("{} not yet implemented.", name), Unimplemented as int) [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/gnu/lexer.rs:37:111 [INFO] [stdout] | [INFO] [stdout] 11 | impl Tokenizer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 37 | fn tokenize_var<'a, 'b>(&mut self, makefile: &mut GnuMakefile<'a>, data: &[u8]) -> TokenResult<(Token<'b>, uint)> { [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/gnu/lexer.rs:45:112 [INFO] [stdout] | [INFO] [stdout] 11 | impl Tokenizer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | fn tokenize_rule<'a, 'b>(&mut self, makefile: &mut GnuMakefile<'a>, data: &[u8]) -> TokenResult<(Token<'b>, uint)> { [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/gnu/lexer.rs:49:112 [INFO] [stdout] | [INFO] [stdout] 11 | impl Tokenizer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 49 | fn tokenize_func<'a, 'b>(&mut self, makefile: &mut GnuMakefile<'a>, data: &[u8]) -> TokenResult<(Token<'b>, uint)> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Unimplemented` in this scope [INFO] [stdout] --> src/gnu/lexer.rs:56:62 [INFO] [stdout] | [INFO] [stdout] 56 | TokenError::new(format!("{} not yet implemented.", name), Unimplemented as int) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use gnu::lexer::GnuTokenError::Unimplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/gnu/lexer.rs:56:79 [INFO] [stdout] | [INFO] [stdout] 56 | TokenError::new(format!("{} not yet implemented.", name), Unimplemented as int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Unexpected` in this scope [INFO] [stdout] --> src/gnu/lexer.rs:71:75 [INFO] [stdout] | [INFO] [stdout] 71 | TokenError::new(format!("Expected {} but found {}.", expected, token), Unexpected as int) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 71 | TokenError::new(format!("Expected {} but found {}.", expected, token), expected as int) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use gnu::lexer::GnuTokenError::Unexpected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/gnu/lexer.rs:71:89 [INFO] [stdout] | [INFO] [stdout] 71 | TokenError::new(format!("Expected {} but found {}.", expected, token), Unexpected as int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MutableMap` in this scope [INFO] [stdout] --> src/gnu/mod.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | fn vars(&mut self) -> &mut MutableMap<&'a [u8], Vec> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MutableMap` in this scope [INFO] [stdout] --> src/gnu/mod.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | &mut self.vars as &mut MutableMap<&'a [u8], Vec> [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MutableMap` in this scope [INFO] [stdout] --> src/lib.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | fn vars(&mut self) -> &mut MutableMap<&'a [u8], Vec>; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv_as_bytes` in module `os` [INFO] [stdout] --> src/lib.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | match os::getenv_as_bytes(utf8_name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | pub code: int [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | pub code: int [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new(msg: String, code: int) -> ParseError { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn new(msg: String, code: int) -> TokenError { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gnu/parser.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | idx += try!(result); [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/gnu/lexer.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let (token, count) = try!(result); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MakefileRule` [INFO] [stdout] --> src/gnu/parser.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | use {MakefileRule, MakefileDag, ParseError, ParseResult, Token}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope [INFO] [stdout] --> src/lib.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Makefile<'a> { [INFO] [stdout] | -- first declared here [INFO] [stdout] ... [INFO] [stdout] 20 | fn tokenize<'a>(&mut self, data: &[u8]) -> TokenResult>>; [INFO] [stdout] | ^^ lifetime 'a already in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope [INFO] [stdout] --> src/lib.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Makefile<'a> { [INFO] [stdout] | -- first declared here [INFO] [stdout] ... [INFO] [stdout] 21 | fn parse<'a, 'b>(&mut self, tokens: Vec>) -> ParseResult>; [INFO] [stdout] | ^^ lifetime 'a already in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gnu/parser.rs:30:105 [INFO] [stdout] | [INFO] [stdout] 10 | impl Parser { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 30 | fn parse_var<'a, 'b>(&mut self, makefile: &mut GnuMakefile<'a>, tokens: &[Token<'b>]) -> ParseResult { [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/gnu/parser.rs:38:106 [INFO] [stdout] | [INFO] [stdout] 10 | impl Parser { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 38 | fn parse_rule<'a, 'b>(&mut self, makefile: &mut GnuMakefile<'a>, tokens: &[Token<'b>]) -> ParseResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0496. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gnu/parser.rs:42:104 [INFO] [stdout] | [INFO] [stdout] 10 | impl Parser { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 42 | fn parse_func<'a, 'b>(&mut self, makefile: &mut GnuMakefile<'a>, data: &[Token<'b>]) -> ParseResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Unimplemented` in this scope [INFO] [stdout] --> src/gnu/parser.rs:49:62 [INFO] [stdout] | [INFO] [stdout] 49 | ParseError::new(format!("{} not yet implemented.", name), Unimplemented as int) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use gnu::parser::GnuParseError::Unimplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/gnu/parser.rs:49:79 [INFO] [stdout] | [INFO] [stdout] 49 | ParseError::new(format!("{} not yet implemented.", name), Unimplemented as int) [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/gnu/lexer.rs:37:111 [INFO] [stdout] | [INFO] [stdout] 11 | impl Tokenizer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 37 | fn tokenize_var<'a, 'b>(&mut self, makefile: &mut GnuMakefile<'a>, data: &[u8]) -> TokenResult<(Token<'b>, uint)> { [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/gnu/lexer.rs:45:112 [INFO] [stdout] | [INFO] [stdout] 11 | impl Tokenizer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | fn tokenize_rule<'a, 'b>(&mut self, makefile: &mut GnuMakefile<'a>, data: &[u8]) -> TokenResult<(Token<'b>, uint)> { [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/gnu/lexer.rs:49:112 [INFO] [stdout] | [INFO] [stdout] 11 | impl Tokenizer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 49 | fn tokenize_func<'a, 'b>(&mut self, makefile: &mut GnuMakefile<'a>, data: &[u8]) -> TokenResult<(Token<'b>, uint)> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Unimplemented` in this scope [INFO] [stdout] --> src/gnu/lexer.rs:56:62 [INFO] [stdout] | [INFO] [stdout] 56 | TokenError::new(format!("{} not yet implemented.", name), Unimplemented as int) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use gnu::lexer::GnuTokenError::Unimplemented; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/gnu/lexer.rs:56:79 [INFO] [stdout] | [INFO] [stdout] 56 | TokenError::new(format!("{} not yet implemented.", name), Unimplemented as int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Unexpected` in this scope [INFO] [stdout] --> src/gnu/lexer.rs:71:75 [INFO] [stdout] | [INFO] [stdout] 71 | TokenError::new(format!("Expected {} but found {}.", expected, token), Unexpected as int) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 71 | TokenError::new(format!("Expected {} but found {}.", expected, token), expected as int) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use gnu::lexer::GnuTokenError::Unexpected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `umake` [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/gnu/lexer.rs:71:89 [INFO] [stdout] | [INFO] [stdout] 71 | TokenError::new(format!("Expected {} but found {}.", expected, token), Unexpected as int) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [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[E0412]: cannot find type `MutableMap` in this scope [INFO] [stdout] --> src/gnu/mod.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | fn vars(&mut self) -> &mut MutableMap<&'a [u8], Vec> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MutableMap` in this scope [INFO] [stdout] --> src/gnu/mod.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | &mut self.vars as &mut MutableMap<&'a [u8], Vec> [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MutableMap` in this scope [INFO] [stdout] --> src/lib.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | fn vars(&mut self) -> &mut MutableMap<&'a [u8], Vec>; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv_as_bytes` in module `os` [INFO] [stdout] --> src/lib.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | match os::getenv_as_bytes(utf8_name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | pub code: int [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | pub code: int [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new(msg: String, code: int) -> ParseError { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn new(msg: String, code: int) -> TokenError { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gnu/parser.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | idx += try!(result); [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/gnu/lexer.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let (token, count) = try!(result); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MakefileRule` [INFO] [stdout] --> src/gnu/parser.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | use {MakefileRule, MakefileDag, ParseError, ParseResult, Token}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope [INFO] [stdout] --> src/lib.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Makefile<'a> { [INFO] [stdout] | -- first declared here [INFO] [stdout] ... [INFO] [stdout] 20 | fn tokenize<'a>(&mut self, data: &[u8]) -> TokenResult>>; [INFO] [stdout] | ^^ lifetime 'a already in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope [INFO] [stdout] --> src/lib.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Makefile<'a> { [INFO] [stdout] | -- first declared here [INFO] [stdout] ... [INFO] [stdout] 21 | fn parse<'a, 'b>(&mut self, tokens: Vec>) -> ParseResult>; [INFO] [stdout] | ^^ lifetime 'a already in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0496. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "48bc878125369985d1fcbe8d4e03da3fd69dd108449ba4dedebd7d2f6d181ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48bc878125369985d1fcbe8d4e03da3fd69dd108449ba4dedebd7d2f6d181ba6", kill_on_drop: false }` [INFO] [stdout] 48bc878125369985d1fcbe8d4e03da3fd69dd108449ba4dedebd7d2f6d181ba6