[INFO] fetching crate lewton 0.10.2... [INFO] checking lewton-0.10.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate lewton 0.10.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate lewton 0.10.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate lewton 0.10.2 [INFO] tweaked toml for crates.io crate lewton 0.10.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lewton 0.10.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lewton 0.10.2 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded alto v3.0.4 [INFO] [stderr] Downloaded al-sys v0.6.1 [INFO] [stderr] Downloaded rental v0.5.5 [INFO] [stderr] Downloaded rental-impl v0.5.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a40b30833abd66e714339506ad501c3e111160dab9118a7e0297b745be5b7ed7 [INFO] running `Command { std: "docker" "start" "-a" "a40b30833abd66e714339506ad501c3e111160dab9118a7e0297b745be5b7ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a40b30833abd66e714339506ad501c3e111160dab9118a7e0297b745be5b7ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a40b30833abd66e714339506ad501c3e111160dab9118a7e0297b745be5b7ed7", kill_on_drop: false }` [INFO] [stdout] a40b30833abd66e714339506ad501c3e111160dab9118a7e0297b745be5b7ed7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c9622ba3594703dd98f6f4597669a8a9d41929092452539205d698d7ee68502 [INFO] running `Command { std: "docker" "start" "-a" "3c9622ba3594703dd98f6f4597669a8a9d41929092452539205d698d7ee68502", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tinyvec v1.0.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking lewton v0.10.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling al-sys v0.6.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stdout] warning: unexpected `cfg` condition name: `cargo_c` [INFO] [stdout] --> src/lib.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #![cfg_attr(not(cargo_c), forbid(unsafe_code))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_c)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_c)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `cargo_c` [INFO] [stdout] --> src/lib.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(cargo_c)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_c)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_c)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `cargo_c` [INFO] [stdout] --> src/lib.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(cargo_c)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_c)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_c)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `codebook_entries` is never read [INFO] [stdout] --> src/header.rs:363:6 [INFO] [stdout] | [INFO] [stdout] 361 | pub(crate) struct Codebook { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 362 | pub codebook_dimensions :u16, [INFO] [stdout] 363 | pub codebook_entries :u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mapping_submaps` is never read [INFO] [stdout] --> src/header.rs:382:6 [INFO] [stdout] | [INFO] [stdout] 381 | pub(crate) struct Mapping { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 382 | pub mapping_submaps :u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `floor0_rate` and `floor0_bark_map_size` are never read [INFO] [stdout] --> src/header.rs:402:6 [INFO] [stdout] | [INFO] [stdout] 400 | pub(crate) struct FloorTypeZero { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 401 | pub floor0_order :u8, [INFO] [stdout] 402 | pub floor0_rate :u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 403 | pub floor0_bark_map_size :u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bitpacking.rs:364:20 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn new(arr : &'a[u8]) -> BitpackCursor { [INFO] [stdout] | ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 364 | pub fn new(arr : &'a[u8]) -> BitpackCursor<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Checking rental v0.5.5 [INFO] [stdout] error: using an old version of `rental` [INFO] [stdout] | [INFO] [stdout] = note: older versions of the `rental` crate no longer compile; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rental` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "3c9622ba3594703dd98f6f4597669a8a9d41929092452539205d698d7ee68502", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c9622ba3594703dd98f6f4597669a8a9d41929092452539205d698d7ee68502", kill_on_drop: false }` [INFO] [stdout] 3c9622ba3594703dd98f6f4597669a8a9d41929092452539205d698d7ee68502