[INFO] cloning repository https://github.com/guillaumebort/glue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guillaumebort/glue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguillaumebort%2Fglue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguillaumebort%2Fglue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2cc739fd971e58138e96a36663a77bc2b342efaf [INFO] checking guillaumebort/glue against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguillaumebort%2Fglue" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guillaumebort/glue on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/guillaumebort/glue [INFO] finished tweaking git repo https://github.com/guillaumebort/glue [INFO] tweaked toml for git repo https://github.com/guillaumebort/glue written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/guillaumebort/glue already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c49a92564cf6166823c197abbf953d6244d0d6323cb644d4504ed831b8977ea5 [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" "c49a92564cf6166823c197abbf953d6244d0d6323cb644d4504ed831b8977ea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c49a92564cf6166823c197abbf953d6244d0d6323cb644d4504ed831b8977ea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c49a92564cf6166823c197abbf953d6244d0d6323cb644d4504ed831b8977ea5", kill_on_drop: false }` [INFO] [stdout] c49a92564cf6166823c197abbf953d6244d0d6323cb644d4504ed831b8977ea5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c354df414b5e504d00f5255344d49b4356737ff52c9b8ff5ae3519f482fd378b [INFO] running `Command { std: "docker" "start" "-a" "c354df414b5e504d00f5255344d49b4356737ff52c9b8ff5ae3519f482fd378b", kill_on_drop: false }` [INFO] [stderr] Checking glue v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid suffix `u` for integer literal [INFO] [stdout] --> src/assembler/x86_64.rs:118:66 [INFO] [stdout] | [INFO] [stdout] 118 | bytes.extend(extensions::u64_to_le_bytes(imm as u64, 4u, |v| v.to_vec()).into_iter()); [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for integer literal [INFO] [stdout] --> src/assembler/x86_64.rs:134:66 [INFO] [stdout] | [INFO] [stdout] 134 | bytes.extend(extensions::u64_to_le_bytes(imm as u64, 8u, |v| v.to_vec()).into_iter()); [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/assembler/x86_64.rs:228:29 [INFO] [stdout] | [INFO] [stdout] 228 | impl Parameter for [Register, ..1] { [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/macros.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | macro_rules! jit_fn ( [INFO] [stdout] | _____________________^ [INFO] [stdout] 3 | | ($jit_function:ident, ($($arg_type:ty),*) -> $return_type:ty) => ( [INFO] [stdout] 4 | | unsafe { [INFO] [stdout] 5 | | let f: extern "C" fn($($arg_type),*) -> $return_type = std::mem::transmute($jit_function.compile()); [INFO] [stdout] ... | [INFO] [stdout] 8 | | ) [INFO] [stdout] 9 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 2 | macro_rules! jit_fn { [INFO] [stdout] 3 | ($jit_function:ident, ($($arg_type:ty),*) -> $return_type:ty) => ( [INFO] [stdout] 4 | unsafe { [INFO] [stdout] 5 | let f: extern "C" fn($($arg_type),*) -> $return_type = std::mem::transmute($jit_function.compile()); [INFO] [stdout] 6 | f [INFO] [stdout] 7 | } [INFO] [stdout] ... [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 9 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/macros.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | macro_rules! jit_lazy_fn ( [INFO] [stdout] | __________________________^ [INFO] [stdout] 12 | | ($jit_function:ident, ($($arg_type:ty),*) -> $return_type:ty, $jit_compiler:ident) => ( [INFO] [stdout] 13 | | unsafe { [INFO] [stdout] 14 | | let f: extern "C" fn($($arg_type),*) -> $return_type = std::mem::transmute($jit_function.lazy($jit_compiler)); [INFO] [stdout] ... | [INFO] [stdout] 17 | | ) [INFO] [stdout] 18 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 11 | macro_rules! jit_lazy_fn { [INFO] [stdout] 12 | ($jit_function:ident, ($($arg_type:ty),*) -> $return_type:ty, $jit_compiler:ident) => ( [INFO] [stdout] 13 | unsafe { [INFO] [stdout] 14 | let f: extern "C" fn($($arg_type),*) -> $return_type = std::mem::transmute($jit_function.lazy($jit_compiler)); [INFO] [stdout] 15 | f [INFO] [stdout] 16 | } [INFO] [stdout] ... [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 18 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `s` [INFO] [stdout] --> src/lib.rs:46:52 [INFO] [stdout] | [INFO] [stdout] 46 | string.push_str(format!("\t{:016x}:\t{:24s}", address, bytes).as_slice()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::sync::RWLock` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::RWLock; [INFO] [stdout] | ^^^^^^^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module (notice the capitalization): `RwLock` [INFO] [stdout] | no `RWLock` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fail!() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/lib.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | fail!("Jit Function {} already defined", name) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/lib.rs:137:3 [INFO] [stdout] | [INFO] [stdout] 137 | fail!() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/lib.rs:162:7 [INFO] [stdout] | [INFO] [stdout] 162 | fail!() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for integer literal [INFO] [stdout] --> src/assembler/x86_64.rs:118:66 [INFO] [stdout] | [INFO] [stdout] 118 | bytes.extend(extensions::u64_to_le_bytes(imm as u64, 4u, |v| v.to_vec()).into_iter()); [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for integer literal [INFO] [stdout] --> src/assembler/x86_64.rs:134:66 [INFO] [stdout] | [INFO] [stdout] 134 | bytes.extend(extensions::u64_to_le_bytes(imm as u64, 8u, |v| v.to_vec()).into_iter()); [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/assembler/x86_64.rs:228:29 [INFO] [stdout] | [INFO] [stdout] 228 | impl Parameter for [Register, ..1] { [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/macros.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | macro_rules! jit_fn ( [INFO] [stdout] | _____________________^ [INFO] [stdout] 3 | | ($jit_function:ident, ($($arg_type:ty),*) -> $return_type:ty) => ( [INFO] [stdout] 4 | | unsafe { [INFO] [stdout] 5 | | let f: extern "C" fn($($arg_type),*) -> $return_type = std::mem::transmute($jit_function.compile()); [INFO] [stdout] ... | [INFO] [stdout] 8 | | ) [INFO] [stdout] 9 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 2 | macro_rules! jit_fn { [INFO] [stdout] 3 | ($jit_function:ident, ($($arg_type:ty),*) -> $return_type:ty) => ( [INFO] [stdout] 4 | unsafe { [INFO] [stdout] 5 | let f: extern "C" fn($($arg_type),*) -> $return_type = std::mem::transmute($jit_function.compile()); [INFO] [stdout] 6 | f [INFO] [stdout] 7 | } [INFO] [stdout] ... [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 9 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/macros.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | macro_rules! jit_lazy_fn ( [INFO] [stdout] | __________________________^ [INFO] [stdout] 12 | | ($jit_function:ident, ($($arg_type:ty),*) -> $return_type:ty, $jit_compiler:ident) => ( [INFO] [stdout] 13 | | unsafe { [INFO] [stdout] 14 | | let f: extern "C" fn($($arg_type),*) -> $return_type = std::mem::transmute($jit_function.lazy($jit_compiler)); [INFO] [stdout] ... | [INFO] [stdout] 17 | | ) [INFO] [stdout] 18 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 11 | macro_rules! jit_lazy_fn { [INFO] [stdout] 12 | ($jit_function:ident, ($($arg_type:ty),*) -> $return_type:ty, $jit_compiler:ident) => ( [INFO] [stdout] 13 | unsafe { [INFO] [stdout] 14 | let f: extern "C" fn($($arg_type),*) -> $return_type = std::mem::transmute($jit_function.lazy($jit_compiler)); [INFO] [stdout] 15 | f [INFO] [stdout] 16 | } [INFO] [stdout] ... [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 18 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `s` [INFO] [stdout] --> src/lib.rs:46:52 [INFO] [stdout] | [INFO] [stdout] 46 | string.push_str(format!("\t{:016x}:\t{:24s}", address, bytes).as_slice()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::sync::RWLock` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::RWLock; [INFO] [stdout] | ^^^^^^^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module (notice the capitalization): `RwLock` [INFO] [stdout] | no `RWLock` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fail!() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/lib.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | fail!("Jit Function {} already defined", name) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/lib.rs:137:3 [INFO] [stdout] | [INFO] [stdout] 137 | fail!() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/lib.rs:162:7 [INFO] [stdout] | [INFO] [stdout] 162 | fail!() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MemoryMap` in `os` [INFO] [stdout] --> src/lib.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 149 | mem: os::MemoryMap::new(bytes, [os::MapReadable, os::MapWritable, os::MapExecutable]).unwrap(), [INFO] [stdout] | ^^^^^^^^^ could not find `MemoryMap` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/lib.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct JitFunction { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 21 | name: String, [INFO] [stdout] 22 | code: Vec<(Vec, Option)>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/lib.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn code(&mut self, code: &[Instruction]) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/lib.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | for l in range(0, std::cmp::max(1, lines)) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `copy_memory` in module `ptr` [INFO] [stdout] --> src/lib.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | ptr::copy_memory(function_pointer, bytes.as_ptr(), bytes.len()); [INFO] [stdout] | ^^^^^^^^^^^ not found in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | static PAGE_SIZE: uint = 4096; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe fn allocate_memory(&mut self, bytes: uint) -> *mut u8 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/lib.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | fn trampoline() -> Vec { [INFO] [stdout] | - ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MemoryMap` in module `os` [INFO] [stdout] --> src/lib.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | mem: os::MemoryMap, [INFO] [stdout] | ^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | allocation_pointer: uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | fn new(bytes: uint) -> MemoryRegion { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MapReadable` in module `os` [INFO] [stdout] --> src/lib.rs:149:43 [INFO] [stdout] | [INFO] [stdout] 149 | mem: os::MemoryMap::new(bytes, [os::MapReadable, os::MapWritable, os::MapExecutable]).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MapWritable` in module `os` [INFO] [stdout] --> src/lib.rs:149:60 [INFO] [stdout] | [INFO] [stdout] 149 | mem: os::MemoryMap::new(bytes, [os::MapReadable, os::MapWritable, os::MapExecutable]).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MapExecutable` in module `os` [INFO] [stdout] --> src/lib.rs:149:77 [INFO] [stdout] | [INFO] [stdout] 149 | mem: os::MemoryMap::new(bytes, [os::MapReadable, os::MapWritable, os::MapExecutable]).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | fn left_space(&self) -> uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:158:40 [INFO] [stdout] | [INFO] [stdout] 158 | unsafe fn allocate(&mut self, bytes: uint) -> *mut u8 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:159:65 [INFO] [stdout] | [INFO] [stdout] 159 | let ptr = self.mem.data().offset(self.allocation_pointer as int); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / macro_rules! jit_lazy_fn ( [INFO] [stdout] 12 | | ($jit_function:ident, ($($arg_type:ty),*) -> $return_type:ty, $jit_compiler:ident) => ( [INFO] [stdout] 13 | | unsafe { [INFO] [stdout] 14 | | let f: extern "C" fn($($arg_type),*) -> $return_type = std::mem::transmute($jit_function.lazy($jit_compiler)); [INFO] [stdout] ... | [INFO] [stdout] 17 | | ) [INFO] [stdout] 18 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MemoryMap` in `os` [INFO] [stdout] --> src/lib.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 149 | mem: os::MemoryMap::new(bytes, [os::MapReadable, os::MapWritable, os::MapExecutable]).unwrap(), [INFO] [stdout] | ^^^^^^^^^ could not find `MemoryMap` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/lib.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct JitFunction { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 21 | name: String, [INFO] [stdout] 22 | code: Vec<(Vec, Option)>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/lib.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn code(&mut self, code: &[Instruction]) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/lib.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | for l in range(0, std::cmp::max(1, lines)) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `copy_memory` in module `ptr` [INFO] [stdout] --> src/lib.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | ptr::copy_memory(function_pointer, bytes.as_ptr(), bytes.len()); [INFO] [stdout] | ^^^^^^^^^^^ not found in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | static PAGE_SIZE: uint = 4096; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe fn allocate_memory(&mut self, bytes: uint) -> *mut u8 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/lib.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | fn trampoline() -> Vec { [INFO] [stdout] | - ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MemoryMap` in module `os` [INFO] [stdout] --> src/lib.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | mem: os::MemoryMap, [INFO] [stdout] | ^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | allocation_pointer: uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | fn new(bytes: uint) -> MemoryRegion { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MapReadable` in module `os` [INFO] [stdout] --> src/lib.rs:149:43 [INFO] [stdout] | [INFO] [stdout] 149 | mem: os::MemoryMap::new(bytes, [os::MapReadable, os::MapWritable, os::MapExecutable]).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MapWritable` in module `os` [INFO] [stdout] --> src/lib.rs:149:60 [INFO] [stdout] | [INFO] [stdout] 149 | mem: os::MemoryMap::new(bytes, [os::MapReadable, os::MapWritable, os::MapExecutable]).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MapExecutable` in module `os` [INFO] [stdout] --> src/lib.rs:149:77 [INFO] [stdout] | [INFO] [stdout] 149 | mem: os::MemoryMap::new(bytes, [os::MapReadable, os::MapWritable, os::MapExecutable]).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | fn left_space(&self) -> uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:158:40 [INFO] [stdout] | [INFO] [stdout] 158 | unsafe fn allocate(&mut self, bytes: uint) -> *mut u8 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:159:65 [INFO] [stdout] | [INFO] [stdout] 159 | let ptr = self.mem.data().offset(self.allocation_pointer as int); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / macro_rules! jit_lazy_fn ( [INFO] [stdout] 12 | | ($jit_function:ident, ($($arg_type:ty),*) -> $return_type:ty, $jit_compiler:ident) => ( [INFO] [stdout] 13 | | unsafe { [INFO] [stdout] 14 | | let f: extern "C" fn($($arg_type),*) -> $return_type = std::mem::transmute($jit_function.lazy($jit_compiler)); [INFO] [stdout] ... | [INFO] [stdout] 17 | | ) [INFO] [stdout] 18 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `glue` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c354df414b5e504d00f5255344d49b4356737ff52c9b8ff5ae3519f482fd378b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c354df414b5e504d00f5255344d49b4356737ff52c9b8ff5ae3519f482fd378b", kill_on_drop: false }` [INFO] [stdout] c354df414b5e504d00f5255344d49b4356737ff52c9b8ff5ae3519f482fd378b