[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayconrod%2Frscodeswitch" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jayconrod/rscodeswitch on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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] 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 fd-lock v3.0.4 [INFO] [stderr] Downloaded unified-diff v0.2.1 [INFO] [stderr] Downloaded lazy-regex v2.2.2 [INFO] [stderr] Downloaded lazy-regex-proc_macros v2.2.2 [INFO] [stderr] Downloaded clap_derive v3.0.12 [INFO] [stderr] Downloaded rustix v0.33.3 [INFO] [stderr] Downloaded clap v3.0.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ef3f9087ee12e029f1e2314d9dea8141ce6041928d7b93d762f6ed66cf35894 [INFO] running `Command { std: "docker" "start" "-a" "4ef3f9087ee12e029f1e2314d9dea8141ce6041928d7b93d762f6ed66cf35894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ef3f9087ee12e029f1e2314d9dea8141ce6041928d7b93d762f6ed66cf35894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ef3f9087ee12e029f1e2314d9dea8141ce6041928d7b93d762f6ed66cf35894", kill_on_drop: false }` [INFO] [stdout] 4ef3f9087ee12e029f1e2314d9dea8141ce6041928d7b93d762f6ed66cf35894 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c8e91071b93bc063a6915caf7e03227ccfb98d0ef44da858421c24b3875437d [INFO] running `Command { std: "docker" "start" "-a" "3c8e91071b93bc063a6915caf7e03227ccfb98d0ef44da858421c24b3875437d", 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] 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 proc-macro2 v1.0.36 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling io-lifetimes v0.5.3 [INFO] [stderr] Compiling rustix v0.33.3 [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 smallvec v1.8.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [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 diff v0.1.12 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking unified-diff v0.2.1 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking fd-lock v3.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.12 [INFO] [stderr] Compiling lazy-regex-proc_macros v2.2.2 [INFO] [stderr] Checking rustyline v9.1.2 [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: the item `Ord` is imported redundantly [INFO] [stdout] --> codeswitch/src/heap.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::{Ord, Ordering, PartialOrd}; [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Ord` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialOrd` is imported redundantly [INFO] [stdout] --> codeswitch/src/heap.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::{Ord, Ordering, PartialOrd}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialOrd` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialOrd` is imported redundantly [INFO] [stdout] --> codeswitch/src/nanbox.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use std::cmp::{Ordering, PartialOrd}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialOrd` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ord` is imported redundantly [INFO] [stdout] --> codeswitch/src/heap.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::{Ord, Ordering, PartialOrd}; [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Ord` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialOrd` is imported redundantly [INFO] [stdout] --> codeswitch/src/heap.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::{Ord, Ordering, PartialOrd}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialOrd` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialOrd` is imported redundantly [INFO] [stdout] --> codeswitch/src/nanbox.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use std::cmp::{Ordering, PartialOrd}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialOrd` is already defined here [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)]` 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(()), [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: 7 warnings emitted [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)]` 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(()), [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] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> codeswitch_lox/src/syntax.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> codeswitch_lox/src/syntax.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `unified_diff` is imported redundantly [INFO] [stdout] --> codeswitch_lua/src/interpret_test.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use unified_diff; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: codeswitch_lua/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate unified_diff; [INFO] [stdout] | -------------------------- the item `unified_diff` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.45s [INFO] running `Command { std: "docker" "inspect" "3c8e91071b93bc063a6915caf7e03227ccfb98d0ef44da858421c24b3875437d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c8e91071b93bc063a6915caf7e03227ccfb98d0ef44da858421c24b3875437d", kill_on_drop: false }` [INFO] [stdout] 3c8e91071b93bc063a6915caf7e03227ccfb98d0ef44da858421c24b3875437d