[INFO] fetching crate compile-time-lua-bind-hash 1.1.1... [INFO] checking compile-time-lua-bind-hash-1.1.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate compile-time-lua-bind-hash 1.1.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate compile-time-lua-bind-hash 1.1.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate compile-time-lua-bind-hash 1.1.1 [INFO] finished tweaking crates.io crate compile-time-lua-bind-hash 1.1.1 [INFO] tweaked toml for crates.io crate compile-time-lua-bind-hash 1.1.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lua_bind_hash v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c088f32532a124f4c5811c367e2fbec303e5a27fc7ba5c6fa45d5a7084acf51c [INFO] running `Command { std: "docker" "start" "-a" "c088f32532a124f4c5811c367e2fbec303e5a27fc7ba5c6fa45d5a7084acf51c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c088f32532a124f4c5811c367e2fbec303e5a27fc7ba5c6fa45d5a7084acf51c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c088f32532a124f4c5811c367e2fbec303e5a27fc7ba5c6fa45d5a7084acf51c", kill_on_drop: false }` [INFO] [stdout] c088f32532a124f4c5811c367e2fbec303e5a27fc7ba5c6fa45d5a7084acf51c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65dff0e5bca1b2dab5f4b85e3bbddace111d3bd2e8b6c13aaa133e9368fe7959 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "65dff0e5bca1b2dab5f4b85e3bbddace111d3bd2e8b6c13aaa133e9368fe7959", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking lua_bind_hash v1.0.1 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking syn v1.0.75 [INFO] [stderr] Checking compile-time-lua-bind-hash v1.1.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `compile_time_lua_bind_hash` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * /rustc/a7a572ce3edd6d476191fbfe92c9c1986e009b34/library/std/src/panic.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0425]: cannot find value `span` in this scope [INFO] [stderr] --> src/lib.rs:59:46 [INFO] [stderr] | [INFO] [stderr] 59 | TokenStream::from(quote_spanned!{span => [INFO] [stderr] | ^^^^ help: a local variable with a similar name exists: `_span` [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/lib.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 58 | panic!("Invalid input: '{:?}'", expr); [INFO] [stderr] | -------------------------------------- any code following this expression is unreachable [INFO] [stderr] 59 | / TokenStream::from(quote_spanned!{span => [INFO] [stderr] 60 | | compile_error!("Invalid input"); [INFO] [stderr] 61 | | }) [INFO] [stderr] | |______________^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 58 | panic!("Invalid input: '{:?}'", expr); [INFO] [stdout] | -------------------------------------- any code following this expression is unreachable [INFO] [stdout] 59 | / TokenStream::from(quote_spanned!{span => [INFO] [stdout] 60 | | compile_error!("Invalid input"); [INFO] [stdout] 61 | | }) [INFO] [stdout] | |______________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/lib.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let span = expr.span(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 58 | panic!("Invalid input: '{:?}'", expr); [INFO] [stdout] | -------------------------------------- any code following this expression is unreachable [INFO] [stdout] 59 | / TokenStream::from(quote_spanned!{span => [INFO] [stdout] 60 | | compile_error!("Invalid input"); [INFO] [stdout] 61 | | }) [INFO] [stdout] | |______________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/lib.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let span = expr.span(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.00s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking compile-time-lua-bind-hash v1.1.1 (/tmp/fixit) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 58 | panic!("Invalid input: '{:?}'", expr); [INFO] [stdout] | -------------------------------------- any code following this expression is unreachable [INFO] [stdout] 59 | / TokenStream::from(quote_spanned!{span => [INFO] [stdout] 60 | | compile_error!("Invalid input"); [INFO] [stdout] 61 | | }) [INFO] [stdout] | |______________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/lib.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let span = expr.span(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 58 | panic!("Invalid input: '{:?}'", expr); [INFO] [stdout] | -------------------------------------- any code following this expression is unreachable [INFO] [stdout] 59 | / TokenStream::from(quote_spanned!{span => [INFO] [stdout] 60 | | compile_error!("Invalid input"); [INFO] [stdout] 61 | | }) [INFO] [stdout] | |______________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/lib.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let span = expr.span(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "65dff0e5bca1b2dab5f4b85e3bbddace111d3bd2e8b6c13aaa133e9368fe7959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65dff0e5bca1b2dab5f4b85e3bbddace111d3bd2e8b6c13aaa133e9368fe7959", kill_on_drop: false }` [INFO] [stdout] 65dff0e5bca1b2dab5f4b85e3bbddace111d3bd2e8b6c13aaa133e9368fe7959