[INFO] fetching crate allegro_examples 0.0.50... [INFO] checking allegro_examples-0.0.50 against try#a7b168ac4977e8e93a43448b44847adaa305d5a9 for pr-150557 [INFO] extracting crate allegro_examples 0.0.50 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate allegro_examples 0.0.50 [INFO] finished tweaking crates.io crate allegro_examples 0.0.50 [INFO] tweaked toml for crates.io crate allegro_examples 0.0.50 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate allegro_examples 0.0.50 on toolchain a7b168ac4977e8e93a43448b44847adaa305d5a9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate allegro_examples 0.0.50 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" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded allegro_ttf v0.0.50 [INFO] [stderr] Downloaded allegro_font-sys v0.0.50 [INFO] [stderr] Downloaded allegro_ttf-sys v0.0.50 [INFO] [stderr] Downloaded allegro_util v0.0.50 [INFO] [stderr] Downloaded allegro_primitives-sys v0.0.50 [INFO] [stderr] Downloaded allegro v0.0.50 [INFO] [stderr] Downloaded allegro_audio-sys v0.0.50 [INFO] [stderr] Downloaded allegro_acodec-sys v0.0.50 [INFO] [stderr] Downloaded allegro_acodec v0.0.50 [INFO] [stderr] Downloaded allegro_audio v0.0.50 [INFO] [stderr] Downloaded allegro_image v0.0.50 [INFO] [stderr] Downloaded allegro_image-sys v0.0.50 [INFO] [stderr] Downloaded allegro_primitives v0.0.50 [INFO] [stderr] Downloaded allegro_font v0.0.50 [INFO] [stderr] Downloaded allegro-sys v0.0.50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c1d3ca8f1e4046d61dfd3dbef9020963d1dce927162037531855e986cd3cff4 [INFO] running `Command { std: "docker" "start" "-a" "3c1d3ca8f1e4046d61dfd3dbef9020963d1dce927162037531855e986cd3cff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c1d3ca8f1e4046d61dfd3dbef9020963d1dce927162037531855e986cd3cff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c1d3ca8f1e4046d61dfd3dbef9020963d1dce927162037531855e986cd3cff4", kill_on_drop: false }` [INFO] [stdout] 3c1d3ca8f1e4046d61dfd3dbef9020963d1dce927162037531855e986cd3cff4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77b63f4a3cde7bd7d386ee7686c5d1964cc4493490c70ad59f4111fb57672780 [INFO] running `Command { std: "docker" "start" "-a" "77b63f4a3cde7bd7d386ee7686c5d1964cc4493490c70ad59f4111fb57672780", kill_on_drop: false }` [INFO] [stderr] Compiling allegro-sys v0.0.50 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling allegro v0.0.50 [INFO] [stderr] Compiling allegro_font-sys v0.0.50 [INFO] [stderr] Compiling allegro_audio-sys v0.0.50 [INFO] [stderr] Compiling allegro_primitives-sys v0.0.50 [INFO] [stderr] Compiling allegro_ttf-sys v0.0.50 [INFO] [stderr] Compiling allegro_image-sys v0.0.50 [INFO] [stderr] Compiling allegro_acodec-sys v0.0.50 [INFO] [stderr] Compiling allegro_primitives v0.0.50 [INFO] [stderr] Compiling allegro_examples v0.0.50 (/opt/rustwide/workdir) [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking allegro_util v0.0.50 [INFO] [stderr] Checking allegro_font v0.0.50 [INFO] [stderr] Checking allegro_audio v0.0.50 [INFO] [stderr] Checking allegro_image v0.0.50 [INFO] [stderr] Checking allegro_acodec v0.0.50 [INFO] [stderr] Checking allegro_ttf v0.0.50 [INFO] [stdout] warning: unexpected `cfg` condition name: `allegro_5_2_0` [INFO] [stdout] --> vertex_buffer.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(allegro_5_2_0, allegro_5_1_0))] [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(allegro_5_2_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_2_0)");` 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: `allegro_5_1_0` [INFO] [stdout] --> vertex_buffer.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(allegro_5_2_0, allegro_5_1_0))] [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(allegro_5_1_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_1_0)");` 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: `allegro_5_2_0` [INFO] [stdout] --> vertex_buffer.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | #[cfg(not(any(allegro_5_2_0, allegro_5_1_0)))] [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(allegro_5_2_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_2_0)");` 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: `allegro_5_1_0` [INFO] [stdout] --> vertex_buffer.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | #[cfg(not(any(allegro_5_2_0, allegro_5_1_0)))] [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(allegro_5_1_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_1_0)");` 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: `allegro_5_2_0` [INFO] [stdout] --> shaders.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(allegro_5_2_0, allegro_5_1_0))] [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(allegro_5_2_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_2_0)");` 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: `allegro_5_1_0` [INFO] [stdout] --> shaders.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(allegro_5_2_0, allegro_5_1_0))] [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(allegro_5_1_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_1_0)");` 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: `allegro_5_2_0` [INFO] [stdout] --> shaders.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(not(any(allegro_5_2_0, allegro_5_1_0)))] [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(allegro_5_2_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_2_0)");` 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: `allegro_5_1_0` [INFO] [stdout] --> shaders.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(not(any(allegro_5_2_0, allegro_5_1_0)))] [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(allegro_5_1_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_1_0)");` 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: `allegro_5_2_0` [INFO] [stdout] --> vertex_buffer.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(allegro_5_2_0, allegro_5_1_0))] [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(allegro_5_2_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_2_0)");` 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: `allegro_5_1_0` [INFO] [stdout] --> vertex_buffer.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(allegro_5_2_0, allegro_5_1_0))] [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(allegro_5_1_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_1_0)");` 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: `allegro_5_2_0` [INFO] [stdout] --> vertex_buffer.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | #[cfg(not(any(allegro_5_2_0, allegro_5_1_0)))] [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(allegro_5_2_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_2_0)");` 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: `allegro_5_1_0` [INFO] [stdout] --> vertex_buffer.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | #[cfg(not(any(allegro_5_2_0, allegro_5_1_0)))] [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(allegro_5_1_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_1_0)");` 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: `allegro_5_2_0` [INFO] [stdout] --> shaders.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(allegro_5_2_0, allegro_5_1_0))] [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(allegro_5_2_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_2_0)");` 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: `allegro_5_1_0` [INFO] [stdout] --> shaders.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(allegro_5_2_0, allegro_5_1_0))] [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(allegro_5_1_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_1_0)");` 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: `allegro_5_2_0` [INFO] [stdout] --> shaders.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(not(any(allegro_5_2_0, allegro_5_1_0)))] [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(allegro_5_2_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_2_0)");` 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: `allegro_5_1_0` [INFO] [stdout] --> shaders.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(not(any(allegro_5_2_0, allegro_5_1_0)))] [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(allegro_5_1_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_1_0)");` 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: `allegro_5_2_0` [INFO] [stdout] --> lock_example.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(allegro_5_2_0, allegro_5_1_0))] [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(allegro_5_2_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_2_0)");` 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: `allegro_5_1_0` [INFO] [stdout] --> lock_example.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(allegro_5_2_0, allegro_5_1_0))] [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(allegro_5_1_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_1_0)");` 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: variable does not need to be mutable [INFO] [stdout] --> lock_example.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | let mut disp = Display::new(&core, 800, 600).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `allegro_5_2_0` [INFO] [stdout] --> lock_example.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(allegro_5_2_0, allegro_5_1_0))] [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(allegro_5_2_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_2_0)");` 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: `allegro_5_1_0` [INFO] [stdout] --> lock_example.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(allegro_5_2_0, allegro_5_1_0))] [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(allegro_5_1_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allegro_5_1_0)");` 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: variable does not need to be mutable [INFO] [stdout] --> lock_example.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | let mut disp = Display::new(&core, 800, 600).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.33s [INFO] running `Command { std: "docker" "inspect" "77b63f4a3cde7bd7d386ee7686c5d1964cc4493490c70ad59f4111fb57672780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77b63f4a3cde7bd7d386ee7686c5d1964cc4493490c70ad59f4111fb57672780", kill_on_drop: false }` [INFO] [stdout] 77b63f4a3cde7bd7d386ee7686c5d1964cc4493490c70ad59f4111fb57672780