[INFO] cloning repository https://github.com/dylanmckay/c-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dylanmckay/c-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdylanmckay%2Fc-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdylanmckay%2Fc-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ae75cdd9772970476e8d4e982665892d3ad11d5 [INFO] checking dylanmckay/c-parser against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdylanmckay%2Fc-parser" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dylanmckay/c-parser on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dylanmckay/c-parser [INFO] finished tweaking git repo https://github.com/dylanmckay/c-parser [INFO] tweaked toml for git repo https://github.com/dylanmckay/c-parser written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/dylanmckay/c-parser already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bab4dad9006047a6ec9d24eb3fe6508cf4b5a78928333234c607d5245e7ee26 [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" "5bab4dad9006047a6ec9d24eb3fe6508cf4b5a78928333234c607d5245e7ee26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bab4dad9006047a6ec9d24eb3fe6508cf4b5a78928333234c607d5245e7ee26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bab4dad9006047a6ec9d24eb3fe6508cf4b5a78928333234c607d5245e7ee26", kill_on_drop: false }` [INFO] [stdout] 5bab4dad9006047a6ec9d24eb3fe6508cf4b5a78928333234c607d5245e7ee26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] dc073e5866f83aeb07483b7ec18987a6f6ee898f9458c7efb617ff216bff6764 [INFO] running `Command { std: "docker" "start" "-a" "dc073e5866f83aeb07483b7ec18987a6f6ee898f9458c7efb617ff216bff6764", kill_on_drop: false }` [INFO] [stderr] Checking c_parser v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast/statements/comment.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast/statements/comment.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast/statements/block.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast/expressions/integerliteral.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[deriving(Clone,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast/mod.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast/mod.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast/mod.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/token.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[deriving(Clone,PartialEq,Eq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/token.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[deriving(Clone,PartialEq,Eq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/token.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/util/iteratorpeeker.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/preprocessor/preprocessor.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/preprocessor/directives/define.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/preprocessor/directives/define.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/preprocessor/directives/mod.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/identifier.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[deriving(Clone,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast/statements/comment.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `std::fmt` [INFO] [stdout] --> src/ast/mod.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Statement : std::fmt::Show [INFO] [stdout] | ^^^^ not found in `std::fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `std::fmt` [INFO] [stdout] --> src/ast/mod.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait Expression : std::fmt::Show [INFO] [stdout] | ^^^^ not found in `std::fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `std::fmt` [INFO] [stdout] --> src/token.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | impl std::fmt::Show for Kind [INFO] [stdout] | ^^^^ not found in `std::fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `std::fmt` [INFO] [stdout] --> src/token.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | impl std::fmt::Show for Token [INFO] [stdout] | ^^^^ not found in `std::fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/token.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn peek_n(&mut self, n: uint) -> Option> [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/token.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | for _ in range(0,n+1) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/util/iteratorpeeker.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn peek_n(&mut self, n: uint) -> Option [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/util/iteratorpeeker.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | for _ in range(0,n+1) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/util/iteratorpeeker.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn eat_several(&mut self, n: uint) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/util/iteratorpeeker.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | for _ in range(0, n) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `std::fmt` [INFO] [stdout] --> src/util/iteratorpeeker.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | impl> IteratorPeeker [INFO] [stdout] | ^^^^ not found in `std::fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `std::fmt` [INFO] [stdout] --> src/util/mod.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn build_list_str>(mut it: I) -> String [INFO] [stdout] | ^^^^ not found in `std::fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast/statements/comment.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast/statements/block.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast/expressions/integerliteral.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[deriving(Clone,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast/mod.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast/mod.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ast/mod.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/token.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[deriving(Clone,PartialEq,Eq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/token.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[deriving(Clone,PartialEq,Eq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/token.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/util/iteratorpeeker.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/preprocessor/preprocessor.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/preprocessor/directives/define.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/preprocessor/directives/define.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/preprocessor/directives/mod.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/identifier.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[deriving(Clone,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expr`, `Statement` [INFO] [stdout] --> src/parser.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use ast::{Expr,Expression,Statement}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | match try!(expect::something(it.peek())) [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/parser.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let expr = try!(self.parse_expression(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | try!(expect::one_of(it.peek(), [Token::comma(), Token::right_parenthesis()].iter())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast` [INFO] [stdout] --> src/token.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ast; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Identifier` [INFO] [stdout] --> src/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use Identifier; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/preprocessor/preprocessor.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | match try!(expect::kind(self.it.next(), token::Kind::Word)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/preprocessor/preprocessor.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | let name_str = try!(expect::kind(self.it.next(), token::Kind::Word)).move_value(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/preprocessor/preprocessor.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | match try!(expect::something(self.it.peek())) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `std::fmt` [INFO] [stdout] --> src/ast/mod.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Statement : std::fmt::Show [INFO] [stdout] | ^^^^ not found in `std::fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/preprocessor/preprocessor.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | let body = try!(self.read_define_body()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `std::fmt` [INFO] [stdout] --> src/ast/mod.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait Expression : std::fmt::Show [INFO] [stdout] | ^^^^ not found in `std::fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/preprocessor/preprocessor.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | match try!(expect::something(self.it.peek())) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `std::fmt` [INFO] [stdout] --> src/token.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | impl std::fmt::Show for Kind [INFO] [stdout] | ^^^^ not found in `std::fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `std::fmt` [INFO] [stdout] --> src/token.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | impl std::fmt::Show for Token [INFO] [stdout] | ^^^^ not found in `std::fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/token.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn peek_n(&mut self, n: uint) -> Option> [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/token.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | for _ in range(0,n+1) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/util/iteratorpeeker.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn peek_n(&mut self, n: uint) -> Option [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/util/iteratorpeeker.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | for _ in range(0,n+1) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/util/iteratorpeeker.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn eat_several(&mut self, n: uint) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/util/iteratorpeeker.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | for _ in range(0, n) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `std::fmt` [INFO] [stdout] --> src/util/iteratorpeeker.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | impl> IteratorPeeker [INFO] [stdout] | ^^^^ not found in `std::fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `std::fmt` [INFO] [stdout] --> src/util/mod.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn build_list_str>(mut it: I) -> String [INFO] [stdout] | ^^^^ not found in `std::fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expr`, `Statement` [INFO] [stdout] --> src/parser.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use ast::{Expr,Expression,Statement}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | match try!(expect::something(it.peek())) [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/parser.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let expr = try!(self.parse_expression(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | try!(expect::one_of(it.peek(), [Token::comma(), Token::right_parenthesis()].iter())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast` [INFO] [stdout] --> src/token.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ast; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Identifier` [INFO] [stdout] --> src/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use Identifier; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/preprocessor/preprocessor.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | match try!(expect::kind(self.it.next(), token::Kind::Word)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/preprocessor/preprocessor.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | let name_str = try!(expect::kind(self.it.next(), token::Kind::Word)).move_value(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/preprocessor/preprocessor.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | match try!(expect::something(self.it.peek())) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/preprocessor/preprocessor.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | let body = try!(self.read_define_body()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/preprocessor/preprocessor.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | match try!(expect::something(self.it.peek())) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `c_parser` [INFO] [stdout] error: aborting due to 28 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "dc073e5866f83aeb07483b7ec18987a6f6ee898f9458c7efb617ff216bff6764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc073e5866f83aeb07483b7ec18987a6f6ee898f9458c7efb617ff216bff6764", kill_on_drop: false }` [INFO] [stdout] dc073e5866f83aeb07483b7ec18987a6f6ee898f9458c7efb617ff216bff6764