[INFO] cloning repository https://github.com/amitsingh19975/EOC [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amitsingh19975/EOC" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famitsingh19975%2FEOC", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famitsingh19975%2FEOC'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5574f47b5ab8df46bece31d7901bdbf76134c14 [INFO] checking amitsingh19975/EOC against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famitsingh19975%2FEOC" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/amitsingh19975/EOC [INFO] finished tweaking git repo https://github.com/amitsingh19975/EOC [INFO] tweaked toml for git repo https://github.com/amitsingh19975/EOC written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/amitsingh19975/EOC on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/amitsingh19975/EOC 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b72af89a54f1f1528e36b2b7fcce90ae252f66b335a065ef6c989404d6970b53 [INFO] running `Command { std: "docker" "start" "b72af89a54f1f1528e36b2b7fcce90ae252f66b335a065ef6c989404d6970b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b72af89a54f1f1528e36b2b7fcce90ae252f66b335a065ef6c989404d6970b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b72af89a54f1f1528e36b2b7fcce90ae252f66b335a065ef6c989404d6970b53" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b72af89a54f1f1528e36b2b7fcce90ae252f66b335a065ef6c989404d6970b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b72af89a54f1f1528e36b2b7fcce90ae252f66b335a065ef6c989404d6970b53" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking eoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/eoc/lexer/mod.rs:165:51 [INFO] [stdout] | [INFO] [stdout] 165 | let span = self.skip_while(|byte| (byte == ' ')); [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] 165 - let span = self.skip_while(|byte| (byte == ' ')); [INFO] [stdout] 165 + let span = self.skip_while(|byte| byte == ' '); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/eoc/lexer/mod.rs:169:51 [INFO] [stdout] | [INFO] [stdout] 169 | let span = self.skip_while(|byte| (byte == '\t')); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 169 - let span = self.skip_while(|byte| (byte == '\t')); [INFO] [stdout] 169 + let span = self.skip_while(|byte| byte == '\t'); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/eoc/lexer/mod.rs:165:51 [INFO] [stdout] | [INFO] [stdout] 165 | let span = self.skip_while(|byte| (byte == ' ')); [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] 165 - let span = self.skip_while(|byte| (byte == ' ')); [INFO] [stdout] 165 + let span = self.skip_while(|byte| byte == ' '); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/eoc/lexer/mod.rs:169:51 [INFO] [stdout] | [INFO] [stdout] 169 | let span = self.skip_while(|byte| (byte == '\t')); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 169 - let span = self.skip_while(|byte| (byte == '\t')); [INFO] [stdout] 169 + let span = self.skip_while(|byte| byte == '\t'); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `underscore_count` is never read [INFO] [stdout] --> src/eoc/lexer/number.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 282 | underscore_count += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 305 | underscore_count += 1; [INFO] [stdout] | --------------------- `underscore_count` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `underscore_count` is never read [INFO] [stdout] --> src/eoc/lexer/number.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | underscore_count += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `underscore_count` is never read [INFO] [stdout] --> src/eoc/lexer/number.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 282 | underscore_count += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 305 | underscore_count += 1; [INFO] [stdout] | --------------------- `underscore_count` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `underscore_count` is never read [INFO] [stdout] --> src/eoc/lexer/number.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | underscore_count += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OperationInner` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum OperationInner { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Operation` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OperationResult` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) struct OperationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericOperation` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) struct GenericOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValueUse` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) struct ValueUse { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Successor` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) struct Successor { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValueIdentifierWithType` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) struct ValueIdentifierWithType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AttributeValue` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) enum AttributeValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DictionaryAttribute` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) struct DictionaryAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DialectAttribute` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) enum DialectAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BuiltinAttribute` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) enum BuiltinAttribute {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpaqueDialectAttribute` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) struct OpaqueDialectAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eoc` (bin "eoc" test) due to 4 previous errors; 32 warnings emitted [INFO] [stdout] warning: enum `ParenKind` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) enum ParenKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `DialectAttributeBody` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) struct DialectAttributeBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DialectAttributeContent` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | pub(crate) enum DialectAttributeContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrettyDialectAttribute` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) struct PrettyDialectAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Region` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | pub(crate) struct Region { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) struct Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionType` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | pub(crate) struct FunctionType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DialectType` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | pub(crate) enum DialectType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpaqueDialectType` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | pub(crate) struct OpaqueDialectType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrettyDialectType` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) struct PrettyDialectType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DialectTypeBody` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | pub(crate) struct DialectTypeBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DialectTypeContent` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | pub(crate) enum DialectTypeContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BuiltInType` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | pub(crate) enum BuiltInType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomOperation` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:225:19 [INFO] [stdout] | [INFO] [stdout] 225 | pub(crate) struct CustomOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&SourceManager` [INFO] [stdout] --> src/eoc/lexer/ebnf/ir_matcher.rs:301:77 [INFO] [stdout] | [INFO] [stdout] 301 | current_paren_stack.expect(TokenKind::CloseAngle, span, source_manager.into(), diagnostic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 301 - current_paren_stack.expect(TokenKind::CloseAngle, span, source_manager.into(), diagnostic); [INFO] [stdout] 301 + current_paren_stack.expect(TokenKind::CloseAngle, span, source_manager, diagnostic); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 301 - current_paren_stack.expect(TokenKind::CloseAngle, span, source_manager.into(), diagnostic); [INFO] [stdout] 301 + current_paren_stack.expect(TokenKind::CloseAngle, span, <&SourceManager as Into<_>>::into(source_manager), diagnostic); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&SourceManager` [INFO] [stdout] --> src/eoc/lexer/ebnf/ir_matcher.rs:312:77 [INFO] [stdout] | [INFO] [stdout] 312 | current_paren_stack.expect(TokenKind::CloseParen, span, source_manager.into(), diagnostic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 312 - current_paren_stack.expect(TokenKind::CloseParen, span, source_manager.into(), diagnostic); [INFO] [stdout] 312 + current_paren_stack.expect(TokenKind::CloseParen, span, source_manager, diagnostic); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 312 - current_paren_stack.expect(TokenKind::CloseParen, span, source_manager.into(), diagnostic); [INFO] [stdout] 312 + current_paren_stack.expect(TokenKind::CloseParen, span, <&SourceManager as Into<_>>::into(source_manager), diagnostic); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&SourceManager` [INFO] [stdout] --> src/eoc/lexer/ebnf/ir_matcher.rs:323:79 [INFO] [stdout] | [INFO] [stdout] 323 | current_paren_stack.expect(TokenKind::CloseBracket, span, source_manager.into(), diagnostic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 323 - current_paren_stack.expect(TokenKind::CloseBracket, span, source_manager.into(), diagnostic); [INFO] [stdout] 323 + current_paren_stack.expect(TokenKind::CloseBracket, span, source_manager, diagnostic); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 323 - current_paren_stack.expect(TokenKind::CloseBracket, span, source_manager.into(), diagnostic); [INFO] [stdout] 323 + current_paren_stack.expect(TokenKind::CloseBracket, span, <&SourceManager as Into<_>>::into(source_manager), diagnostic); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&SourceManager` [INFO] [stdout] --> src/eoc/lexer/ebnf/ir_matcher.rs:334:77 [INFO] [stdout] | [INFO] [stdout] 334 | current_paren_stack.expect(TokenKind::CloseBrace, span, source_manager.into(), diagnostic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 334 - current_paren_stack.expect(TokenKind::CloseBrace, span, source_manager.into(), diagnostic); [INFO] [stdout] 334 + current_paren_stack.expect(TokenKind::CloseBrace, span, source_manager, diagnostic); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 334 - current_paren_stack.expect(TokenKind::CloseBrace, span, source_manager.into(), diagnostic); [INFO] [stdout] 334 + current_paren_stack.expect(TokenKind::CloseBrace, span, <&SourceManager as Into<_>>::into(source_manager), diagnostic); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/eoc/utils/diagnostic.rs:558:27 [INFO] [stdout] | [INFO] [stdout] 558 | pub(crate) fn builder(&self) -> DiagnosticBuilder { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 558 | pub(crate) fn builder(&self) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OperationInner` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum OperationInner { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Operation` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OperationResult` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) struct OperationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericOperation` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) struct GenericOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValueUse` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) struct ValueUse { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Successor` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) struct Successor { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValueIdentifierWithType` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) struct ValueIdentifierWithType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AttributeValue` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) enum AttributeValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DictionaryAttribute` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) struct DictionaryAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DialectAttribute` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) enum DialectAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BuiltinAttribute` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) enum BuiltinAttribute {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpaqueDialectAttribute` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) struct OpaqueDialectAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParenKind` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) enum ParenKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DialectAttributeBody` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) struct DialectAttributeBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DialectAttributeContent` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | pub(crate) enum DialectAttributeContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrettyDialectAttribute` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) struct PrettyDialectAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Region` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | pub(crate) struct Region { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) struct Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionType` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | pub(crate) struct FunctionType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DialectType` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | pub(crate) enum DialectType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpaqueDialectType` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | pub(crate) struct OpaqueDialectType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrettyDialectType` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) struct PrettyDialectType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DialectTypeBody` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | pub(crate) struct DialectTypeBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DialectTypeContent` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | pub(crate) enum DialectTypeContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BuiltInType` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | pub(crate) enum BuiltInType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomOperation` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:225:19 [INFO] [stdout] | [INFO] [stdout] 225 | pub(crate) struct CustomOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&SourceManager` [INFO] [stdout] --> src/eoc/lexer/ebnf/ir_matcher.rs:301:77 [INFO] [stdout] | [INFO] [stdout] 301 | current_paren_stack.expect(TokenKind::CloseAngle, span, source_manager.into(), diagnostic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 301 - current_paren_stack.expect(TokenKind::CloseAngle, span, source_manager.into(), diagnostic); [INFO] [stdout] 301 + current_paren_stack.expect(TokenKind::CloseAngle, span, source_manager, diagnostic); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 301 - current_paren_stack.expect(TokenKind::CloseAngle, span, source_manager.into(), diagnostic); [INFO] [stdout] 301 + current_paren_stack.expect(TokenKind::CloseAngle, span, <&SourceManager as Into<_>>::into(source_manager), diagnostic); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&SourceManager` [INFO] [stdout] --> src/eoc/lexer/ebnf/ir_matcher.rs:312:77 [INFO] [stdout] | [INFO] [stdout] 312 | current_paren_stack.expect(TokenKind::CloseParen, span, source_manager.into(), diagnostic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 312 - current_paren_stack.expect(TokenKind::CloseParen, span, source_manager.into(), diagnostic); [INFO] [stdout] 312 + current_paren_stack.expect(TokenKind::CloseParen, span, source_manager, diagnostic); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 312 - current_paren_stack.expect(TokenKind::CloseParen, span, source_manager.into(), diagnostic); [INFO] [stdout] 312 + current_paren_stack.expect(TokenKind::CloseParen, span, <&SourceManager as Into<_>>::into(source_manager), diagnostic); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&SourceManager` [INFO] [stdout] --> src/eoc/lexer/ebnf/ir_matcher.rs:323:79 [INFO] [stdout] | [INFO] [stdout] 323 | current_paren_stack.expect(TokenKind::CloseBracket, span, source_manager.into(), diagnostic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 323 - current_paren_stack.expect(TokenKind::CloseBracket, span, source_manager.into(), diagnostic); [INFO] [stdout] 323 + current_paren_stack.expect(TokenKind::CloseBracket, span, source_manager, diagnostic); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 323 - current_paren_stack.expect(TokenKind::CloseBracket, span, source_manager.into(), diagnostic); [INFO] [stdout] 323 + current_paren_stack.expect(TokenKind::CloseBracket, span, <&SourceManager as Into<_>>::into(source_manager), diagnostic); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&SourceManager` [INFO] [stdout] --> src/eoc/lexer/ebnf/ir_matcher.rs:334:77 [INFO] [stdout] | [INFO] [stdout] 334 | current_paren_stack.expect(TokenKind::CloseBrace, span, source_manager.into(), diagnostic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 334 - current_paren_stack.expect(TokenKind::CloseBrace, span, source_manager.into(), diagnostic); [INFO] [stdout] 334 + current_paren_stack.expect(TokenKind::CloseBrace, span, source_manager, diagnostic); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 334 - current_paren_stack.expect(TokenKind::CloseBrace, span, source_manager.into(), diagnostic); [INFO] [stdout] 334 + current_paren_stack.expect(TokenKind::CloseBrace, span, <&SourceManager as Into<_>>::into(source_manager), diagnostic); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/eoc/utils/diagnostic.rs:558:27 [INFO] [stdout] | [INFO] [stdout] 558 | pub(crate) fn builder(&self) -> DiagnosticBuilder { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 558 | pub(crate) fn builder(&self) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eoc` (bin "eoc") due to 4 previous errors; 32 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b72af89a54f1f1528e36b2b7fcce90ae252f66b335a065ef6c989404d6970b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b72af89a54f1f1528e36b2b7fcce90ae252f66b335a065ef6c989404d6970b53", kill_on_drop: false }` [INFO] [stdout] b72af89a54f1f1528e36b2b7fcce90ae252f66b335a065ef6c989404d6970b53