[INFO] fetching crate squawk 0.3.0... [INFO] testing squawk-0.3.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate squawk 0.3.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate squawk 0.3.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate squawk 0.3.0 [INFO] finished tweaking crates.io crate squawk 0.3.0 [INFO] tweaked toml for crates.io crate squawk 0.3.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate squawk 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1dae3d561727b21dd39dbc1b31aa0771c66d34dfa66f552f9f53de58923f62fa [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" "1dae3d561727b21dd39dbc1b31aa0771c66d34dfa66f552f9f53de58923f62fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dae3d561727b21dd39dbc1b31aa0771c66d34dfa66f552f9f53de58923f62fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dae3d561727b21dd39dbc1b31aa0771c66d34dfa66f552f9f53de58923f62fa", kill_on_drop: false }` [INFO] [stdout] 1dae3d561727b21dd39dbc1b31aa0771c66d34dfa66f552f9f53de58923f62fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ec9af2309f134f445666d768e447e9bd8a09ed256cd0e4ac0f9159c0d537282 [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" "9ec9af2309f134f445666d768e447e9bd8a09ed256cd0e4ac0f9159c0d537282", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling bindgen v0.45.0 [INFO] [stderr] Compiling make-cmd v0.1.0 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling base64 v0.12.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling terminal_size v0.1.12 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling pem v0.8.1 [INFO] [stderr] Compiling console v0.11.3 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling simplelog v0.8.0 [INFO] [stderr] Compiling simple_asn1 v0.4.0 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling serde_repr v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling structopt v0.3.14 [INFO] [stderr] Compiling libpg_query-sys v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling jsonwebtoken v7.1.2 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling squawk-github v0.3.0 [INFO] [stderr] Compiling squawk-parser v0.3.0 [INFO] [stderr] Compiling squawk-linter v0.3.0 [INFO] [stderr] Compiling squawk v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> src/reporter.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ViolationLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/reporter.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 00s [INFO] running `Command { std: "docker" "inspect" "9ec9af2309f134f445666d768e447e9bd8a09ed256cd0e4ac0f9159c0d537282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ec9af2309f134f445666d768e447e9bd8a09ed256cd0e4ac0f9159c0d537282", kill_on_drop: false }` [INFO] [stdout] 9ec9af2309f134f445666d768e447e9bd8a09ed256cd0e4ac0f9159c0d537282 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--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] 6a1a9fb19cf8a0bc719adeb797c3b335ae22f152831f385e913f3a205503e4c5 [INFO] running `Command { std: "docker" "start" "-a" "6a1a9fb19cf8a0bc719adeb797c3b335ae22f152831f385e913f3a205503e4c5", kill_on_drop: false }` [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling console v0.10.3 [INFO] [stderr] Compiling serde_yaml v0.8.12 [INFO] [stderr] Compiling insta v0.16.0 [INFO] [stderr] Compiling squawk v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> src/reporter.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ViolationLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/reporter.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 19.83s [INFO] running `Command { std: "docker" "inspect" "6a1a9fb19cf8a0bc719adeb797c3b335ae22f152831f385e913f3a205503e4c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a1a9fb19cf8a0bc719adeb797c3b335ae22f152831f385e913f3a205503e4c5", kill_on_drop: false }` [INFO] [stdout] 6a1a9fb19cf8a0bc719adeb797c3b335ae22f152831f385e913f3a205503e4c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", 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] d1a0cd024b12c0b7e1880662a79ebf3653935e55c46a6a94e4bb09dd9c3648ef [INFO] running `Command { std: "docker" "start" "-a" "d1a0cd024b12c0b7e1880662a79ebf3653935e55c46a6a94e4bb09dd9c3648ef", kill_on_drop: false }` [INFO] [stderr] warning: variant is never constructed: `Error` [INFO] [stderr] --> src/reporter.rs:159:5 [INFO] [stderr] | [INFO] [stderr] 159 | Error, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `ViolationLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/reporter.rs:157:10 [INFO] [stderr] | [INFO] [stderr] 157 | #[derive(Debug, Serialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `squawk` (bin "squawk" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/squawk-4ca0695cc56d51bf) [INFO] [stdout] running 9 tests [INFO] [stdout] test reporter::test_github_comment::test_generating_no_violations_no_files ... ok [INFO] [stdout] test reporter::test_github_comment::test_generating_comment_no_violations ... ok [INFO] [stdout] test reporter::test_reporter::test_display_violations_json ... ok [INFO] [stdout] test reporter::test_reporter::test_display_violations_gcc ... ok [INFO] [stdout] test reporter::test_github_comment::test_generating_comment_multiple_files ... ok [INFO] [stdout] test reporter::test_reporter::test_display_violations_tty ... ok [INFO] [stdout] test reporter::test_reporter::test_trimming_sql_newlines ... ok [INFO] [stdout] test reporter::test_reporter::test_display_no_violations_tty ... ok [INFO] [stdout] test reporter::test_reporter::test_span_offsets ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d1a0cd024b12c0b7e1880662a79ebf3653935e55c46a6a94e4bb09dd9c3648ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1a0cd024b12c0b7e1880662a79ebf3653935e55c46a6a94e4bb09dd9c3648ef", kill_on_drop: false }` [INFO] [stdout] d1a0cd024b12c0b7e1880662a79ebf3653935e55c46a6a94e4bb09dd9c3648ef