[INFO] cloning repository https://github.com/cquinn/meshman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cquinn/meshman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcquinn%2Fmeshman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcquinn%2Fmeshman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28b2364492eade32bbce80ad2888525001e61021 [INFO] checking cquinn/meshman against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcquinn%2Fmeshman" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cquinn/meshman on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cquinn/meshman [INFO] finished tweaking git repo https://github.com/cquinn/meshman [INFO] tweaked toml for git repo https://github.com/cquinn/meshman written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/cquinn/meshman already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.tags [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.tags [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded paste v1.0.5 [INFO] [stderr] Downloaded nalgebra v0.25.3 [INFO] [stderr] Downloaded matrixmultiply v0.3.0 [INFO] [stderr] Downloaded simba v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] 5f3eae32a5162ad204eff2dce88d38af1b8c10978972f1d940e970c3068e1606 [INFO] running `Command { std: "docker" "start" "-a" "5f3eae32a5162ad204eff2dce88d38af1b8c10978972f1d940e970c3068e1606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f3eae32a5162ad204eff2dce88d38af1b8c10978972f1d940e970c3068e1606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f3eae32a5162ad204eff2dce88d38af1b8c10978972f1d940e970c3068e1606", kill_on_drop: false }` [INFO] [stdout] 5f3eae32a5162ad204eff2dce88d38af1b8c10978972f1d940e970c3068e1606 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a9fd3a5a89f53c1452a9c022f2e1c7fd0da457d31c74fd794d1efda687f20a9 [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" "2a9fd3a5a89f53c1452a9c022f2e1c7fd0da457d31c74fd794d1efda687f20a9", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.tags [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking matrixmultiply v0.3.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking simba v0.4.0 [INFO] [stderr] Checking nalgebra v0.25.3 [INFO] [stderr] Checking meshman v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/mesh/vector.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/mesh/vector.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | use std::old_io::{IoResult,Reader,Writer}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/mesh/stl.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use std::old_io::{IoResult,Reader,Writer}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/mesh/pov.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::old_io::{File,IoResult,Reader,Writer}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_path` [INFO] [stdout] --> src/mesh/pov.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use std::old_path::Path; [INFO] [stdout] | ^^^^^^^^ could not find `old_path` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/mesh/amf.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use std::old_io::{File,IoResult,Reader,Writer}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_path` [INFO] [stdout] --> src/mesh/amf.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | use std::old_path::Path; [INFO] [stdout] | ^^^^^^^^ could not find `old_path` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/vector.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let xr = try!(r.read_le_f32()); [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/mesh/vector.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let yr = try!(r.read_le_f32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/vector.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | let zr = try!(r.read_le_f32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/vector.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | try!(w.write_le_f32(self.x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/vector.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | try!(w.write_le_f32(self.y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/vector.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | try!(w.write_le_f32(self.z)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let n = try!(Vector3D::read(r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | let v1 = try!(Vector3D::read(r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | let v2 = try!(Vector3D::read(r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let v3 = try!(Vector3D::read(r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | let abc = try!(r.read_le_u16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(self.n.write(w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(self.v1.write(w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | try!(self.v2.write(w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | try!(self.v3.write(w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | try!(w.write_le_u16(self.abc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!(r.read_at_least(file.header.len(), &mut file.header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | try!(file.read_binary(r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | let facet_count = try!(r.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let f = try!(StlFacet::read(r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | try!(w.write_u8(header.header[i])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | try!(w.write_le_u32(num as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | try!(stl_facet.write(w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/pov.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | try!(file.write_str(&format!("// Source file: {}\n", file_name))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/pov.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | try!(file.write_str(&format!("# declare {} = mesh {{\n", modelname))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/pov.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | try!(file.write_str("}\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/pov.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(modelfile.write_str(&second_pass)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/mesh/vector.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/mesh/vector.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | use std::old_io::{IoResult,Reader,Writer}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/mesh/stl.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use std::old_io::{IoResult,Reader,Writer}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/mesh/stl.rs:191:14 [INFO] [stdout] | [INFO] [stdout] 191 | use std::old_io::BufferedReader; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stdout] --> src/mesh/stl.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | use std::old_io::fs::File; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/mesh/stl.rs:192:14 [INFO] [stdout] | [INFO] [stdout] 192 | use std::old_io::BufferedWriter; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/mesh/pov.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::old_io::{File,IoResult,Reader,Writer}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_path` [INFO] [stdout] --> src/mesh/pov.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use std::old_path::Path; [INFO] [stdout] | ^^^^^^^^ could not find `old_path` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/mesh/amf.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use std::old_io::{File,IoResult,Reader,Writer}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_path` [INFO] [stdout] --> src/mesh/amf.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | use std::old_path::Path; [INFO] [stdout] | ^^^^^^^^ could not find `old_path` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/mesh/stl.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | let meshfile = match File::open(&Path::new(meshname)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/mesh/stl.rs:201:42 [INFO] [stdout] | [INFO] [stdout] 201 | let meshfile = match File::open(&Path::new(meshname)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/mesh/stl.rs:206:31 [INFO] [stdout] | [INFO] [stdout] 206 | let meshfile2 = match File::open(&Path::new(meshname2)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/mesh/stl.rs:206:43 [INFO] [stdout] | [INFO] [stdout] 206 | let meshfile2 = match File::open(&Path::new(meshname2)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/mesh/stl.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | let file = File::create(&Path::new("./Test.stl")).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/mesh/stl.rs:215:38 [INFO] [stdout] | [INFO] [stdout] 215 | let file = File::create(&Path::new("./Test.stl")).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/mesh/stl.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 220 | let file = File::open(&Path::new("./Test.stl")).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/mesh/stl.rs:220:32 [INFO] [stdout] | [INFO] [stdout] 220 | let file = File::open(&Path::new("./Test.stl")).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/vector.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let xr = try!(r.read_le_f32()); [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/mesh/vector.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let yr = try!(r.read_le_f32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/vector.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | let zr = try!(r.read_le_f32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/vector.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | try!(w.write_le_f32(self.x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/vector.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | try!(w.write_le_f32(self.y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/vector.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | try!(w.write_le_f32(self.z)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let n = try!(Vector3D::read(r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | let v1 = try!(Vector3D::read(r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | let v2 = try!(Vector3D::read(r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let v3 = try!(Vector3D::read(r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | let abc = try!(r.read_le_u16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(self.n.write(w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(self.v1.write(w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | try!(self.v2.write(w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | try!(self.v3.write(w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | try!(w.write_le_u16(self.abc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!(r.read_at_least(file.header.len(), &mut file.header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | try!(file.read_binary(r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | let facet_count = try!(r.read_le_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let f = try!(StlFacet::read(r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | try!(w.write_u8(header.header[i])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | try!(w.write_le_u32(num as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/stl.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | try!(stl_facet.write(w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/pov.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | try!(file.write_str(&format!("// Source file: {}\n", file_name))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/pov.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | try!(file.write_str(&format!("# declare {} = mesh {{\n", modelname))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/pov.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | try!(file.write_str("}\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mesh/pov.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(modelfile.write_str(&second_pass)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vector3D: Clone` is not satisfied [INFO] [stdout] --> src/mesh/vector.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(PartialEq, PartialOrd, Copy)] //Show, [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `Vector3D` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Facet: Clone` is not satisfied [INFO] [stdout] --> src/mesh/mesh.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Eq, Hash, Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `Facet` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StlFacet: Clone` is not satisfied [INFO] [stdout] --> src/mesh/stl.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(PartialEq, Eq, Hash, Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `StlFacet` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `meshman` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `vector::Vector3D: Clone` is not satisfied [INFO] [stdout] --> src/mesh/vector.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(PartialEq, PartialOrd, Copy)] //Show, [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `vector::Vector3D` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Facet: Clone` is not satisfied [INFO] [stdout] --> src/mesh/mesh.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Eq, Hash, Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `Facet` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StlFacet: Clone` is not satisfied [INFO] [stdout] --> src/mesh/stl.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(PartialEq, Eq, Hash, Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `StlFacet` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2a9fd3a5a89f53c1452a9c022f2e1c7fd0da457d31c74fd794d1efda687f20a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a9fd3a5a89f53c1452a9c022f2e1c7fd0da457d31c74fd794d1efda687f20a9", kill_on_drop: false }` [INFO] [stdout] 2a9fd3a5a89f53c1452a9c022f2e1c7fd0da457d31c74fd794d1efda687f20a9