[INFO] cloning repository https://github.com/gnuvince/minilang-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gnuvince/minilang-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgnuvince%2Fminilang-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgnuvince%2Fminilang-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11836d350968f2839af83fef09a9102b27a79e44 [INFO] checking gnuvince/minilang-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgnuvince%2Fminilang-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gnuvince/minilang-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gnuvince/minilang-rs [INFO] finished tweaking git repo https://github.com/gnuvince/minilang-rs [INFO] tweaked toml for git repo https://github.com/gnuvince/minilang-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gnuvince/minilang-rs 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strsim v0.4.0 [INFO] [stderr] Downloaded ansi_term v0.7.1 [INFO] [stderr] Downloaded vec_map v0.4.0 [INFO] [stderr] Downloaded clap v2.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fd6511204bb4a81a81fe84b0c0bfb86fccc918cecf733c999dae2aee49537f2 [INFO] running `Command { std: "docker" "start" "-a" "6fd6511204bb4a81a81fe84b0c0bfb86fccc918cecf733c999dae2aee49537f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fd6511204bb4a81a81fe84b0c0bfb86fccc918cecf733c999dae2aee49537f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd6511204bb4a81a81fe84b0c0bfb86fccc918cecf733c999dae2aee49537f2", kill_on_drop: false }` [INFO] [stdout] 6fd6511204bb4a81a81fe84b0c0bfb86fccc918cecf733c999dae2aee49537f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 672c1f52fb784c6254a3d78f4458f4adc90bac7ab1883c8fce8a98f121020469 [INFO] running `Command { std: "docker" "start" "-a" "672c1f52fb784c6254a3d78f4458f4adc90bac7ab1883c8fce8a98f121020469", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking vec_map v0.4.0 [INFO] [stderr] Checking ansi_term v0.7.1 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking strsim v0.4.0 [INFO] [stderr] Checking clap v2.0.3 [INFO] [stderr] Checking minilang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.eat(TokenType::Eof)); [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:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | let decls = try!(self.parse_decls()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | let stmts = try!(self.parse_stmts()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | let _ = try!(self.eat(TokenType::TypeInt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | let _ = try!(self.eat(TokenType::TypeFloat)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | let _ = try!(self.eat(TokenType::TypeString)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | let decl = try!(self.parse_decl()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(self.eat(TokenType::Var)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | try!(self.eat(TokenType::Colon)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | try!(self.eat(TokenType::Semicolon)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | let id = try!(self.eat_lexeme(TokenType::Id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | let ty = try!(self.parse_type()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | let stmt = try!(self.parse_stmt()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | try!(self.eat(TokenType::Read)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | try!(self.eat(TokenType::Semicolon)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | let id = try!(self.eat_lexeme(TokenType::Id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | try!(self.eat(TokenType::Print)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | try!(self.eat(TokenType::Semicolon)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let e = try!(self.parse_expr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | try!(self.eat(TokenType::Equal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | try!(self.eat(TokenType::Semicolon)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | let id = try!(self.eat_lexeme(TokenType::Id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | let e = try!(self.parse_expr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | try!(self.eat(TokenType::If)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | try!(self.eat(TokenType::Then)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | try!(self.eat(TokenType::EndIf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let e = try!(self.parse_expr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | let then_stmts = try!(self.parse_stmts()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | try!(self.eat(TokenType::Else)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | try!(self.parse_stmts()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | try!(self.eat(TokenType::While)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | try!(self.eat(TokenType::Do)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(self.eat(TokenType::Done)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | let e = try!(self.parse_expr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | let stmts = try!(self.parse_stmts()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:210:24 [INFO] [stdout] | [INFO] [stdout] 210 | let mut term = try!(self.parse_term()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | try!(self.eat(tok)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:224:22 [INFO] [stdout] | [INFO] [stdout] 224 | let t2 = try!(self.parse_term()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | let mut fact = try!(self.parse_factor()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | try!(self.eat(tok)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:254:22 [INFO] [stdout] | [INFO] [stdout] 254 | let f2 = try!(self.parse_factor()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | try!(self.eat(TokenType::LParen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | try!(self.eat(TokenType::RParen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 277 | let e = try!(self.parse_expr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | try!(self.eat(TokenType::Minus)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | let e = try!(self.parse_expr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:303:22 [INFO] [stdout] | [INFO] [stdout] 303 | let lexeme = try!(self.eat_lexeme(TokenType::Int)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:318:22 [INFO] [stdout] | [INFO] [stdout] 318 | let lexeme = try!(self.eat_lexeme(TokenType::Float)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:333:22 [INFO] [stdout] | [INFO] [stdout] 333 | let lexeme = try!(self.eat_lexeme(TokenType::String)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:345:22 [INFO] [stdout] | [INFO] [stdout] 345 | let lexeme = try!(self.eat_lexeme(TokenType::Id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | try!(self.tc_decls(&p.decls)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | try!(self.tc_decl(&decl)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | try!(self.tc_stmt(&stmt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | let expr_ty = try!(self.tc_expr(&stmt.expr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | try!(self.tc_expr(&stmt.expr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | let t = try!(self.tc_expr(&stmt.expr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | try!(self.tc_stmts(&stmt.then_stmts)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | try!(self.tc_stmts(&stmt.else_stmts)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | let t = try!(self.tc_expr(&stmt.expr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.eat(TokenType::Eof)); [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/typecheck.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | let ty = try!(match expr.expr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | let t1 = try!(self.tc_expr(&expr.expr1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | let decls = try!(self.parse_decls()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | let t2 = try!(self.tc_expr(&expr.expr2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | let tok = try!(scanner.next_token()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | let stmts = try!(self.parse_stmts()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | let tokens = try!(self.get_tokens()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | let _ = try!(self.eat(TokenType::TypeInt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | let tokens = try!(self.get_tokens()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | let _ = try!(self.eat(TokenType::TypeFloat)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | let ast = try!(parser.parse_program()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | try!(tc.tc_program(&ast)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | let _ = try!(self.eat(TokenType::TypeString)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | let tokens = try!(self.get_tokens()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | let decl = try!(self.parse_decl()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | let ast = try!(parser.parse_program()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(self.eat(TokenType::Var)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | try!(self.eat(TokenType::Colon)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | try!(self.eat(TokenType::Semicolon)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | let id = try!(self.eat_lexeme(TokenType::Id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | let ty = try!(self.parse_type()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | let stmt = try!(self.parse_stmt()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | try!(self.eat(TokenType::Read)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | try!(self.eat(TokenType::Semicolon)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | let id = try!(self.eat_lexeme(TokenType::Id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | try!(self.eat(TokenType::Print)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | try!(self.eat(TokenType::Semicolon)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let e = try!(self.parse_expr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | try!(self.eat(TokenType::Equal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | try!(self.eat(TokenType::Semicolon)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | let id = try!(self.eat_lexeme(TokenType::Id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | let e = try!(self.parse_expr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | try!(self.eat(TokenType::If)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | try!(self.eat(TokenType::Then)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | try!(self.eat(TokenType::EndIf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let e = try!(self.parse_expr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | let then_stmts = try!(self.parse_stmts()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | try!(self.eat(TokenType::Else)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | try!(self.parse_stmts()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | try!(self.eat(TokenType::While)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | try!(self.eat(TokenType::Do)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(self.eat(TokenType::Done)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | let e = try!(self.parse_expr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | let stmts = try!(self.parse_stmts()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:210:24 [INFO] [stdout] | [INFO] [stdout] 210 | let mut term = try!(self.parse_term()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | try!(self.eat(tok)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:224:22 [INFO] [stdout] | [INFO] [stdout] 224 | let t2 = try!(self.parse_term()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | let mut fact = try!(self.parse_factor()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | try!(self.eat(tok)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:254:22 [INFO] [stdout] | [INFO] [stdout] 254 | let f2 = try!(self.parse_factor()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | try!(self.eat(TokenType::LParen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | try!(self.eat(TokenType::RParen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 277 | let e = try!(self.parse_expr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | try!(self.eat(TokenType::Minus)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | let e = try!(self.parse_expr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:303:22 [INFO] [stdout] | [INFO] [stdout] 303 | let lexeme = try!(self.eat_lexeme(TokenType::Int)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:318:22 [INFO] [stdout] | [INFO] [stdout] 318 | let lexeme = try!(self.eat_lexeme(TokenType::Float)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:333:22 [INFO] [stdout] | [INFO] [stdout] 333 | let lexeme = try!(self.eat_lexeme(TokenType::String)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:345:22 [INFO] [stdout] | [INFO] [stdout] 345 | let lexeme = try!(self.eat_lexeme(TokenType::Id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | try!(self.tc_decls(&p.decls)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | try!(self.tc_decl(&decl)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | try!(self.tc_stmt(&stmt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | let expr_ty = try!(self.tc_expr(&stmt.expr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | try!(self.tc_expr(&stmt.expr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | let t = try!(self.tc_expr(&stmt.expr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | try!(self.tc_stmts(&stmt.then_stmts)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | try!(self.tc_stmts(&stmt.else_stmts)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | let t = try!(self.tc_expr(&stmt.expr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | let ty = try!(match expr.expr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | let t1 = try!(self.tc_expr(&expr.expr1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typecheck.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | let t2 = try!(self.tc_expr(&expr.expr2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | let tok = try!(scanner.next_token()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | let tokens = try!(self.get_tokens()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | let tokens = try!(self.get_tokens()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | let ast = try!(parser.parse_program()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | try!(tc.tc_program(&ast)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | let tokens = try!(self.get_tokens()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | let ast = try!(parser.parse_program()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/ast.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct StmtPrint { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 21 | pub pos: Pos, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StmtPrint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/ast.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct ExprInt { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 83 | pub value: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprInt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/ast.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct ExprFloat { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 88 | pub value: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprFloat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/ast.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct ExprString { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 93 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | Int(ExprInt), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr_` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 111 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | Float(ExprFloat), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr_` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 112 | Float(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | String(ExprString), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr_` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 113 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/ast.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct StmtPrint { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 21 | pub pos: Pos, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StmtPrint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/ast.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct ExprInt { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 83 | pub value: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprInt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/ast.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct ExprFloat { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 88 | pub value: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprFloat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/ast.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct ExprString { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 93 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | Int(ExprInt), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr_` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 111 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | Float(ExprFloat), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr_` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 112 | Float(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | String(ExprString), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr_` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 113 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 76 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 76 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0, clap v2.0.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "672c1f52fb784c6254a3d78f4458f4adc90bac7ab1883c8fce8a98f121020469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "672c1f52fb784c6254a3d78f4458f4adc90bac7ab1883c8fce8a98f121020469", kill_on_drop: false }` [INFO] [stdout] 672c1f52fb784c6254a3d78f4458f4adc90bac7ab1883c8fce8a98f121020469