[INFO] fetching crate lewton 0.10.2... [INFO] testing lewton-0.10.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate lewton 0.10.2 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lewton 0.10.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 368e1d13aca148933c6e2a4bb62b00a9f4eb3905196a46b0071534181cd4e9a8 [INFO] running `Command { std: "docker" "start" "-a" "368e1d13aca148933c6e2a4bb62b00a9f4eb3905196a46b0071534181cd4e9a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "368e1d13aca148933c6e2a4bb62b00a9f4eb3905196a46b0071534181cd4e9a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "368e1d13aca148933c6e2a4bb62b00a9f4eb3905196a46b0071534181cd4e9a8", kill_on_drop: false }` [INFO] [stdout] 368e1d13aca148933c6e2a4bb62b00a9f4eb3905196a46b0071534181cd4e9a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c29cc0e660c9df4b0a35d8109095f7718e4bfbe88d95ad6fefe31f1e65c08590 [INFO] running `Command { std: "docker" "start" "-a" "c29cc0e660c9df4b0a35d8109095f7718e4bfbe88d95ad6fefe31f1e65c08590", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling tinyvec v1.0.1 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling lewton v0.10.2 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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:31 [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.19s [INFO] running `Command { std: "docker" "inspect" "c29cc0e660c9df4b0a35d8109095f7718e4bfbe88d95ad6fefe31f1e65c08590", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c29cc0e660c9df4b0a35d8109095f7718e4bfbe88d95ad6fefe31f1e65c08590", kill_on_drop: false }` [INFO] [stdout] c29cc0e660c9df4b0a35d8109095f7718e4bfbe88d95ad6fefe31f1e65c08590 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aca3e21cdd6ef7a1e8dc4a06558ca3a3964678583ed1b2068242a37ce0789c01 [INFO] running `Command { std: "docker" "start" "-a" "aca3e21cdd6ef7a1e8dc4a06558ca3a3964678583ed1b2068242a37ce0789c01", 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 maybe-uninit v2.0.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling owning_ref v0.3.3 [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)]` (part of `#[warn(unused)]`) 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:31 [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] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling al-sys v0.6.1 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling 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" "aca3e21cdd6ef7a1e8dc4a06558ca3a3964678583ed1b2068242a37ce0789c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aca3e21cdd6ef7a1e8dc4a06558ca3a3964678583ed1b2068242a37ce0789c01", kill_on_drop: false }` [INFO] [stdout] aca3e21cdd6ef7a1e8dc4a06558ca3a3964678583ed1b2068242a37ce0789c01