[INFO] updating cached repository https://github.com/andreaseg/flang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb75950170142b5b0d0edbc3c34474388ac20e43 [INFO] testing andreaseg/flang against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreaseg%2Fflang" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andreaseg/flang on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andreaseg/flang [INFO] finished tweaking git repo https://github.com/andreaseg/flang [INFO] tweaked toml for git repo https://github.com/andreaseg/flang written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/andreaseg/flang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35ec28551942c80ec1278b810bc5c922a5d7c0a3e9729821eb3020bbadc129e9 [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" "35ec28551942c80ec1278b810bc5c922a5d7c0a3e9729821eb3020bbadc129e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35ec28551942c80ec1278b810bc5c922a5d7c0a3e9729821eb3020bbadc129e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35ec28551942c80ec1278b810bc5c922a5d7c0a3e9729821eb3020bbadc129e9", kill_on_drop: false }` [INFO] [stdout] 35ec28551942c80ec1278b810bc5c922a5d7c0a3e9729821eb3020bbadc129e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 351991d374dabfc7111e6435812c02b488dfe5280ca06755c0b5b03837570da8 [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" "351991d374dabfc7111e6435812c02b488dfe5280ca06755c0b5b03837570da8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling flang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lang/scanner.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | /// Tokenization rules [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lang/scanner.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | /// [INFO] [stdout] | ^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lang/scanner.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | /// Format is [INFO] [stdout] | ^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lang/scanner.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | /// [TokenName][Optional Parameters] = [Regex rule] => [Formatting], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lang/scanner.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | /// [INFO] [stdout] | ^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lang/scanner.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | /// Rules are prioritized in order [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lang/scanner.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | Float(f64) = r"[[:digit:]]*\.[[:digit:]]+" => |x: &str| Float(x.parse::().unwrap()), [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lang/scanner.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | Int(i64) = r"[[:digit:]]+" => |x: &str| Int(x.parse::().unwrap()), [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lang/scanner.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | Char(i64) = r"'[[[:alpha:]]|\n]'" => |x: &str| Char(x[1..].chars().next().unwrap() as i64), [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lang/scanner.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | Call(String) = r"[[:alpha:]][[:word:]]*\(" => |x: &str| Call(x[..x.len()-1].to_string()), [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lang/scanner.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | Builtin(String) = r"_[[:alpha:]][[:word:]]*\(" => |x: &str| Builtin(x[..x.len()-1].to_string()), [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lang/scanner.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | Name(String) = r"[[:alpha:]][[:word:]]*" => |x: &str| Name(x.to_string()), [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.64s [INFO] running `Command { std: "docker" "inspect" "351991d374dabfc7111e6435812c02b488dfe5280ca06755c0b5b03837570da8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "351991d374dabfc7111e6435812c02b488dfe5280ca06755c0b5b03837570da8", kill_on_drop: false }` [INFO] [stdout] 351991d374dabfc7111e6435812c02b488dfe5280ca06755c0b5b03837570da8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 005e6fe06648d0dd47c3410d8b4cfeb9dbcd5d31b36c8459bb43d9e48809fcba [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" "005e6fe06648d0dd47c3410d8b4cfeb9dbcd5d31b36c8459bb43d9e48809fcba", kill_on_drop: false }` [INFO] [stderr] Compiling flang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lang/scanner.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | /// Tokenization rules [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lang/scanner.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | /// [INFO] [stdout] | ^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lang/scanner.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | /// Format is [INFO] [stdout] | ^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lang/scanner.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | /// [TokenName][Optional Parameters] = [Regex rule] => [Formatting], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lang/scanner.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | /// [INFO] [stdout] | ^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lang/scanner.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | /// Rules are prioritized in order [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lang/scanner.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | Float(f64) = r"[[:digit:]]*\.[[:digit:]]+" => |x: &str| Float(x.parse::().unwrap()), [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lang/scanner.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | Int(i64) = r"[[:digit:]]+" => |x: &str| Int(x.parse::().unwrap()), [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lang/scanner.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | Char(i64) = r"'[[[:alpha:]]|\n]'" => |x: &str| Char(x[1..].chars().next().unwrap() as i64), [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lang/scanner.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | Call(String) = r"[[:alpha:]][[:word:]]*\(" => |x: &str| Call(x[..x.len()-1].to_string()), [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lang/scanner.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | Builtin(String) = r"_[[:alpha:]][[:word:]]*\(" => |x: &str| Builtin(x[..x.len()-1].to_string()), [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lang/scanner.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | Name(String) = r"[[:alpha:]][[:word:]]*" => |x: &str| Name(x.to_string()), [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.30s [INFO] running `Command { std: "docker" "inspect" "005e6fe06648d0dd47c3410d8b4cfeb9dbcd5d31b36c8459bb43d9e48809fcba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "005e6fe06648d0dd47c3410d8b4cfeb9dbcd5d31b36c8459bb43d9e48809fcba", kill_on_drop: false }` [INFO] [stdout] 005e6fe06648d0dd47c3410d8b4cfeb9dbcd5d31b36c8459bb43d9e48809fcba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", 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] 51f5ae56dd3a85281ba18de94c5be5f1fc39e597786f2deaa1901f86a988faba [INFO] running `Command { std: "docker" "start" "-a" "51f5ae56dd3a85281ba18de94c5be5f1fc39e597786f2deaa1901f86a988faba", kill_on_drop: false }` [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/lang/scanner.rs:138:1 [INFO] [stderr] | [INFO] [stderr] 138 | /// Tokenization rules [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/lang/scanner.rs:139:1 [INFO] [stderr] | [INFO] [stderr] 139 | /// [INFO] [stderr] | ^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/lang/scanner.rs:140:1 [INFO] [stderr] | [INFO] [stderr] 140 | /// Format is [INFO] [stderr] | ^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/lang/scanner.rs:141:1 [INFO] [stderr] | [INFO] [stderr] 141 | /// [TokenName][Optional Parameters] = [Regex rule] => [Formatting], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/lang/scanner.rs:142:1 [INFO] [stderr] | [INFO] [stderr] 142 | /// [INFO] [stderr] | ^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/lang/scanner.rs:143:1 [INFO] [stderr] | [INFO] [stderr] 143 | /// Rules are prioritized in order [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lang/scanner.rs:146:10 [INFO] [stderr] | [INFO] [stderr] 146 | Float(f64) = r"[[:digit:]]*\.[[:digit:]]+" => |x: &str| Float(x.parse::().unwrap()), [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lang/scanner.rs:147:8 [INFO] [stderr] | [INFO] [stderr] 147 | Int(i64) = r"[[:digit:]]+" => |x: &str| Int(x.parse::().unwrap()), [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lang/scanner.rs:148:9 [INFO] [stderr] | [INFO] [stderr] 148 | Char(i64) = r"'[[[:alpha:]]|\n]'" => |x: &str| Char(x[1..].chars().next().unwrap() as i64), [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lang/scanner.rs:182:9 [INFO] [stderr] | [INFO] [stderr] 182 | Call(String) = r"[[:alpha:]][[:word:]]*\(" => |x: &str| Call(x[..x.len()-1].to_string()), [INFO] [stderr] | ^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lang/scanner.rs:183:12 [INFO] [stderr] | [INFO] [stderr] 183 | Builtin(String) = r"_[[:alpha:]][[:word:]]*\(" => |x: &str| Builtin(x[..x.len()-1].to_string()), [INFO] [stderr] | ^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lang/scanner.rs:184:9 [INFO] [stderr] | [INFO] [stderr] 184 | Name(String) = r"[[:alpha:]][[:word:]]*" => |x: &str| Name(x.to_string()), [INFO] [stderr] | ^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/flang-edd92577a1e44a23 [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test lang::scanner::tests::test_long ... ok [INFO] [stdout] test lang::scanner::tests::test_comment ... ok [INFO] [stdout] test lang::scanner::tests::test_single ... ok [INFO] [stdout] test lang::scanner::tests::test_single_err ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "51f5ae56dd3a85281ba18de94c5be5f1fc39e597786f2deaa1901f86a988faba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51f5ae56dd3a85281ba18de94c5be5f1fc39e597786f2deaa1901f86a988faba", kill_on_drop: false }` [INFO] [stdout] 51f5ae56dd3a85281ba18de94c5be5f1fc39e597786f2deaa1901f86a988faba