[INFO] cloning repository https://github.com/Kethku/vector-8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kethku/vector-8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKethku%2Fvector-8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKethku%2Fvector-8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22fee551f3ba0ad4ac277ef1fbeea878bc1814bb [INFO] checking Kethku/vector-8 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKethku%2Fvector-8" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kethku/vector-8 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/Kethku/vector-8 [INFO] finished tweaking git repo https://github.com/Kethku/vector-8 [INFO] tweaked toml for git repo https://github.com/Kethku/vector-8 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/Kethku/vector-8 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 106f845c8e271a4771b24408578694cddb71b84e1aba37cb738d7355dceb0ea0 [INFO] running `Command { std: "docker" "start" "-a" "106f845c8e271a4771b24408578694cddb71b84e1aba37cb738d7355dceb0ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "106f845c8e271a4771b24408578694cddb71b84e1aba37cb738d7355dceb0ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "106f845c8e271a4771b24408578694cddb71b84e1aba37cb738d7355dceb0ea0", kill_on_drop: false }` [INFO] [stdout] 106f845c8e271a4771b24408578694cddb71b84e1aba37cb738d7355dceb0ea0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stdout] ed4199492d375674da91ecf7d27a04b892f7e9534691732d5f0fb60bf56b334e [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" "ed4199492d375674da91ecf7d27a04b892f7e9534691732d5f0fb60bf56b334e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.54 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bumpalo v2.6.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.19 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.54 [INFO] [stderr] Compiling unicode-segmentation v1.5.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling weedle v0.10.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking sid v0.5.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.54 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.54 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.54 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.54 [INFO] [stderr] Compiling web-sys v0.3.31 [INFO] [stderr] Checking euclid v0.20.3 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking lyon_geom v0.14.1 [INFO] [stderr] Checking js-sys v0.3.31 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking lyon_path v0.14.0 [INFO] [stderr] Checking lyon_algorithms v0.14.0 [INFO] [stderr] Checking lyon_tessellation v0.14.1 [INFO] [stderr] Checking lyon v0.14.1 [INFO] [stderr] Checking vector-8 v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:161:3 [INFO] [stdout] | [INFO] [stdout] 161 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 162 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 163 | | stroke_triangle( [INFO] [stdout] 164 | | point(x1, y1), [INFO] [stdout] ... | [INFO] [stdout] 168 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 169 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:174:3 [INFO] [stdout] | [INFO] [stdout] 174 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 175 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 176 | | stroke_quad( [INFO] [stdout] 177 | | point(x1, y1), [INFO] [stdout] ... | [INFO] [stdout] 182 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 183 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:189:3 [INFO] [stdout] | [INFO] [stdout] 189 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 190 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 191 | | stroke_rectangle( [INFO] [stdout] 192 | | &rect(x - width / 2.0, y - height / 2.0, width, height), [INFO] [stdout] 193 | | &stroke_options(), [INFO] [stdout] 194 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 195 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:42 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern fn js_stroke_polyline(points: Vec, closed: bool, color: f32, id_r: f32, id_g: f32, id_b: f32) { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:200:3 [INFO] [stdout] | [INFO] [stdout] 200 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 201 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 202 | | let constructed_points = points.chunks(2).map(|chunk| point(chunk[0], chunk[1])); [INFO] [stdout] 203 | | stroke_polyline( [INFO] [stdout] ... | [INFO] [stdout] 207 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 208 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:213:3 [INFO] [stdout] | [INFO] [stdout] 213 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 214 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 215 | | stroke_circle( [INFO] [stdout] 216 | | point(x, y), [INFO] [stdout] ... | [INFO] [stdout] 219 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 220 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:225:3 [INFO] [stdout] | [INFO] [stdout] 225 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 226 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 227 | | fill_triangle( [INFO] [stdout] 228 | | point(x1, y1), [INFO] [stdout] ... | [INFO] [stdout] 232 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 233 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:238:3 [INFO] [stdout] | [INFO] [stdout] 238 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 239 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 240 | | fill_quad( [INFO] [stdout] 241 | | point(x1, y1), [INFO] [stdout] ... | [INFO] [stdout] 246 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 247 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:252:3 [INFO] [stdout] | [INFO] [stdout] 252 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 253 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 254 | | fill_rectangle( [INFO] [stdout] 255 | | &rect(x - width / 2.0, y - height / 2.0, width, height), [INFO] [stdout] 256 | | &fill_options(), [INFO] [stdout] 257 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 258 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:262:40 [INFO] [stdout] | [INFO] [stdout] 262 | pub extern fn js_fill_polyline(points: Vec, color: f32, id_r: f32, id_g: f32, id_b: f32) { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:263:3 [INFO] [stdout] | [INFO] [stdout] 263 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 264 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 265 | | let constructed_points = points.chunks(2).map(|chunk| point(chunk[0], chunk[1])); [INFO] [stdout] 266 | | fill_polyline( [INFO] [stdout] ... | [INFO] [stdout] 270 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 271 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:276:3 [INFO] [stdout] | [INFO] [stdout] 276 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 277 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 278 | | fill_circle( [INFO] [stdout] 279 | | point(x, y), [INFO] [stdout] ... | [INFO] [stdout] 282 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 283 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:161:3 [INFO] [stdout] | [INFO] [stdout] 161 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 162 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 163 | | stroke_triangle( [INFO] [stdout] 164 | | point(x1, y1), [INFO] [stdout] ... | [INFO] [stdout] 168 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 169 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:174:3 [INFO] [stdout] | [INFO] [stdout] 174 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 175 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 176 | | stroke_quad( [INFO] [stdout] 177 | | point(x1, y1), [INFO] [stdout] ... | [INFO] [stdout] 182 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 183 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:189:3 [INFO] [stdout] | [INFO] [stdout] 189 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 190 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 191 | | stroke_rectangle( [INFO] [stdout] 192 | | &rect(x - width / 2.0, y - height / 2.0, width, height), [INFO] [stdout] 193 | | &stroke_options(), [INFO] [stdout] 194 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 195 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:42 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern fn js_stroke_polyline(points: Vec, closed: bool, color: f32, id_r: f32, id_g: f32, id_b: f32) { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:200:3 [INFO] [stdout] | [INFO] [stdout] 200 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 201 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 202 | | let constructed_points = points.chunks(2).map(|chunk| point(chunk[0], chunk[1])); [INFO] [stdout] 203 | | stroke_polyline( [INFO] [stdout] ... | [INFO] [stdout] 207 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 208 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:213:3 [INFO] [stdout] | [INFO] [stdout] 213 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 214 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 215 | | stroke_circle( [INFO] [stdout] 216 | | point(x, y), [INFO] [stdout] ... | [INFO] [stdout] 219 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 220 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:225:3 [INFO] [stdout] | [INFO] [stdout] 225 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 226 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 227 | | fill_triangle( [INFO] [stdout] 228 | | point(x1, y1), [INFO] [stdout] ... | [INFO] [stdout] 232 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 233 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:238:3 [INFO] [stdout] | [INFO] [stdout] 238 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 239 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 240 | | fill_quad( [INFO] [stdout] 241 | | point(x1, y1), [INFO] [stdout] ... | [INFO] [stdout] 246 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 247 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:252:3 [INFO] [stdout] | [INFO] [stdout] 252 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 253 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 254 | | fill_rectangle( [INFO] [stdout] 255 | | &rect(x - width / 2.0, y - height / 2.0, width, height), [INFO] [stdout] 256 | | &fill_options(), [INFO] [stdout] 257 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 258 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:262:40 [INFO] [stdout] | [INFO] [stdout] 262 | pub extern fn js_fill_polyline(points: Vec, color: f32, id_r: f32, id_g: f32, id_b: f32) { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:263:3 [INFO] [stdout] | [INFO] [stdout] 263 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 264 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 265 | | let constructed_points = points.chunks(2).map(|chunk| point(chunk[0], chunk[1])); [INFO] [stdout] 266 | | fill_polyline( [INFO] [stdout] ... | [INFO] [stdout] 270 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 271 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:276:3 [INFO] [stdout] | [INFO] [stdout] 276 | / OUTPUT.with(|output_cell| { [INFO] [stdout] 277 | | let mut output = output_cell.borrow_mut(); [INFO] [stdout] 278 | | fill_circle( [INFO] [stdout] 279 | | point(x, y), [INFO] [stdout] ... | [INFO] [stdout] 282 | | &mut ToFloatArrayWithColor::new(color, id_r, id_g, id_b, &mut output)) [INFO] [stdout] 283 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "ed4199492d375674da91ecf7d27a04b892f7e9534691732d5f0fb60bf56b334e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed4199492d375674da91ecf7d27a04b892f7e9534691732d5f0fb60bf56b334e", kill_on_drop: false }` [INFO] [stdout] ed4199492d375674da91ecf7d27a04b892f7e9534691732d5f0fb60bf56b334e