[INFO] fetching crate skiff 0.3.0... [INFO] checking skiff-0.3.0 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] extracting crate skiff 0.3.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate skiff 0.3.0 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate skiff 0.3.0 [INFO] finished tweaking crates.io crate skiff 0.3.0 [INFO] tweaked toml for crates.io crate skiff 0.3.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate skiff 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44741c9d4604710e957a49d7484d0be5afb2da14f4bd4d6f3bd180543f5b7f57 [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" "44741c9d4604710e957a49d7484d0be5afb2da14f4bd4d6f3bd180543f5b7f57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44741c9d4604710e957a49d7484d0be5afb2da14f4bd4d6f3bd180543f5b7f57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44741c9d4604710e957a49d7484d0be5afb2da14f4bd4d6f3bd180543f5b7f57", kill_on_drop: false }` [INFO] [stdout] 44741c9d4604710e957a49d7484d0be5afb2da14f4bd4d6f3bd180543f5b7f57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] d183d2ab55c5ff12eab0f78beb9d9129e5a98a5ec3c517c22b5c3e43d57c9648 [INFO] running `Command { std: "docker" "start" "-a" "d183d2ab55c5ff12eab0f78beb9d9129e5a98a5ec3c517c22b5c3e43d57c9648", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling beef v0.5.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling im v15.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.24 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.74 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.74 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.74 [INFO] [stderr] Checking wasm-bindgen v0.2.74 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking js-sys v0.3.51 [INFO] [stderr] Checking logos v0.12.0 [INFO] [stderr] Checking skiff v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ast` [INFO] [stdout] --> src/wasm/wasm_exports.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ast, error_handling, interpreter::interpret, lexer::lex, parser, parser::parse}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/wasm/wasm_exports.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{borrow::Borrow, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/parser/parse.rs:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | Some((Token::Comma, 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: unnecessary `unsafe` block [INFO] [stdout] --> src/wasm/wasm_exports.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/wasm/wasm_exports.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/wasm/wasm_exports.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/wasm/wasm_exports.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/wasm/wasm_exports.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/wasm/wasm_exports.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_panic_hook` [INFO] [stdout] --> src/wasm/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn set_panic_hook() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/parse.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | _ => panic!(format!("Tried to get binding power of non-op token {:?}", op).to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 21 | _ => panic!("{}", format!("Tried to get binding power of non-op token {:?}", op).to_string()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 21 | _ => std::panic::panic_any(format!("Tried to get binding power of non-op token {:?}", op).to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/patterns/parse.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | _ => panic!(format!("Tried to get binding power of non-op token {:?}", op).to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 10 | _ => panic!("{}", format!("Tried to get binding power of non-op token {:?}", op).to_string()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 10 | _ => std::panic::panic_any(format!("Tried to get binding power of non-op token {:?}", op).to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasm-bindgen-futures v0.4.24 [INFO] [stderr] Checking wasm-bindgen-test v0.3.24 [INFO] [stdout] warning: unused import: `ast` [INFO] [stdout] --> src/wasm/wasm_exports.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ast, error_handling, interpreter::interpret, lexer::lex, parser, parser::parse}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/wasm/wasm_exports.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{borrow::Borrow, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/parser/parse.rs:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | Some((Token::Comma, 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: unnecessary `unsafe` block [INFO] [stdout] --> src/wasm/wasm_exports.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/wasm/wasm_exports.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/wasm/wasm_exports.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/wasm/wasm_exports.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/wasm/wasm_exports.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/wasm/wasm_exports.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_panic_hook` [INFO] [stdout] --> src/wasm/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn set_panic_hook() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/parse.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | _ => panic!(format!("Tried to get binding power of non-op token {:?}", op).to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 21 | _ => panic!("{}", format!("Tried to get binding power of non-op token {:?}", op).to_string()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 21 | _ => std::panic::panic_any(format!("Tried to get binding power of non-op token {:?}", op).to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/patterns/parse.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | _ => panic!(format!("Tried to get binding power of non-op token {:?}", op).to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 10 | _ => panic!("{}", format!("Tried to get binding power of non-op token {:?}", op).to_string()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 10 | _ => std::panic::panic_any(format!("Tried to get binding power of non-op token {:?}", op).to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.50s [INFO] running `Command { std: "docker" "inspect" "d183d2ab55c5ff12eab0f78beb9d9129e5a98a5ec3c517c22b5c3e43d57c9648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d183d2ab55c5ff12eab0f78beb9d9129e5a98a5ec3c517c22b5c3e43d57c9648", kill_on_drop: false }` [INFO] [stdout] d183d2ab55c5ff12eab0f78beb9d9129e5a98a5ec3c517c22b5c3e43d57c9648