[INFO] fetching crate hardshare 0.13.1... [INFO] testing hardshare-0.13.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate hardshare 0.13.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate hardshare 0.13.1 [INFO] finished tweaking crates.io crate hardshare 0.13.1 [INFO] tweaked toml for crates.io crate hardshare 0.13.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hardshare 0.13.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hardshare 0.13.1 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03934a4f1daf37e340560457c79b9e36ba60effab5fd973e63b7a7313a03e5c0 [INFO] running `Command { std: "docker" "start" "-a" "03934a4f1daf37e340560457c79b9e36ba60effab5fd973e63b7a7313a03e5c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03934a4f1daf37e340560457c79b9e36ba60effab5fd973e63b7a7313a03e5c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03934a4f1daf37e340560457c79b9e36ba60effab5fd973e63b7a7313a03e5c0", kill_on_drop: false }` [INFO] [stdout] 03934a4f1daf37e340560457c79b9e36ba60effab5fd973e63b7a7313a03e5c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83d9e4f3dccaa612d6705b2c6bb1ceedaf26f0c9bf3a4a9347e3806bb6202e36 [INFO] running `Command { std: "docker" "start" "-a" "83d9e4f3dccaa612d6705b2c6bb1ceedaf26f0c9bf3a4a9347e3806bb6202e36", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling openssl-src v300.2.3+3.2.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling v4l2-sys-mit v0.3.0 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling actix v0.10.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling v4l v0.14.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-openssl v0.4.0 [INFO] [stderr] Compiling jwt v0.11.0 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-http v2.2.2 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.3 [INFO] [stderr] Compiling actix-web-actors v3.0.0 [INFO] [stderr] Compiling hardshare v0.13.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `format` is never read [INFO] [stdout] --> src/camera.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | format = match dev.set_format(&format) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/camera.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | let stream = match MmapStream::with_buffers(&dev, v4l::buffer::Type::VideoCapture, buffer_count) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `format` is never read [INFO] [stdout] --> src/camera.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | format = match dev.set_format(&format) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemoteConfig` is never constructed [INFO] [stdout] --> src/api.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct RemoteConfig {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6m 29s [INFO] running `Command { std: "docker" "inspect" "83d9e4f3dccaa612d6705b2c6bb1ceedaf26f0c9bf3a4a9347e3806bb6202e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83d9e4f3dccaa612d6705b2c6bb1ceedaf26f0c9bf3a4a9347e3806bb6202e36", kill_on_drop: false }` [INFO] [stdout] 83d9e4f3dccaa612d6705b2c6bb1ceedaf26f0c9bf3a4a9347e3806bb6202e36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4f513da7a370646e57505d7deb463cb9a8c7495c8ddb9c26742edadfd71e053 [INFO] running `Command { std: "docker" "start" "-a" "c4f513da7a370646e57505d7deb463cb9a8c7495c8ddb9c26742edadfd71e053", kill_on_drop: false }` [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling similar v2.5.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling mockito v0.30.0 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling insta v1.39.0 [INFO] [stderr] Compiling assert_cmd v1.0.8 [INFO] [stderr] Compiling hardshare v0.13.1 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/../tests/keys/public.pem`: No such file or directory (os error 2) [INFO] [stdout] --> src/mgmt.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | const PUBLIC_KEY: &[u8] = include_bytes!("../tests/keys/public.pem"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a file with the same name in a different directory [INFO] [stdout] | [INFO] [stdout] 39 - const PUBLIC_KEY: &[u8] = include_bytes!("../tests/keys/public.pem"); [INFO] [stdout] 39 + const PUBLIC_KEY: &[u8] = include_bytes!("../keys/public.pem"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `format` is never read [INFO] [stdout] --> src/camera.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | format = match dev.set_format(&format) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/camera.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | let stream = match MmapStream::with_buffers(&dev, v4l::buffer::Type::VideoCapture, buffer_count) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `format` is never read [INFO] [stdout] --> src/camera.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | format = match dev.set_format(&format) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hardshare` (bin "hardshare" test) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c4f513da7a370646e57505d7deb463cb9a8c7495c8ddb9c26742edadfd71e053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4f513da7a370646e57505d7deb463cb9a8c7495c8ddb9c26742edadfd71e053", kill_on_drop: false }` [INFO] [stdout] c4f513da7a370646e57505d7deb463cb9a8c7495c8ddb9c26742edadfd71e053