[INFO] cloning repository https://github.com/soerenreichardt/frox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soerenreichardt/frox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoerenreichardt%2Ffrox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoerenreichardt%2Ffrox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 917a7da2fcaae7559a64f6e3d91baffc3e1090dd [INFO] checking soerenreichardt/frox 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%2Fsoerenreichardt%2Ffrox" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/soerenreichardt/frox [INFO] finished tweaking git repo https://github.com/soerenreichardt/frox [INFO] tweaked toml for git repo https://github.com/soerenreichardt/frox written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/soerenreichardt/frox 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/soerenreichardt/frox 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 153b6f4885a31c5f07ccde5930ad6c5a15bd5be9c36c0f3d19d2bc681678cd0b [INFO] running `Command { std: "docker" "start" "-a" "153b6f4885a31c5f07ccde5930ad6c5a15bd5be9c36c0f3d19d2bc681678cd0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "153b6f4885a31c5f07ccde5930ad6c5a15bd5be9c36c0f3d19d2bc681678cd0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "153b6f4885a31c5f07ccde5930ad6c5a15bd5be9c36c0f3d19d2bc681678cd0b", kill_on_drop: false }` [INFO] [stdout] 153b6f4885a31c5f07ccde5930ad6c5a15bd5be9c36c0f3d19d2bc681678cd0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] fbd40443badef6df972288c765cda867f1dfa50636094ab0b0089b2c338fe25e [INFO] running `Command { std: "docker" "start" "-a" "fbd40443badef6df972288c765cda867f1dfa50636094ab0b0089b2c338fe25e", kill_on_drop: false }` [INFO] [stderr] Checking frox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `function_kind` [INFO] [stdout] --> src/interpreter.rs:55:57 [INFO] [stdout] | [INFO] [stdout] 55 | ...me, parameters, body, function_kind) => self.execute_function_declaration(name, parameters, body, print_stream), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_kind` [INFO] [stdout] --> src/interpreter.rs:55:57 [INFO] [stdout] | [INFO] [stdout] 55 | ...me, parameters, body, function_kind) => self.execute_function_declaration(name, parameters, body, print_stream), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_kind` [INFO] [stdout] --> src/interpreter.rs:138:72 [INFO] [stdout] | [INFO] [stdout] 138 | Statement::Function(function_lexeme, parameters, body, function_kind) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_kind` [INFO] [stdout] --> src/interpreter.rs:138:72 [INFO] [stdout] | [INFO] [stdout] 138 | Statement::Function(function_lexeme, parameters, body, function_kind) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lexeme` [INFO] [stdout] --> src/interpreter.rs:199:31 [INFO] [stdout] | [INFO] [stdout] 199 | Expression::Super(lexeme, method) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lexeme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lexeme` [INFO] [stdout] --> src/interpreter.rs:199:31 [INFO] [stdout] | [INFO] [stdout] 199 | Expression::Super(lexeme, method) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lexeme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_kind` [INFO] [stdout] --> src/interpreter.rs:275:60 [INFO] [stdout] | [INFO] [stdout] 275 | if let Statement::Function(None, parameters, body, function_kind) = function_declaration { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_kind` [INFO] [stdout] --> src/interpreter.rs:275:60 [INFO] [stdout] | [INFO] [stdout] 275 | if let Statement::Function(None, parameters, body, function_kind) = function_declaration { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `functino_kind` [INFO] [stdout] --> src/resolver.rs:73:57 [INFO] [stdout] | [INFO] [stdout] 73 | Statement::Function(name, parameters, body, functino_kind) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_functino_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_kind` [INFO] [stdout] --> src/resolver.rs:117:71 [INFO] [stdout] | [INFO] [stdout] 117 | Statement::Function(lexeme, parameters, body, function_kind) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_type` [INFO] [stdout] --> src/resolver.rs:194:82 [INFO] [stdout] | [INFO] [stdout] 194 | fn resolve_function(&mut self, parameters: &[Lexeme], body: &'a [Statement], function_type: FunctionType) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `functino_kind` [INFO] [stdout] --> src/resolver.rs:73:57 [INFO] [stdout] | [INFO] [stdout] 73 | Statement::Function(name, parameters, body, functino_kind) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_functino_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `frox` (lib test) due to 1 previous error; 10 warnings emitted [INFO] [stdout] warning: unused variable: `function_kind` [INFO] [stdout] --> src/resolver.rs:117:71 [INFO] [stdout] | [INFO] [stdout] 117 | Statement::Function(lexeme, parameters, body, function_kind) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/parser.rs:523:25 [INFO] [stdout] | [INFO] [stdout] 523 | self.consume(&TokenType::Dot); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 523 | let _ = self.consume(&TokenType::Dot); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `frox` (lib) due to 1 previous error; 10 warnings emitted [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/value.rs:27:63 [INFO] [stdout] | [INFO] [stdout] 27 | LiteralValue::String(string) => FroxValue::String(String::from_str(string).unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resolver.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | pub(crate) fn resolve(&mut self, statements: &'a [Statement]) -> Result<&LocalVariables> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same 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] 41 | pub(crate) fn resolve(&mut self, statements: &'a [Statement]) -> Result<&LocalVariables<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/resolver.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | self.resolve_expression(&superclass); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = self.resolve_expression(&superclass); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_type` [INFO] [stdout] --> src/resolver.rs:194:82 [INFO] [stdout] | [INFO] [stdout] 194 | fn resolve_function(&mut self, parameters: &[Lexeme], body: &'a [Statement], function_type: FunctionType) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/parser.rs:523:25 [INFO] [stdout] | [INFO] [stdout] 523 | self.consume(&TokenType::Dot); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 523 | let _ = self.consume(&TokenType::Dot); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/value.rs:27:63 [INFO] [stdout] | [INFO] [stdout] 27 | LiteralValue::String(string) => FroxValue::String(String::from_str(string).unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resolver.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | pub(crate) fn resolve(&mut self, statements: &'a [Statement]) -> Result<&LocalVariables> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same 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] 41 | pub(crate) fn resolve(&mut self, statements: &'a [Statement]) -> Result<&LocalVariables<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/resolver.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | self.resolve_expression(&superclass); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = self.resolve_expression(&superclass); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fbd40443badef6df972288c765cda867f1dfa50636094ab0b0089b2c338fe25e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbd40443badef6df972288c765cda867f1dfa50636094ab0b0089b2c338fe25e", kill_on_drop: false }` [INFO] [stdout] fbd40443badef6df972288c765cda867f1dfa50636094ab0b0089b2c338fe25e