[INFO] cloning repository https://github.com/andrewf/tellurium [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrewf/tellurium" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewf%2Ftellurium", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewf%2Ftellurium'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d66eea978ce531cd94cf951e1e239445484bb406 [INFO] checking andrewf/tellurium against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewf%2Ftellurium" "/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/andrewf/tellurium on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andrewf/tellurium [INFO] finished tweaking git repo https://github.com/andrewf/tellurium [INFO] tweaked toml for git repo https://github.com/andrewf/tellurium written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/andrewf/tellurium already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 141fb0feb8d51567e644281e00ad57c6e112bdb7dbca993aac1f078588f02224 [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" "141fb0feb8d51567e644281e00ad57c6e112bdb7dbca993aac1f078588f02224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "141fb0feb8d51567e644281e00ad57c6e112bdb7dbca993aac1f078588f02224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "141fb0feb8d51567e644281e00ad57c6e112bdb7dbca993aac1f078588f02224", kill_on_drop: false }` [INFO] [stdout] 141fb0feb8d51567e644281e00ad57c6e112bdb7dbca993aac1f078588f02224 [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] 3c5b7886720ece6d4b2a335420fc852a05bfea41385e04609b73f1c6bb47be8a [INFO] running `Command { std: "docker" "start" "-a" "3c5b7886720ece6d4b2a335420fc852a05bfea41385e04609b73f1c6bb47be8a", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.26 [INFO] [stderr] Checking num-traits v0.1.39 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking num-integer v0.1.34 [INFO] [stderr] Checking num-iter v0.1.33 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking num-bigint v0.1.39 [INFO] [stderr] Checking num-complex v0.1.38 [INFO] [stderr] Checking num-rational v0.1.38 [INFO] [stderr] Checking num v0.1.39 [INFO] [stderr] Checking tellurium v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(box_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(plugin)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(box_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(plugin)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | try!(writeln!(out, "; generated by Tellurium")); [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/codegen.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | try!(writeln!(out, "section .data")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | try!(writeln!(out, "{}:", v.ld_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | try!(writeln!(out, " dw {}", val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | try!(writeln!(out, "section .text")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | try!(writeln!(out, " extern {}", ex)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | try!(codegen_function(out, plat, &fun)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | let conv = try!(plat.get_calling_convention(&fun.signature.convention)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | try!(writeln!(out, "global {}", fun.ld_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | try!(writeln!(out, "{}:", fun.ld_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:228:31 [INFO] [stdout] | [INFO] [stdout] 228 | let (framesize, nodehw) = try!(register_allocation(&fun.body)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | try!(writeln!(out, "{}", try!(conv.codegen_prelude(&fun.signature)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:231:30 [INFO] [stdout] | [INFO] [stdout] 231 | try!(writeln!(out, "{}", try!(conv.codegen_prelude(&fun.signature)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | try!(writeln!(out, " sub esp, {}", framesize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | try!(writeln!(out, "; node {:?}", stmt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | try!(writeln!(out, "; hw {:?}", hw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | try!(generate_move(out, &tomove.src, &tomove.dst)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:244:32 [INFO] [stdout] | [INFO] [stdout] 244 | let call_loc = try!(hw.inputs [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | try!(writeln!(out, " call {}", try!(hwloc_ref(call_loc)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:256:55 [INFO] [stdout] | [INFO] [stdout] 256 | try!(writeln!(out, " call {}", try!(hwloc_ref(call_loc)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | try!(writeln!(out, " add esp, {}", framesize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | try!(writeln!(out, "{}", try!(conv.codegen_postlude(&fun.signature)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:262:42 [INFO] [stdout] | [INFO] [stdout] 262 | try!(writeln!(out, "{}", try!(conv.codegen_postlude(&fun.signature)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:324:25 [INFO] [stdout] | [INFO] [stdout] 324 | let r = try!(needed_befores.pick_unused_register() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | let r = try!(needed_afters.pick_unused_register() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:360:39 [INFO] [stdout] | [INFO] [stdout] 360 | let before_hw: Vec = try!(reqs.befores [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:371:38 [INFO] [stdout] | [INFO] [stdout] 371 | let after_hw: Vec = try!(reqs.afters [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:443:43 [INFO] [stdout] | [INFO] [stdout] 443 | Ok(format!("DWORD [{} + {}]", try!(hwloc_ref(address)), offset)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | try!(writeln!(out, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:457:27 [INFO] [stdout] | [INFO] [stdout] 457 | try!(hwloc_ref(dst)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:458:27 [INFO] [stdout] | [INFO] [stdout] 458 | try!(hwloc_ref(src)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | let var_scope = try!(make_global_scopes(&functions, &vars, &externs)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | flow_graphs.push(try!(flowgen_function(platform, &var_scope, &f))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:252:18 [INFO] [stdout] | [INFO] [stdout] 252 | graph.reqs = try!(try!(plat.get_calling_convention(conv)).get_hwreqs(&fundef.signature)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:252:23 [INFO] [stdout] | [INFO] [stdout] 252 | graph.reqs = try!(try!(plat.get_calling_convention(conv)).get_hwreqs(&fundef.signature)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | try!(flowgen_expr(expr, plat, &mut graph, &mut localscope)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | let r = try!(flowgen_expr(&vardef.init, plat, &mut graph, &mut localscope)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | let values = try!(flowgen_expr(expr, plat, &mut graph, &mut localscope)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:349:31 [INFO] [stdout] | [INFO] [stdout] 349 | let (slot, _dt) = try!(locals.get(s, graph)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:355:38 [INFO] [stdout] | [INFO] [stdout] 355 | let (callee_slot, sig) = try!(extract_fun(try!(locals.get(name, graph)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:355:55 [INFO] [stdout] | [INFO] [stdout] 355 | let (callee_slot, sig) = try!(extract_fun(try!(locals.get(name, graph)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | try!(input_results.collect()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:375:28 [INFO] [stdout] | [INFO] [stdout] 375 | let mut reqs = try!(try!(plat.get_calling_convention(&sig.convention)).get_hwreqs(&sig)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:375:33 [INFO] [stdout] | [INFO] [stdout] 375 | let mut reqs = try!(try!(plat.get_calling_convention(&sig.convention)).get_hwreqs(&sig)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | let r = try!(flowgen_expr(val, plat, graph, locals)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | try!(locals.put(assignee, r[0], graph)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdout` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::stdout; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::BigInt` [INFO] [stdout] --> src/flowgraph.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num::BigInt; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::repeat` [INFO] [stdout] --> src/codegen.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::repeat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::BigInt` [INFO] [stdout] --> src/codegen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num::BigInt; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flowgraph` [INFO] [stdout] --> src/codegen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use flowgraph; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | -> Result<&CallingConvention, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CallingConvention` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen.rs:184:33 [INFO] [stdout] | [INFO] [stdout] 184 | fn codegen(&self, out: &mut Write, prog: CheckedProgram) -> Result<(), CodeGenError> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | fn codegen_x86(out: &mut Write, plat: &Platform, prog: CheckedProgram) -> Result<(), CodeGenError> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen.rs:189:40 [INFO] [stdout] | [INFO] [stdout] 189 | fn codegen_x86(out: &mut Write, plat: &Platform, prog: CheckedProgram) -> Result<(), CodeGenError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen.rs:218:31 [INFO] [stdout] | [INFO] [stdout] 218 | fn codegen_function(out: &mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen.rs:219:28 [INFO] [stdout] | [INFO] [stdout] 219 | plat: &Platform, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen.rs:449:28 [INFO] [stdout] | [INFO] [stdout] 449 | fn generate_move(out: &mut Write, src: &hw::Loc, dst: &hw::Loc) -> Result<(), CodeGenError> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parsetree::Statement::*` [INFO] [stdout] --> src/typeck.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use parsetree::Statement::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/typeck.rs:246:32 [INFO] [stdout] | [INFO] [stdout] 246 | fn flowgen_function<'a>(plat: &Platform, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/typeck.rs:336:28 [INFO] [stdout] | [INFO] [stdout] 336 | plat: &Platform, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::BigInt` [INFO] [stdout] --> src/typeck.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | use num::BigInt; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/typeck.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::Entry` [INFO] [stdout] --> src/typeck.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | use std::collections::hash_map::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parsetree::Expression::*` [INFO] [stdout] --> src/typeck.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | use parsetree::Expression::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parsetree::Statement` [INFO] [stdout] --> src/typeck.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | use parsetree::Statement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parsetree::Statement::*` [INFO] [stdout] --> src/typeck.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | use parsetree::Statement::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parsetree::FunDef` [INFO] [stdout] --> src/typeck.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | use parsetree::FunDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parsetree::VarDef` [INFO] [stdout] --> src/typeck.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | use parsetree::VarDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parsetree::ExternDef` [INFO] [stdout] --> src/typeck.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | use parsetree::ExternDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::*` [INFO] [stdout] --> src/typeck.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | use common::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flowgraph::*` [INFO] [stdout] --> src/typeck.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | use flowgraph::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/platform.rs:49:72 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_calling_convention(&self, name: &Option) -> Result<&CallingConvention, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CallingConvention` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/platform.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | fn codegen(&self, out: &mut Write, prog: CheckedProgram) -> Result<(), CodeGenError>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `codegen::IntelPlatform` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use codegen::IntelPlatform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | try!(writeln!(out, "; generated by Tellurium")); [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/codegen.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | try!(writeln!(out, "section .data")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | try!(writeln!(out, "{}:", v.ld_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | try!(writeln!(out, " dw {}", val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | try!(writeln!(out, "section .text")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | try!(writeln!(out, " extern {}", ex)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | try!(codegen_function(out, plat, &fun)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | let conv = try!(plat.get_calling_convention(&fun.signature.convention)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | try!(writeln!(out, "global {}", fun.ld_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | try!(writeln!(out, "{}:", fun.ld_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:228:31 [INFO] [stdout] | [INFO] [stdout] 228 | let (framesize, nodehw) = try!(register_allocation(&fun.body)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | try!(writeln!(out, "{}", try!(conv.codegen_prelude(&fun.signature)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:231:30 [INFO] [stdout] | [INFO] [stdout] 231 | try!(writeln!(out, "{}", try!(conv.codegen_prelude(&fun.signature)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | try!(writeln!(out, " sub esp, {}", framesize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | try!(writeln!(out, "; node {:?}", stmt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | try!(writeln!(out, "; hw {:?}", hw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | try!(generate_move(out, &tomove.src, &tomove.dst)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:244:32 [INFO] [stdout] | [INFO] [stdout] 244 | let call_loc = try!(hw.inputs [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | try!(writeln!(out, " call {}", try!(hwloc_ref(call_loc)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:256:55 [INFO] [stdout] | [INFO] [stdout] 256 | try!(writeln!(out, " call {}", try!(hwloc_ref(call_loc)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | try!(writeln!(out, " add esp, {}", framesize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | try!(writeln!(out, "{}", try!(conv.codegen_postlude(&fun.signature)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:262:42 [INFO] [stdout] | [INFO] [stdout] 262 | try!(writeln!(out, "{}", try!(conv.codegen_postlude(&fun.signature)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:324:25 [INFO] [stdout] | [INFO] [stdout] 324 | let r = try!(needed_befores.pick_unused_register() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | let r = try!(needed_afters.pick_unused_register() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:360:39 [INFO] [stdout] | [INFO] [stdout] 360 | let before_hw: Vec = try!(reqs.befores [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:371:38 [INFO] [stdout] | [INFO] [stdout] 371 | let after_hw: Vec = try!(reqs.afters [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:443:43 [INFO] [stdout] | [INFO] [stdout] 443 | Ok(format!("DWORD [{} + {}]", try!(hwloc_ref(address)), offset)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | try!(writeln!(out, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:457:27 [INFO] [stdout] | [INFO] [stdout] 457 | try!(hwloc_ref(dst)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codegen.rs:458:27 [INFO] [stdout] | [INFO] [stdout] 458 | try!(hwloc_ref(src)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | let var_scope = try!(make_global_scopes(&functions, &vars, &externs)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | flow_graphs.push(try!(flowgen_function(platform, &var_scope, &f))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:252:18 [INFO] [stdout] | [INFO] [stdout] 252 | graph.reqs = try!(try!(plat.get_calling_convention(conv)).get_hwreqs(&fundef.signature)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:252:23 [INFO] [stdout] | [INFO] [stdout] 252 | graph.reqs = try!(try!(plat.get_calling_convention(conv)).get_hwreqs(&fundef.signature)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | try!(flowgen_expr(expr, plat, &mut graph, &mut localscope)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | let r = try!(flowgen_expr(&vardef.init, plat, &mut graph, &mut localscope)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | let values = try!(flowgen_expr(expr, plat, &mut graph, &mut localscope)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:349:31 [INFO] [stdout] | [INFO] [stdout] 349 | let (slot, _dt) = try!(locals.get(s, graph)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:355:38 [INFO] [stdout] | [INFO] [stdout] 355 | let (callee_slot, sig) = try!(extract_fun(try!(locals.get(name, graph)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:355:55 [INFO] [stdout] | [INFO] [stdout] 355 | let (callee_slot, sig) = try!(extract_fun(try!(locals.get(name, graph)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | try!(input_results.collect()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:375:28 [INFO] [stdout] | [INFO] [stdout] 375 | let mut reqs = try!(try!(plat.get_calling_convention(&sig.convention)).get_hwreqs(&sig)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:375:33 [INFO] [stdout] | [INFO] [stdout] 375 | let mut reqs = try!(try!(plat.get_calling_convention(&sig.convention)).get_hwreqs(&sig)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | let r = try!(flowgen_expr(val, plat, graph, locals)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/typeck.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | try!(locals.put(assignee, r[0], graph)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdout` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::stdout; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::BigInt` [INFO] [stdout] --> src/flowgraph.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num::BigInt; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::repeat` [INFO] [stdout] --> src/codegen.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::repeat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::FromPrimitive` [INFO] [stdout] --> src/codegen.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::BigInt` [INFO] [stdout] --> src/codegen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num::BigInt; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flowgraph` [INFO] [stdout] --> src/codegen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use flowgraph; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | -> Result<&CallingConvention, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CallingConvention` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen.rs:184:33 [INFO] [stdout] | [INFO] [stdout] 184 | fn codegen(&self, out: &mut Write, prog: CheckedProgram) -> Result<(), CodeGenError> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | fn codegen_x86(out: &mut Write, plat: &Platform, prog: CheckedProgram) -> Result<(), CodeGenError> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen.rs:189:40 [INFO] [stdout] | [INFO] [stdout] 189 | fn codegen_x86(out: &mut Write, plat: &Platform, prog: CheckedProgram) -> Result<(), CodeGenError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen.rs:218:31 [INFO] [stdout] | [INFO] [stdout] 218 | fn codegen_function(out: &mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen.rs:219:28 [INFO] [stdout] | [INFO] [stdout] 219 | plat: &Platform, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen.rs:449:28 [INFO] [stdout] | [INFO] [stdout] 449 | fn generate_move(out: &mut Write, src: &hw::Loc, dst: &hw::Loc) -> Result<(), CodeGenError> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parsetree::Statement::*` [INFO] [stdout] --> src/typeck.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use parsetree::Statement::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/typeck.rs:246:32 [INFO] [stdout] | [INFO] [stdout] 246 | fn flowgen_function<'a>(plat: &Platform, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/typeck.rs:336:28 [INFO] [stdout] | [INFO] [stdout] 336 | plat: &Platform, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/platform.rs:49:72 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_calling_convention(&self, name: &Option) -> Result<&CallingConvention, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CallingConvention` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/platform.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | fn codegen(&self, out: &mut Write, prog: CheckedProgram) -> Result<(), CodeGenError>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `codegen::IntelPlatform` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use codegen::IntelPlatform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tellurium` [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: aborting due to 3 previous errors; 75 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3c5b7886720ece6d4b2a335420fc852a05bfea41385e04609b73f1c6bb47be8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c5b7886720ece6d4b2a335420fc852a05bfea41385e04609b73f1c6bb47be8a", kill_on_drop: false }` [INFO] [stdout] 3c5b7886720ece6d4b2a335420fc852a05bfea41385e04609b73f1c6bb47be8a