[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewf%2Ftellurium" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andrewf/tellurium on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-8/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02970fe3023f69348f0d72b7d6bccc9e12af14100929856cef5bc6f6ded1d7a0 [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" "02970fe3023f69348f0d72b7d6bccc9e12af14100929856cef5bc6f6ded1d7a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02970fe3023f69348f0d72b7d6bccc9e12af14100929856cef5bc6f6ded1d7a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02970fe3023f69348f0d72b7d6bccc9e12af14100929856cef5bc6f6ded1d7a0", kill_on_drop: false }` [INFO] [stdout] 02970fe3023f69348f0d72b7d6bccc9e12af14100929856cef5bc6f6ded1d7a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] bd750c193c9697b23be0c55e09c12a5005a9f861fd838dd22f05b66e17188347 [INFO] running `Command { std: "docker" "start" "-a" "bd750c193c9697b23be0c55e09c12a5005a9f861fd838dd22f05b66e17188347", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.26 [INFO] [stderr] Checking num-traits v0.1.39 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking num-integer v0.1.34 [INFO] [stderr] Checking num-complex v0.1.38 [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-iter v0.1.33 [INFO] [stderr] Checking num-bigint v0.1.39 [INFO] [stderr] Checking num-rational v0.1.38 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking num v0.1.39 [INFO] [stderr] Checking tellurium v0.0.1 (/opt/rustwide/workdir) [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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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] 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: unused variable: `sig` [INFO] [stdout] --> src/codegen.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | fn codegen_postlude(&self, sig: &FunSignature) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/codegen.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | fn codegen_postlude(&self, sig: &FunSignature) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/typeck.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut types: GlobalTypeNamespace = platform.get_basic_types(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/platform.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | fn codegen_prelude(&self, sig: &FunSignature) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/codegen.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | fn codegen_postlude(&self, sig: &FunSignature) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/codegen.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | fn codegen_postlude(&self, sig: &FunSignature) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/typeck.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut types: GlobalTypeNamespace = platform.get_basic_types(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/platform.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | fn codegen_prelude(&self, sig: &FunSignature) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/typeck.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut types: GlobalTypeNamespace = platform.get_basic_types(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bigint` [INFO] [stdout] --> src/common.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn bigint(n: i64) -> BigInt { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/codegen.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new() -> NodeHw { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_int` [INFO] [stdout] --> src/hw.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn from_int(val: i64) -> Loc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_befores` [INFO] [stdout] --> src/hw.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn with_befores(b: Vec) -> Reqs { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_afters` [INFO] [stdout] --> src/hw.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn with_afters(a: Vec) -> Reqs { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 75 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/typeck.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut types: GlobalTypeNamespace = platform.get_basic_types(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/codegen.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new() -> NodeHw { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_int` [INFO] [stdout] --> src/hw.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn from_int(val: i64) -> Loc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_afters` [INFO] [stdout] --> src/hw.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn with_afters(a: Vec) -> Reqs { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 83 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.61s [INFO] running `Command { std: "docker" "inspect" "bd750c193c9697b23be0c55e09c12a5005a9f861fd838dd22f05b66e17188347", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd750c193c9697b23be0c55e09c12a5005a9f861fd838dd22f05b66e17188347", kill_on_drop: false }` [INFO] [stdout] bd750c193c9697b23be0c55e09c12a5005a9f861fd838dd22f05b66e17188347