[INFO] cloning repository https://github.com/chirsz-ever/cminus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chirsz-ever/cminus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchirsz-ever%2Fcminus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchirsz-ever%2Fcminus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72bc799191dfeec09dc8032b18b0db58215baab5 [INFO] checking chirsz-ever/cminus against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchirsz-ever%2Fcminus" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chirsz-ever/cminus [INFO] finished tweaking git repo https://github.com/chirsz-ever/cminus [INFO] tweaked toml for git repo https://github.com/chirsz-ever/cminus written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chirsz-ever/cminus on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chirsz-ever/cminus already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 847302da01b597f9821354c708e2663d0a2e53cc140c8913e3c42d5d2447b583 [INFO] running `Command { std: "docker" "start" "-a" "847302da01b597f9821354c708e2663d0a2e53cc140c8913e3c42d5d2447b583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "847302da01b597f9821354c708e2663d0a2e53cc140c8913e3c42d5d2447b583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "847302da01b597f9821354c708e2663d0a2e53cc140c8913e3c42d5d2447b583", kill_on_drop: false }` [INFO] [stdout] 847302da01b597f9821354c708e2663d0a2e53cc140c8913e3c42d5d2447b583 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2019d726c1ea2f8dbfb7d928444b059b0d707f7ee35cfd672842db129433d6ae [INFO] running `Command { std: "docker" "start" "-a" "2019d726c1ea2f8dbfb7d928444b059b0d707f7ee35cfd672842db129433d6ae", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking ucd-util v0.1.5 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling lalrpop v0.17.2 [INFO] [stderr] Compiling cminus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/cminus-a430e505ab8222e3/out/parser.rs:4581:5 [INFO] [stdout] | [INFO] [stdout] 4581 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4581 - (__0) [INFO] [stdout] 4581 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/cminus-a430e505ab8222e3/out/parser.rs:4899:5 [INFO] [stdout] | [INFO] [stdout] 4899 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4899 - (__0) [INFO] [stdout] 4899 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/cminus-a430e505ab8222e3/out/parser.rs:4910:5 [INFO] [stdout] | [INFO] [stdout] 4910 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4910 - (__0) [INFO] [stdout] 4910 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/cminus-a430e505ab8222e3/out/parser.rs:5297:5 [INFO] [stdout] | [INFO] [stdout] 5297 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5297 - (__0) [INFO] [stdout] 5297 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/cminus-a430e505ab8222e3/out/parser.rs:5308:5 [INFO] [stdout] | [INFO] [stdout] 5308 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5308 - (__0) [INFO] [stdout] 5308 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/cminus-a430e505ab8222e3/out/parser.rs:5343:5 [INFO] [stdout] | [INFO] [stdout] 5343 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5343 - (__0) [INFO] [stdout] 5343 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/cminus-a430e505ab8222e3/out/parser.rs:5354:5 [INFO] [stdout] | [INFO] [stdout] 5354 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5354 - (__0) [INFO] [stdout] 5354 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/cminus-a430e505ab8222e3/out/parser.rs:5400:5 [INFO] [stdout] | [INFO] [stdout] 5400 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5400 - (__0) [INFO] [stdout] 5400 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/cminus-a430e505ab8222e3/out/parser.rs:4581:5 [INFO] [stdout] | [INFO] [stdout] 4581 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4581 - (__0) [INFO] [stdout] 4581 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/cminus-a430e505ab8222e3/out/parser.rs:4899:5 [INFO] [stdout] | [INFO] [stdout] 4899 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4899 - (__0) [INFO] [stdout] 4899 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/cminus-a430e505ab8222e3/out/parser.rs:4910:5 [INFO] [stdout] | [INFO] [stdout] 4910 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4910 - (__0) [INFO] [stdout] 4910 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/cminus-a430e505ab8222e3/out/parser.rs:5297:5 [INFO] [stdout] | [INFO] [stdout] 5297 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5297 - (__0) [INFO] [stdout] 5297 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/cminus-a430e505ab8222e3/out/parser.rs:5308:5 [INFO] [stdout] | [INFO] [stdout] 5308 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5308 - (__0) [INFO] [stdout] 5308 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/cminus-a430e505ab8222e3/out/parser.rs:5343:5 [INFO] [stdout] | [INFO] [stdout] 5343 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5343 - (__0) [INFO] [stdout] 5343 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/cminus-a430e505ab8222e3/out/parser.rs:5354:5 [INFO] [stdout] | [INFO] [stdout] 5354 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5354 - (__0) [INFO] [stdout] 5354 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/cminus-a430e505ab8222e3/out/parser.rs:5400:5 [INFO] [stdout] | [INFO] [stdout] 5400 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5400 - (__0) [INFO] [stdout] 5400 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ast.rs:44:61 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn ident(ident: &'input str, location: Location) -> ASTNode { [INFO] [stdout] | ------ the lifetime is named here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'input` [INFO] [stdout] | [INFO] [stdout] 44 | pub fn ident(ident: &'input str, location: Location) -> ASTNode<'input> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lexer.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn parse(source: &str) -> Lexer { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn parse(source: &str) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(lexer::Location, lexer::Token<'_>, lexer::Location), LexicalError> [INFO] [stdout] --> src/lexer.rs:148:22 [INFO] [stdout] | [INFO] [stdout] 148 | pair.map(|p| { [INFO] [stdout] | ______________________^ [INFO] [stdout] 149 | | let (start, end) = span_to_loc(p.as_span()); [INFO] [stdout] 150 | | let tok = match p.as_rule() { [INFO] [stdout] 151 | | Rule::RELOP => Token::RELOP(p.as_str()), [INFO] [stdout] ... | [INFO] [stdout] 166 | | Ok((start, tok, end)) [INFO] [stdout] 167 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(lexer::Location, lexer::Token<'_>, lexer::Location), LexicalError> [INFO] [stdout] --> src/lexer.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | Ok((start, tok, end)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(lexer::Location, lexer::Token<'_>, lexer::Location), LexicalError> [INFO] [stdout] --> /opt/rustwide/target/debug/build/cminus-a430e505ab8222e3/out/parser.rs:6529:15 [INFO] [stdout] | [INFO] [stdout] 6529 | match value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cminus` (bin "cminus" test) due to 3 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ast.rs:44:61 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn ident(ident: &'input str, location: Location) -> ASTNode { [INFO] [stdout] | ------ the lifetime is named here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'input` [INFO] [stdout] | [INFO] [stdout] 44 | pub fn ident(ident: &'input str, location: Location) -> ASTNode<'input> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lexer.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn parse(source: &str) -> Lexer { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn parse(source: &str) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(lexer::Location, lexer::Token<'_>, lexer::Location), LexicalError> [INFO] [stdout] --> src/lexer.rs:148:22 [INFO] [stdout] | [INFO] [stdout] 148 | pair.map(|p| { [INFO] [stdout] | ______________________^ [INFO] [stdout] 149 | | let (start, end) = span_to_loc(p.as_span()); [INFO] [stdout] 150 | | let tok = match p.as_rule() { [INFO] [stdout] 151 | | Rule::RELOP => Token::RELOP(p.as_str()), [INFO] [stdout] ... | [INFO] [stdout] 166 | | Ok((start, tok, end)) [INFO] [stdout] 167 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(lexer::Location, lexer::Token<'_>, lexer::Location), LexicalError> [INFO] [stdout] --> src/lexer.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | Ok((start, tok, end)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(lexer::Location, lexer::Token<'_>, lexer::Location), LexicalError> [INFO] [stdout] --> /opt/rustwide/target/debug/build/cminus-a430e505ab8222e3/out/parser.rs:6529:15 [INFO] [stdout] | [INFO] [stdout] 6529 | match value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cminus` (bin "cminus") due to 3 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2019d726c1ea2f8dbfb7d928444b059b0d707f7ee35cfd672842db129433d6ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2019d726c1ea2f8dbfb7d928444b059b0d707f7ee35cfd672842db129433d6ae", kill_on_drop: false }` [INFO] [stdout] 2019d726c1ea2f8dbfb7d928444b059b0d707f7ee35cfd672842db129433d6ae