[INFO] cloning repository https://github.com/MUDS7/hello-wasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MUDS7/hello-wasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMUDS7%2Fhello-wasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMUDS7%2Fhello-wasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfde38c473f8916c8c96c396d08d68e296446a81 [INFO] checking MUDS7/hello-wasm against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMUDS7%2Fhello-wasm" "/workspace/builds/worker-105/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-105/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MUDS7/hello-wasm on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MUDS7/hello-wasm [INFO] finished tweaking git repo https://github.com/MUDS7/hello-wasm [INFO] tweaked toml for git repo https://github.com/MUDS7/hello-wasm written to /workspace/builds/worker-105/source/Cargo.toml [INFO] crate git repo https://github.com/MUDS7/hello-wasm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--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 snowflake v1.3.0 [INFO] [stderr] Downloaded slab_tree v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13c71c78deada1f1722d057986b791cabfa82786c92ff6624d2ada5f9f3aa06e [INFO] running `Command { std: "docker" "start" "-a" "13c71c78deada1f1722d057986b791cabfa82786c92ff6624d2ada5f9f3aa06e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13c71c78deada1f1722d057986b791cabfa82786c92ff6624d2ada5f9f3aa06e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13c71c78deada1f1722d057986b791cabfa82786c92ff6624d2ada5f9f3aa06e", kill_on_drop: false }` [INFO] [stdout] 13c71c78deada1f1722d057986b791cabfa82786c92ff6624d2ada5f9f3aa06e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 450f6a3f411a9e5e7b9458792b31cffbe51c003e1f2d86a8aa4dc081d2af95ec [INFO] running `Command { std: "docker" "start" "-a" "450f6a3f411a9e5e7b9458792b31cffbe51c003e1f2d86a8aa4dc081d2af95ec", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.74 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.74 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking snowflake v1.3.0 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking slab_tree v0.3.2 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.74 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.74 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.74 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking PIPE-100-b-1 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib.rs (5 fixes) [INFO] [stderr] Fixed src/shapes.rs (5 fixes) [INFO] [stderr] Fixed src/names.rs (1 fix) [INFO] [stderr] Fixed src/parse_rvm.rs (17 fixes) [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/parse_rvm.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | _ => Err(panic!("Problem opening the file")), [INFO] [stdout] | ^^^ ---------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/parse_rvm.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | _ => Err(panic!("Problem opening the file")), [INFO] [stdout] | ^^^ ---------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | 1.0=>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | 2.0=>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | 3.0=>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | 4.0=>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | 5.0=>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | 6.0=>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | 7.0=>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | 8.0=>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | 9.0=>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | 10.0=>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | 11.0=>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | 1.0=>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | 2.0=>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | 3.0=>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | 4.0=>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | 5.0=>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | 6.0=>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | 7.0=>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | 8.0=>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | 9.0=>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | 10.0=>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/parse_rvm.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | 11.0=>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_separated` [INFO] [stdout] --> src/parse_rvm.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn parse_separated(input:&str)->IResult<&str,Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tuple_f64` [INFO] [stdout] --> src/parse_rvm.rs:282:4 [INFO] [stdout] | [INFO] [stdout] 282 | fn tuple_f64(input:&str)->IResult<&str,f64>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `PIPE_100_b_1` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `pipe_100_b_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HEAD` should have a snake case name [INFO] [stdout] --> src/lib.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | let (input,HEAD)=parse_head(file).unwrap(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MODL` should have a snake case name [INFO] [stdout] --> src/lib.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let (input,MODL)=parse_modl(input).unwrap(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `modl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M_3x4` should have a snake case name [INFO] [stdout] --> src/names.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub M_3x4:Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `m_3x4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `bboxLocal` should have a snake case name [INFO] [stdout] --> src/names.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub bboxLocal:[f32;6], [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `bbox_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `baseRadius` should have a snake case name [INFO] [stdout] --> src/shapes.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | pub baseRadius:f32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `base_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `baseRadius` should have a snake case name [INFO] [stdout] --> src/shapes.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | pub baseRadius:f32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `base_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_rectangularTorus` should have a snake case name [INFO] [stdout] --> src/shapes.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn tuple_rectangularTorus(input:&str)->IResult<&str,RectangularTorus>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tuple_rectangular_torus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_CircularTorus` should have a snake case name [INFO] [stdout] --> src/shapes.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn tuple_CircularTorus(input:&str)->IResult<&str,CircularTorus>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tuple_circular_torus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_EllipticalDish` should have a snake case name [INFO] [stdout] --> src/shapes.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn tuple_EllipticalDish(input:&str)->IResult<&str,EllipticalDish>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tuple_elliptical_dish` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_SphericalDish` should have a snake case name [INFO] [stdout] --> src/shapes.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn tuple_SphericalDish(input:&str)->IResult<&str,SphericalDish>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tuple_spherical_dish` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_Snout` should have a snake case name [INFO] [stdout] --> src/shapes.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn tuple_Snout(input:&str)->IResult<&str,Snout>{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `tuple_snout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_Cylinder` should have a snake case name [INFO] [stdout] --> src/shapes.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn tuple_Cylinder(input:&str)->IResult<&str,Cylinder>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `tuple_cylinder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_Sphere` should have a snake case name [INFO] [stdout] --> src/shapes.rs:337:8 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn tuple_Sphere(input:&str)->IResult<&str,Sphere>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `tuple_sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_Line` should have a snake case name [INFO] [stdout] --> src/shapes.rs:347:8 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn tuple_Line(input:&str)->IResult<&str,Line>{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tuple_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_FacetGroup` should have a snake case name [INFO] [stdout] --> src/shapes.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn tuple_FacetGroup(mut input: &str, mut arr:Vec<[f32;6]>) ->IResult<&str, FacetGroup> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tuple_facet_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CNTB` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let CNTB=CNTB{ [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `cntb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M3x4` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | let (input,(_,_,types,M3x4,bboxLocal))=tuple(( [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `m3x4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bboxLocal` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | let (input,(_,_,types,M3x4,bboxLocal))=tuple(( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `bbox_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rectangularTorus` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | let (input,rectangularTorus)=tuple_rectangularTorus(input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rectangular_torus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `circularTorus` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | let (input,circularTorus)=tuple_CircularTorus(input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `circular_torus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sphericalDish` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | let (input,sphericalDish)=tuple_SphericalDish(input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `spherical_dish` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lineShape` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:158:24 [INFO] [stdout] | [INFO] [stdout] 158 | let (input,lineShape)=tuple_Line(input).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `line_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_M3x4` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn parse_M3x4(input:&str)->IResult<&str,Vec>{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parse_m3x4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_bboxLocal` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn parse_bboxLocal(input:&str)->IResult<&str,[f32;6]>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_bbox_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `PIPE_100_b_1` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `pipe_100_b_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HEAD` should have a snake case name [INFO] [stdout] --> src/lib.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | let (input,HEAD)=parse_head(file).unwrap(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MODL` should have a snake case name [INFO] [stdout] --> src/lib.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let (input,MODL)=parse_modl(input).unwrap(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `modl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M_3x4` should have a snake case name [INFO] [stdout] --> src/names.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub M_3x4:Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `m_3x4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `bboxLocal` should have a snake case name [INFO] [stdout] --> src/names.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub bboxLocal:[f32;6], [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `bbox_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `baseRadius` should have a snake case name [INFO] [stdout] --> src/shapes.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | pub baseRadius:f32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `base_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `baseRadius` should have a snake case name [INFO] [stdout] --> src/shapes.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | pub baseRadius:f32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `base_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_rectangularTorus` should have a snake case name [INFO] [stdout] --> src/shapes.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn tuple_rectangularTorus(input:&str)->IResult<&str,RectangularTorus>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tuple_rectangular_torus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_CircularTorus` should have a snake case name [INFO] [stdout] --> src/shapes.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn tuple_CircularTorus(input:&str)->IResult<&str,CircularTorus>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tuple_circular_torus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_EllipticalDish` should have a snake case name [INFO] [stdout] --> src/shapes.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn tuple_EllipticalDish(input:&str)->IResult<&str,EllipticalDish>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tuple_elliptical_dish` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_SphericalDish` should have a snake case name [INFO] [stdout] --> src/shapes.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn tuple_SphericalDish(input:&str)->IResult<&str,SphericalDish>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tuple_spherical_dish` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_Snout` should have a snake case name [INFO] [stdout] --> src/shapes.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn tuple_Snout(input:&str)->IResult<&str,Snout>{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `tuple_snout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_Cylinder` should have a snake case name [INFO] [stdout] --> src/shapes.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn tuple_Cylinder(input:&str)->IResult<&str,Cylinder>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `tuple_cylinder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_Sphere` should have a snake case name [INFO] [stdout] --> src/shapes.rs:337:8 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn tuple_Sphere(input:&str)->IResult<&str,Sphere>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `tuple_sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_Line` should have a snake case name [INFO] [stdout] --> src/shapes.rs:347:8 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn tuple_Line(input:&str)->IResult<&str,Line>{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tuple_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_FacetGroup` should have a snake case name [INFO] [stdout] --> src/shapes.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn tuple_FacetGroup(mut input: &str, mut arr:Vec<[f32;6]>) ->IResult<&str, FacetGroup> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tuple_facet_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_tuple_FacetGroup` should have a snake case name [INFO] [stdout] --> src/shapes.rs:402:4 [INFO] [stdout] | [INFO] [stdout] 402 | fn test_tuple_FacetGroup(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_tuple_facet_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CNTB` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let CNTB=CNTB{ [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `cntb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M3x4` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | let (input,(_,_,types,M3x4,bboxLocal))=tuple(( [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `m3x4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bboxLocal` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | let (input,(_,_,types,M3x4,bboxLocal))=tuple(( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `bbox_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rectangularTorus` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | let (input,rectangularTorus)=tuple_rectangularTorus(input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rectangular_torus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `circularTorus` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | let (input,circularTorus)=tuple_CircularTorus(input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `circular_torus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sphericalDish` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | let (input,sphericalDish)=tuple_SphericalDish(input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `spherical_dish` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lineShape` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:158:24 [INFO] [stdout] | [INFO] [stdout] 158 | let (input,lineShape)=tuple_Line(input).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `line_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_M3x4` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn parse_M3x4(input:&str)->IResult<&str,Vec>{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parse_m3x4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_bboxLocal` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn parse_bboxLocal(input:&str)->IResult<&str,[f32;6]>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_bbox_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parse_M3x4` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn test_parse_M3x4(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_parse_m3x4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parse_bboxLocal` should have a snake case name [INFO] [stdout] --> src/parse_rvm.rs:246:4 [INFO] [stdout] | [INFO] [stdout] 246 | fn test_parse_bboxLocal(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_parse_bbox_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/D:/test_binary.rvm: No such file or directory (os error 2) [INFO] [stdout] --> src/parse_binary.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | let file=include_bytes!("D:/test_binary.rvm"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/D:/RustProject/PIPE-100-b-1/rvm_txt.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | let file=&String::from_utf8_lossy(include_bytes!("D:/RustProject/PIPE-100-b-1/rvm_txt.txt")).to_string() as &str ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/parse_binary.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/parse_binary.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `le_f32` [INFO] [stdout] --> src/parse_binary.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::number::complete::{le_u8, be_u8, le_f32, be_f32}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::multi::separated_list0` [INFO] [stdout] --> src/parse_binary.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::multi::separated_list0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_a`, `is_not`, `tag`, `take_until` [INFO] [stdout] --> src/parse_binary.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use nom::bytes::complete::{tag, take_until, is_not, take_while, is_a}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/parse_binary.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `multispace0`, `multispace1` [INFO] [stdout] --> src/parse_binary.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use nom::character::complete::{multispace0, multispace1}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `parse_bboxLocal`, `parse_cnte`, `parse_version` [INFO] [stdout] --> src/parse_binary.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::parse_rvm::{parse_version, parse_cnte, parse_bboxLocal}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_alphanumeric`, `is_digit`, `is_space` [INFO] [stdout] --> src/parse_binary.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use nom::character::{is_alphanumeric, is_space, is_digit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rt::panic_count::count_is_zero` [INFO] [stdout] --> src/parse_binary.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::rt::panic_count::count_is_zero; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::__private::from_utf8_lossy` [INFO] [stdout] --> src/parse_binary.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::__private::from_utf8_lossy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `parse_modl`, `shapes` [INFO] [stdout] --> src/parse_binary.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{parse_modl, shapes}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PrimShapes` [INFO] [stdout] --> src/parse_binary.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::shapes::{Pyramid, PrimShapes, Box, RectangularTorus, CircularTorus, EllipticalDish, SphericalDish, Snout, Cylinder, Sphere, Li... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::sequence::tuple` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use nom::sequence::tuple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alpha1`, `multispace0` [INFO] [stdout] --> src/main.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | use nom::character::complete::{alpha1, multispace0}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::IResult` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use nom::IResult; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `tag`, `take_until` [INFO] [stdout] --> src/main.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use nom::bytes::complete::{tag, take_until}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CNTB`, `MODL` [INFO] [stdout] --> src/main.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::names::{HEAD, MODL, CNTB, Group}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `parse_cntb`, `parse_cnte`, `parse_prim`, `parse_translation`, `parse_version` [INFO] [stdout] --> src/main.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::parse_rvm::{parse_version, parse_translation, parse_cntb, parse_prim, parse_cnte}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::take` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::mem::take; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::number::complete::float` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use nom::number::complete::float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> src/main.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | use std::borrow::{ Borrow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsValue` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/parse_rvm.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | _ => Err(panic!("Problem opening the file")), [INFO] [stdout] | ^^^ ---------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/parse_binary.rs:343:14 [INFO] [stdout] | [INFO] [stdout] 343 | _ => Err(panic!("Problem opening the file")), [INFO] [stdout] | ^^^ ---------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `PIPE-100-b-1` due to 3 previous errors; 26 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: couldn't read src/D:/RustProject/PIPE-100-b-1/rvm_txt.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | let file=&String::from_utf8_lossy(include_bytes!("D:/RustProject/PIPE-100-b-1/rvm_txt.txt")).to_string() as &str ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/parse_binary.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/parse_binary.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `le_f32` [INFO] [stdout] --> src/parse_binary.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::number::complete::{le_u8, be_u8, le_f32, be_f32}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::multi::separated_list0` [INFO] [stdout] --> src/parse_binary.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::multi::separated_list0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_a`, `is_not`, `tag`, `take_until` [INFO] [stdout] --> src/parse_binary.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use nom::bytes::complete::{tag, take_until, is_not, take_while, is_a}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/parse_binary.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `multispace0`, `multispace1` [INFO] [stdout] --> src/parse_binary.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use nom::character::complete::{multispace0, multispace1}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `parse_bboxLocal`, `parse_cnte`, `parse_version` [INFO] [stdout] --> src/parse_binary.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::parse_rvm::{parse_version, parse_cnte, parse_bboxLocal}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_alphanumeric`, `is_digit`, `is_space` [INFO] [stdout] --> src/parse_binary.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use nom::character::{is_alphanumeric, is_space, is_digit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rt::panic_count::count_is_zero` [INFO] [stdout] --> src/parse_binary.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::rt::panic_count::count_is_zero; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::__private::from_utf8_lossy` [INFO] [stdout] --> src/parse_binary.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::__private::from_utf8_lossy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `parse_modl`, `shapes` [INFO] [stdout] --> src/parse_binary.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{parse_modl, shapes}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tree` [INFO] [stdout] --> src/parse_binary.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | use slab_tree::{Tree, NodeMut}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PrimShapes` [INFO] [stdout] --> src/parse_binary.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::shapes::{Pyramid, PrimShapes, Box, RectangularTorus, CircularTorus, EllipticalDish, SphericalDish, Snout, Cylinder, Sphere, Li... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::sequence::tuple` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use nom::sequence::tuple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alpha1`, `multispace0` [INFO] [stdout] --> src/main.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | use nom::character::complete::{alpha1, multispace0}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::IResult` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use nom::IResult; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `tag`, `take_until` [INFO] [stdout] --> src/main.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use nom::bytes::complete::{tag, take_until}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CNTB`, `MODL` [INFO] [stdout] --> src/main.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::names::{HEAD, MODL, CNTB, Group}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `parse_cntb`, `parse_cnte`, `parse_prim`, `parse_translation`, `parse_version` [INFO] [stdout] --> src/main.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::parse_rvm::{parse_version, parse_translation, parse_cntb, parse_prim, parse_cnte}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::take` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::mem::take; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::number::complete::float` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use nom::number::complete::float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io::{Write, Read}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slab::Slab` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use slab::Slab; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> src/main.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | use std::borrow::{ Borrow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsValue` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/parse_rvm.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | _ => Err(panic!("Problem opening the file")), [INFO] [stdout] | ^^^ ---------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/parse_binary.rs:343:14 [INFO] [stdout] | [INFO] [stdout] 343 | _ => Err(panic!("Problem opening the file")), [INFO] [stdout] | ^^^ ---------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "450f6a3f411a9e5e7b9458792b31cffbe51c003e1f2d86a8aa4dc081d2af95ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "450f6a3f411a9e5e7b9458792b31cffbe51c003e1f2d86a8aa4dc081d2af95ec", kill_on_drop: false }` [INFO] [stdout] 450f6a3f411a9e5e7b9458792b31cffbe51c003e1f2d86a8aa4dc081d2af95ec