[INFO] cloning repository https://github.com/jayconrod/rscodeswitch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jayconrod/rscodeswitch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayconrod%2Frscodeswitch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayconrod%2Frscodeswitch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8472bc770353d87fc7d881f170f8fb83fc16761 [INFO] checking jayconrod/rscodeswitch 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%2Fjayconrod%2Frscodeswitch" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jayconrod/rscodeswitch [INFO] finished tweaking git repo https://github.com/jayconrod/rscodeswitch [INFO] tweaked toml for git repo https://github.com/jayconrod/rscodeswitch written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jayconrod/rscodeswitch 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/jayconrod/rscodeswitch 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] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 4080abd0f6fbf3432790f069e9361761d6880b2a9c5511194f24761a5ab8d5da [INFO] running `Command { std: "docker" "start" "-a" "4080abd0f6fbf3432790f069e9361761d6880b2a9c5511194f24761a5ab8d5da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4080abd0f6fbf3432790f069e9361761d6880b2a9c5511194f24761a5ab8d5da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4080abd0f6fbf3432790f069e9361761d6880b2a9c5511194f24761a5ab8d5da", kill_on_drop: false }` [INFO] [stdout] 4080abd0f6fbf3432790f069e9361761d6880b2a9c5511194f24761a5ab8d5da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1c4fc935c003d20eeb0590bb016aaa4c93c23823a9b7ed8c72810e196110776e [INFO] running `Command { std: "docker" "start" "-a" "1c4fc935c003d20eeb0590bb016aaa4c93c23823a9b7ed8c72810e196110776e", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling io-lifetimes v0.5.3 [INFO] [stderr] Compiling rustix v0.33.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking linux-raw-sys v0.0.42 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking unified-diff v0.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking fd-lock v3.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rustyline v9.1.2 [INFO] [stderr] Compiling clap_derive v3.0.12 [INFO] [stderr] Compiling lazy-regex-proc_macros v2.2.2 [INFO] [stderr] Checking clap v3.0.13 [INFO] [stderr] Checking lazy-regex v2.2.2 [INFO] [stderr] Checking codeswitch v0.1.0 (/opt/rustwide/workdir/codeswitch) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> codeswitch/src/heap.rs:276:11 [INFO] [stdout] | [INFO] [stdout] 276 | Large(LargeSpan), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 276 - Large(LargeSpan), [INFO] [stdout] 276 + Large(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `marks` and `size` are never read [INFO] [stdout] --> codeswitch/src/heap.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 281 | struct SmallSpan { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 288 | marks: Bitmap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `begin` and `size` are never read [INFO] [stdout] --> codeswitch/src/heap.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 313 | struct LargeSpan { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 314 | /// Address of the lowest byte in the span. [INFO] [stdout] 315 | begin: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span_index` is never read [INFO] [stdout] --> codeswitch/src/heap.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 329 | struct Page { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 330 | /// Index of the span containing the page. [INFO] [stdout] 331 | span_index: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> codeswitch/src/heap.rs:276:11 [INFO] [stdout] | [INFO] [stdout] 276 | Large(LargeSpan), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 276 - Large(LargeSpan), [INFO] [stdout] 276 + Large(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `marks` and `size` are never read [INFO] [stdout] --> codeswitch/src/heap.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 281 | struct SmallSpan { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 288 | marks: Bitmap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `begin` and `size` are never read [INFO] [stdout] --> codeswitch/src/heap.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 313 | struct LargeSpan { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 314 | /// Address of the lowest byte in the span. [INFO] [stdout] 315 | begin: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span_index` is never read [INFO] [stdout] --> codeswitch/src/heap.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 329 | struct Page { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 330 | /// Index of the span containing the page. [INFO] [stdout] 331 | span_index: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking codeswitch_lua v0.1.0 (/opt/rustwide/workdir/codeswitch_lua) [INFO] [stderr] Checking codeswitch_lox v0.1.0 (/opt/rustwide/workdir/codeswitch_lox) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> codeswitch_lox/src/test.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | for fi in fs::read_dir("testdata").map_err(print_error).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] error: this type will no longer be must used: Result [INFO] [stdout] --> codeswitch_lox/src/test.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let fi = fi.map_err(print_error).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, !> [INFO] [stdout] --> codeswitch_lox/src/test.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let data = fs::read(&path).map_err(print_error).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `codeswitch_lox` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> codeswitch_lua/src/scope.rs:1148:12 [INFO] [stdout] | [INFO] [stdout] 1148 | fn top(&mut self) -> &Scope { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 1148 | fn top(&mut self) -> &Scope<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> codeswitch_lua/src/scope.rs:1156:21 [INFO] [stdout] | [INFO] [stdout] 1156 | fn local_parent(&self) -> Option<&Scope> { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 1156 | fn local_parent(&self) -> Option<&Scope<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> codeswitch_lua/src/scope.rs:1148:12 [INFO] [stdout] | [INFO] [stdout] 1148 | fn top(&mut self) -> &Scope { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 1148 | fn top(&mut self) -> &Scope<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> codeswitch_lua/src/scope.rs:1156:21 [INFO] [stdout] | [INFO] [stdout] 1156 | fn local_parent(&self) -> Option<&Scope> { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 1156 | fn local_parent(&self) -> Option<&Scope<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> codeswitch_lua/src/interpret_test.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | for fi in fs::read_dir("testdata").map_err(print_error).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] error: this type will no longer be must used: Result [INFO] [stdout] --> codeswitch_lua/src/interpret_test.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let fi = fi.map_err(print_error).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `codeswitch_lua` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1c4fc935c003d20eeb0590bb016aaa4c93c23823a9b7ed8c72810e196110776e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c4fc935c003d20eeb0590bb016aaa4c93c23823a9b7ed8c72810e196110776e", kill_on_drop: false }` [INFO] [stdout] 1c4fc935c003d20eeb0590bb016aaa4c93c23823a9b7ed8c72810e196110776e