[INFO] fetching crate sktablelayout-rs 0.2.1... [INFO] testing sktablelayout-rs-0.2.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate sktablelayout-rs 0.2.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sktablelayout-rs 0.2.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sktablelayout-rs 0.2.1 [INFO] finished tweaking crates.io crate sktablelayout-rs 0.2.1 [INFO] tweaked toml for crates.io crate sktablelayout-rs 0.2.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", 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] b71ac9ec7de859fc3872576c425dfd92725ca44f1c98a49b70f106fb7b426fe3 [INFO] running `Command { std: "docker" "start" "-a" "b71ac9ec7de859fc3872576c425dfd92725ca44f1c98a49b70f106fb7b426fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b71ac9ec7de859fc3872576c425dfd92725ca44f1c98a49b70f106fb7b426fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b71ac9ec7de859fc3872576c425dfd92725ca44f1c98a49b70f106fb7b426fe3", kill_on_drop: false }` [INFO] [stdout] b71ac9ec7de859fc3872576c425dfd92725ca44f1c98a49b70f106fb7b426fe3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--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] 800e3b517fc691e885d5b865e24bc7c129273f3347bb278c825be886a3bc001d [INFO] running `Command { std: "docker" "start" "-a" "800e3b517fc691e885d5b865e24bc7c129273f3347bb278c825be886a3bc001d", kill_on_drop: false }` [INFO] [stderr] Compiling sktablelayout-rs v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | pub type PositioningFn = FnMut(f32, f32, f32, f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 - pub type PositioningFn = FnMut(f32, f32, f32, f32); [INFO] [stdout] 196 + pub type PositioningFn = dyn FnMut(f32, f32, f32, f32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:585:17 [INFO] [stdout] | [INFO] [stdout] 585 | for mut s in &mut slack { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:634:17 [INFO] [stdout] | [INFO] [stdout] 634 | for mut s in &mut slack { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:651:13 [INFO] [stdout] | [INFO] [stdout] 651 | for mut op in &mut self.opcodes { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `None` should have an upper case name [INFO] [stdout] --> src/lib.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | const None = 0b0000_0000_0000_0000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NONE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ExpandHorizontal` should have an upper case name [INFO] [stdout] --> src/lib.rs:169:15 [INFO] [stdout] | [INFO] [stdout] 169 | const ExpandHorizontal = 0b0000_0000_0000_0001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `EXPAND_HORIZONTAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ExpandVertical` should have an upper case name [INFO] [stdout] --> src/lib.rs:171:15 [INFO] [stdout] | [INFO] [stdout] 171 | const ExpandVertical = 0b0000_0000_0000_0010; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `EXPAND_VERTICAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `FillHorizontal` should have an upper case name [INFO] [stdout] --> src/lib.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | const FillHorizontal = 0b0000_0000_0000_0100; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `FILL_HORIZONTAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `FillVertical` should have an upper case name [INFO] [stdout] --> src/lib.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 175 | const FillVertical = 0b0000_0000_0000_1000; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `FILL_VERTICAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `AnchorTop` should have an upper case name [INFO] [stdout] --> src/lib.rs:177:15 [INFO] [stdout] | [INFO] [stdout] 177 | const AnchorTop = 0b0000_0000_0001_0000; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_TOP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `AnchorBottom` should have an upper case name [INFO] [stdout] --> src/lib.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | const AnchorBottom = 0b0000_0000_0010_0000; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_BOTTOM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `AnchorLeft` should have an upper case name [INFO] [stdout] --> src/lib.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 181 | const AnchorLeft = 0b0000_0000_0100_0000; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_LEFT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `AnchorRight` should have an upper case name [INFO] [stdout] --> src/lib.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | const AnchorRight = 0b0000_0000_1000_0000; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_RIGHT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `AnchorHorizontalCenter` should have an upper case name [INFO] [stdout] --> src/lib.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | const AnchorHorizontalCenter = 0b0000_0001_0000_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_HORIZONTAL_CENTER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `AnchorVerticalCenter` should have an upper case name [INFO] [stdout] --> src/lib.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 187 | const AnchorVerticalCenter = 0b0000_0010_0000_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_VERTICAL_CENTER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Uniform` should have an upper case name [INFO] [stdout] --> src/lib.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | const Uniform = 0b0000_0100_0000_0000; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `UNIFORM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.05s [INFO] running `Command { std: "docker" "inspect" "800e3b517fc691e885d5b865e24bc7c129273f3347bb278c825be886a3bc001d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "800e3b517fc691e885d5b865e24bc7c129273f3347bb278c825be886a3bc001d", kill_on_drop: false }` [INFO] [stdout] 800e3b517fc691e885d5b865e24bc7c129273f3347bb278c825be886a3bc001d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 93ceb69340ec84a2a86c7a46cf4de6ce360104cb1a4589538d1ed32947295efb [INFO] running `Command { std: "docker" "start" "-a" "93ceb69340ec84a2a86c7a46cf4de6ce360104cb1a4589538d1ed32947295efb", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | pub type PositioningFn = FnMut(f32, f32, f32, f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 - pub type PositioningFn = FnMut(f32, f32, f32, f32); [INFO] [stdout] 196 + pub type PositioningFn = dyn FnMut(f32, f32, f32, f32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:585:17 [INFO] [stdout] | [INFO] [stdout] 585 | for mut s in &mut slack { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:634:17 [INFO] [stdout] | [INFO] [stdout] 634 | for mut s in &mut slack { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:651:13 [INFO] [stdout] | [INFO] [stdout] 651 | for mut op in &mut self.opcodes { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `None` should have an upper case name [INFO] [stdout] --> src/lib.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | const None = 0b0000_0000_0000_0000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NONE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ExpandHorizontal` should have an upper case name [INFO] [stdout] --> src/lib.rs:169:15 [INFO] [stdout] | [INFO] [stdout] 169 | const ExpandHorizontal = 0b0000_0000_0000_0001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `EXPAND_HORIZONTAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ExpandVertical` should have an upper case name [INFO] [stdout] --> src/lib.rs:171:15 [INFO] [stdout] | [INFO] [stdout] 171 | const ExpandVertical = 0b0000_0000_0000_0010; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `EXPAND_VERTICAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `FillHorizontal` should have an upper case name [INFO] [stdout] --> src/lib.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | const FillHorizontal = 0b0000_0000_0000_0100; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `FILL_HORIZONTAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `FillVertical` should have an upper case name [INFO] [stdout] --> src/lib.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 175 | const FillVertical = 0b0000_0000_0000_1000; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `FILL_VERTICAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `AnchorTop` should have an upper case name [INFO] [stdout] --> src/lib.rs:177:15 [INFO] [stdout] | [INFO] [stdout] 177 | const AnchorTop = 0b0000_0000_0001_0000; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_TOP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `AnchorBottom` should have an upper case name [INFO] [stdout] --> src/lib.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | const AnchorBottom = 0b0000_0000_0010_0000; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_BOTTOM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `AnchorLeft` should have an upper case name [INFO] [stdout] --> src/lib.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 181 | const AnchorLeft = 0b0000_0000_0100_0000; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_LEFT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `AnchorRight` should have an upper case name [INFO] [stdout] --> src/lib.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | const AnchorRight = 0b0000_0000_1000_0000; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_RIGHT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `AnchorHorizontalCenter` should have an upper case name [INFO] [stdout] --> src/lib.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | const AnchorHorizontalCenter = 0b0000_0001_0000_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_HORIZONTAL_CENTER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `AnchorVerticalCenter` should have an upper case name [INFO] [stdout] --> src/lib.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 187 | const AnchorVerticalCenter = 0b0000_0010_0000_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_VERTICAL_CENTER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Uniform` should have an upper case name [INFO] [stdout] --> src/lib.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | const Uniform = 0b0000_0100_0000_0000; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `UNIFORM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sktablelayout-rs v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | pub type PositioningFn = FnMut(f32, f32, f32, f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 - pub type PositioningFn = FnMut(f32, f32, f32, f32); [INFO] [stdout] 196 + pub type PositioningFn = dyn FnMut(f32, f32, f32, f32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:585:17 [INFO] [stdout] | [INFO] [stdout] 585 | for mut s in &mut slack { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:634:17 [INFO] [stdout] | [INFO] [stdout] 634 | for mut s in &mut slack { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:651:13 [INFO] [stdout] | [INFO] [stdout] 651 | for mut op in &mut self.opcodes { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `None` should have an upper case name [INFO] [stdout] --> src/lib.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | const None = 0b0000_0000_0000_0000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NONE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ExpandHorizontal` should have an upper case name [INFO] [stdout] --> src/lib.rs:169:15 [INFO] [stdout] | [INFO] [stdout] 169 | const ExpandHorizontal = 0b0000_0000_0000_0001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `EXPAND_HORIZONTAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ExpandVertical` should have an upper case name [INFO] [stdout] --> src/lib.rs:171:15 [INFO] [stdout] | [INFO] [stdout] 171 | const ExpandVertical = 0b0000_0000_0000_0010; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `EXPAND_VERTICAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `FillHorizontal` should have an upper case name [INFO] [stdout] --> src/lib.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | const FillHorizontal = 0b0000_0000_0000_0100; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `FILL_HORIZONTAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `FillVertical` should have an upper case name [INFO] [stdout] --> src/lib.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 175 | const FillVertical = 0b0000_0000_0000_1000; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `FILL_VERTICAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `AnchorTop` should have an upper case name [INFO] [stdout] --> src/lib.rs:177:15 [INFO] [stdout] | [INFO] [stdout] 177 | const AnchorTop = 0b0000_0000_0001_0000; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_TOP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `AnchorBottom` should have an upper case name [INFO] [stdout] --> src/lib.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | const AnchorBottom = 0b0000_0000_0010_0000; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_BOTTOM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `AnchorLeft` should have an upper case name [INFO] [stdout] --> src/lib.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 181 | const AnchorLeft = 0b0000_0000_0100_0000; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_LEFT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `AnchorRight` should have an upper case name [INFO] [stdout] --> src/lib.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | const AnchorRight = 0b0000_0000_1000_0000; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_RIGHT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `AnchorHorizontalCenter` should have an upper case name [INFO] [stdout] --> src/lib.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | const AnchorHorizontalCenter = 0b0000_0001_0000_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_HORIZONTAL_CENTER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `AnchorVerticalCenter` should have an upper case name [INFO] [stdout] --> src/lib.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 187 | const AnchorVerticalCenter = 0b0000_0010_0000_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_VERTICAL_CENTER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Uniform` should have an upper case name [INFO] [stdout] --> src/lib.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | const Uniform = 0b0000_0100_0000_0000; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `UNIFORM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.18s [INFO] running `Command { std: "docker" "inspect" "93ceb69340ec84a2a86c7a46cf4de6ce360104cb1a4589538d1ed32947295efb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93ceb69340ec84a2a86c7a46cf4de6ce360104cb1a4589538d1ed32947295efb", kill_on_drop: false }` [INFO] [stdout] 93ceb69340ec84a2a86c7a46cf4de6ce360104cb1a4589538d1ed32947295efb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 9dcc1c32081ca6cd4984993496b98e2ca7179959eae2148ab1c0e5a9d81cbbe3 [INFO] running `Command { std: "docker" "start" "-a" "9dcc1c32081ca6cd4984993496b98e2ca7179959eae2148ab1c0e5a9d81cbbe3", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:196:26 [INFO] [stderr] | [INFO] [stderr] 196 | pub type PositioningFn = FnMut(f32, f32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 196 - pub type PositioningFn = FnMut(f32, f32, f32, f32); [INFO] [stderr] 196 + pub type PositioningFn = dyn FnMut(f32, f32, f32, f32); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:585:17 [INFO] [stderr] | [INFO] [stderr] 585 | for mut s in &mut slack { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:634:17 [INFO] [stderr] | [INFO] [stderr] 634 | for mut s in &mut slack { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:651:13 [INFO] [stderr] | [INFO] [stderr] 651 | for mut op in &mut self.opcodes { [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: associated constant `None` should have an upper case name [INFO] [stderr] --> src/lib.rs:167:15 [INFO] [stderr] | [INFO] [stderr] 167 | const None = 0b0000_0000_0000_0000; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `NONE` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated constant `ExpandHorizontal` should have an upper case name [INFO] [stderr] --> src/lib.rs:169:15 [INFO] [stderr] | [INFO] [stderr] 169 | const ExpandHorizontal = 0b0000_0000_0000_0001; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `EXPAND_HORIZONTAL` [INFO] [stderr] [INFO] [stderr] warning: associated constant `ExpandVertical` should have an upper case name [INFO] [stderr] --> src/lib.rs:171:15 [INFO] [stderr] | [INFO] [stderr] 171 | const ExpandVertical = 0b0000_0000_0000_0010; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `EXPAND_VERTICAL` [INFO] [stderr] [INFO] [stderr] warning: associated constant `FillHorizontal` should have an upper case name [INFO] [stderr] --> src/lib.rs:173:15 [INFO] [stderr] | [INFO] [stderr] 173 | const FillHorizontal = 0b0000_0000_0000_0100; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `FILL_HORIZONTAL` [INFO] [stderr] [INFO] [stderr] warning: associated constant `FillVertical` should have an upper case name [INFO] [stderr] --> src/lib.rs:175:15 [INFO] [stderr] | [INFO] [stderr] 175 | const FillVertical = 0b0000_0000_0000_1000; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `FILL_VERTICAL` [INFO] [stderr] [INFO] [stderr] warning: associated constant `AnchorTop` should have an upper case name [INFO] [stderr] --> src/lib.rs:177:15 [INFO] [stderr] | [INFO] [stderr] 177 | const AnchorTop = 0b0000_0000_0001_0000; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_TOP` [INFO] [stderr] [INFO] [stderr] warning: associated constant `AnchorBottom` should have an upper case name [INFO] [stderr] --> src/lib.rs:179:15 [INFO] [stderr] | [INFO] [stderr] 179 | const AnchorBottom = 0b0000_0000_0010_0000; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_BOTTOM` [INFO] [stderr] [INFO] [stderr] warning: associated constant `AnchorLeft` should have an upper case name [INFO] [stderr] --> src/lib.rs:181:15 [INFO] [stderr] | [INFO] [stderr] 181 | const AnchorLeft = 0b0000_0000_0100_0000; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_LEFT` [INFO] [stderr] [INFO] [stderr] warning: associated constant `AnchorRight` should have an upper case name [INFO] [stderr] --> src/lib.rs:183:15 [INFO] [stderr] | [INFO] [stderr] 183 | const AnchorRight = 0b0000_0000_1000_0000; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_RIGHT` [INFO] [stderr] [INFO] [stderr] warning: associated constant `AnchorHorizontalCenter` should have an upper case name [INFO] [stderr] --> src/lib.rs:185:15 [INFO] [stderr] | [INFO] [stderr] 185 | const AnchorHorizontalCenter = 0b0000_0001_0000_0000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_HORIZONTAL_CENTER` [INFO] [stderr] [INFO] [stderr] warning: associated constant `AnchorVerticalCenter` should have an upper case name [INFO] [stderr] --> src/lib.rs:187:15 [INFO] [stderr] | [INFO] [stderr] 187 | const AnchorVerticalCenter = 0b0000_0010_0000_0000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ANCHOR_VERTICAL_CENTER` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Uniform` should have an upper case name [INFO] [stderr] --> src/lib.rs:189:15 [INFO] [stderr] | [INFO] [stderr] 189 | const Uniform = 0b0000_0100_0000_0000; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper case: `UNIFORM` [INFO] [stderr] [INFO] [stderr] warning: `sktablelayout-rs` (lib) generated 16 warnings [INFO] [stderr] warning: `sktablelayout-rs` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sktablelayout-65b80787f0cce7a1) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test::centered_layout ... ok [INFO] [stdout] test test::expanding_layout ... ok [INFO] [stdout] test test::padded_big_cell ... ok [INFO] [stdout] test test::shrinking_layout ... ok [INFO] [stdout] test test::padded_multilayout ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests sktablelayout [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9dcc1c32081ca6cd4984993496b98e2ca7179959eae2148ab1c0e5a9d81cbbe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dcc1c32081ca6cd4984993496b98e2ca7179959eae2148ab1c0e5a9d81cbbe3", kill_on_drop: false }` [INFO] [stdout] 9dcc1c32081ca6cd4984993496b98e2ca7179959eae2148ab1c0e5a9d81cbbe3