[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 master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayconrod%2Frscodeswitch" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jayconrod/rscodeswitch on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v3.0.12 [INFO] [stderr] Downloaded diff v0.1.12 [INFO] [stderr] Downloaded unified-diff v0.2.1 [INFO] [stderr] Downloaded lazy-regex-proc_macros v2.2.2 [INFO] [stderr] Downloaded lazy-regex v2.2.2 [INFO] [stderr] Downloaded rustyline v9.1.2 [INFO] [stderr] Downloaded rustix v0.33.3 [INFO] [stderr] Downloaded clap v3.0.13 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.30.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.30.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.30.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.30.0 [INFO] [stderr] Downloaded windows-sys v0.30.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.30.0 [INFO] [stderr] Downloaded fd-lock v3.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6dfbba999849bc006be33ee3a964ef53e3ecfa4c15329e7fc73e7ad7fbeb149 [INFO] running `Command { std: "docker" "start" "-a" "b6dfbba999849bc006be33ee3a964ef53e3ecfa4c15329e7fc73e7ad7fbeb149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6dfbba999849bc006be33ee3a964ef53e3ecfa4c15329e7fc73e7ad7fbeb149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6dfbba999849bc006be33ee3a964ef53e3ecfa4c15329e7fc73e7ad7fbeb149", kill_on_drop: false }` [INFO] [stdout] b6dfbba999849bc006be33ee3a964ef53e3ecfa4c15329e7fc73e7ad7fbeb149 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "-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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81610c03cb67118e5badad5761adf180bb911040132ecf149d7ee819c02e72f6 [INFO] running `Command { std: "docker" "start" "-a" "81610c03cb67118e5badad5761adf180bb911040132ecf149d7ee819c02e72f6", 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] Checking endian-type v0.1.2 [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] Compiling quote v1.0.14 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking unified-diff v0.2.1 [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] Checking rustyline v9.1.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lazy-regex-proc_macros v2.2.2 [INFO] [stderr] Compiling clap_derive v3.0.12 [INFO] [stderr] Checking lazy-regex v2.2.2 [INFO] [stderr] Checking clap v3.0.13 [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: 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 `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: 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 `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] 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.02s [INFO] running `Command { std: "docker" "inspect" "81610c03cb67118e5badad5761adf180bb911040132ecf149d7ee819c02e72f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81610c03cb67118e5badad5761adf180bb911040132ecf149d7ee819c02e72f6", kill_on_drop: false }` [INFO] [stdout] 81610c03cb67118e5badad5761adf180bb911040132ecf149d7ee819c02e72f6