[INFO] fetching crate bin_packer_3d 0.1.2... [INFO] documenting bin_packer_3d-0.1.2 against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] extracting crate bin_packer_3d 0.1.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate bin_packer_3d 0.1.2 on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate bin_packer_3d 0.1.2 [INFO] finished tweaking crates.io crate bin_packer_3d 0.1.2 [INFO] tweaked toml for crates.io crate bin_packer_3d 0.1.2 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57231be33c2605821721a9577c08e04950667cc20ebc8c390204ba28618dd97b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "57231be33c2605821721a9577c08e04950667cc20ebc8c390204ba28618dd97b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57231be33c2605821721a9577c08e04950667cc20ebc8c390204ba28618dd97b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57231be33c2605821721a9577c08e04950667cc20ebc8c390204ba28618dd97b", kill_on_drop: false }` [INFO] [stdout] 57231be33c2605821721a9577c08e04950667cc20ebc8c390204ba28618dd97b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--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] f532c8db2f629d98c4ea614c632cd0247579a63828331fc7c51957c17a747c7c [INFO] running `Command { std: "docker" "start" "-a" "f532c8db2f629d98c4ea614c632cd0247579a63828331fc7c51957c17a747c7c", kill_on_drop: false }` [INFO] [stderr] Documenting bin_packer_3d v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/block.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::block::BestFitKind::{DoubledFit, ExactFit, GreaterThanFit}; [INFO] [stdout] 2 | | use std::cmp::Ordering::Equal; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | // TODO: explore using a fixed-decimal type. (eg: u16 for the integer, and u8 for the two decmial [INFO] [stdout] ... | [INFO] [stdout] 215 | | } [INFO] [stdout] 216 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | missing_doc_code_examples [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/block.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | /// Represents a 3-dimensional cuboid. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/block.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub dims: [Dimension; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/block.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | /// Represents the kinds of fits we support in the best-fit section of our algorithm. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/block.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | DoubledFit(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/block.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ExactFit(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/block.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | GreaterThanFit(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/block.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Dimension = f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/block.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | type Volume = f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/block.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / impl Block { [INFO] [stdout] 28 | | pub fn new(d1: Dimension, d2: Dimension, d3: Dimension) -> Self { [INFO] [stdout] 29 | | let mut dims = [d1, d2, d3]; [INFO] [stdout] 30 | | dims.sort_by(|a, b| a.partial_cmp(b).unwrap_or(Equal)); [INFO] [stdout] ... | [INFO] [stdout] 215 | | } [INFO] [stdout] 216 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/block.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / pub fn new(d1: Dimension, d2: Dimension, d3: Dimension) -> Self { [INFO] [stdout] 29 | | let mut dims = [d1, d2, d3]; [INFO] [stdout] 30 | | dims.sort_by(|a, b| a.partial_cmp(b).unwrap_or(Equal)); [INFO] [stdout] 31 | | Self { dims } [INFO] [stdout] 32 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/block.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / pub fn volume(&self) -> Volume { [INFO] [stdout] 35 | | self.dims.iter().map(|&dim| Volume::from(dim)).product() [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/block.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | /// Returns a boolean regarding whether or not an item will fit into the block. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/block.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / /// Finds the shortest length of the container that will fit the longest length of the item. [INFO] [stdout] 48 | | /// [INFO] [stdout] 49 | | /// Uses best fit to maximize for the volume of the remaining blocks in the container. The item [INFO] [stdout] 50 | | /// and the remaining blocks are rotated to optimize for the largest possible volume in the [INFO] [stdout] ... | [INFO] [stdout] 58 | | /// >>> Block::new(10,10,10).best_fit(Block::new(5,5,5)) [INFO] [stdout] 59 | | /// [ Block<5,5,5>, Block<5,5,10>, Block<5,10,10> ] [INFO] [stdout] | |_____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/block.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | / fn _get_side_2_side_3(&self, item: &Block, side_1: usize) -> (usize, usize) { [INFO] [stdout] 167 | | if item.dims[1] > self.dims[(side_1 + 2) % 3] { [INFO] [stdout] 168 | | ((side_1 + 1) % 3, (side_1 + 2) % 3) [INFO] [stdout] 169 | | } else if item.dims[1] > self.dims[(side_1 + 1) % 3] { [INFO] [stdout] ... | [INFO] [stdout] 173 | | } [INFO] [stdout] 174 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/block.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | / fn _get_best_fit(&self, item: &Block) -> BestFitKind { [INFO] [stdout] 180 | | let doubled_fit_side = self.dims.iter().enumerate().find_map(|(i, side)| { [INFO] [stdout] 181 | | if side >= &(item.dims[2] * 2 as Dimension) { [INFO] [stdout] 182 | | Some(i) [INFO] [stdout] ... | [INFO] [stdout] 214 | | } [INFO] [stdout] 215 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | /// Defines the function that will be used for our packing algorithm. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packing_algorithm.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// While loop to pack items into a bin, using a First Fit Descending approach. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// When you pack an item into a bin, find the best fit, which will change the dimensions available [INFO] [stdout] 8 | | /// to pack items into. While there are still items to pack and dimensions large enough to hold at [INFO] [stdout] ... | [INFO] [stdout] 20 | | /// >>> pack_bins([5,5,10], [[5,5,10], [5,5,6], [5,5,4]]) [ [[5,5,10]], [INFO] [stdout] 21 | | /// [[5,5,6], [5,5,4]] ] [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | /// A struct representing the dimensions of the bin, which will be used for packing. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/bin.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | /// Represents an item that a user will insert into a bin. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/bin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | /// Represents the cuboid of this Bin. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/bin.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / impl Bin { [INFO] [stdout] 12 | | /// Creates a new Bin from it's dimensions. [INFO] [stdout] 13 | | pub fn new(dims: [Dimension; 3]) -> Self { [INFO] [stdout] 14 | | Self { [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/bin.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | /// Creates a new Bin from it's dimensions. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/bin.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | /// Returns whether or not the Bin's dimensions can emcompass or match the Bin. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/bin.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / /// Returns the remaining bins after the item has been added to the current bin. [INFO] [stdout] 25 | | /// Returns None if the item is too big to fit into the bin. [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | /// A struct representing the items we'll be packing into the bin. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/item.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | /// Represents an item that a user will insert into a bin. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/item.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | /// a string slice of the id [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/item.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | /// a Block [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/item.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / impl<'a> Item<'a> { [INFO] [stdout] 15 | | /// Create an item given it's id and dimensions. [INFO] [stdout] 16 | | pub fn new(id: &'a str, dims: [Dimension; 3]) -> Self { [INFO] [stdout] 17 | | Self { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/item.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | /// Create an item given it's id and dimensions. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/item.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / fn get_largest_dim(&self) -> Dimension { [INFO] [stdout] 24 | | self.block.dims[2] [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | /// Defines an Error type and a Result type, which can be raised from the packing algorithm. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | /// There are the errors which can be raised when using the bin packing algorithm. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / /// It is an invariant that each item must be able to fit within the bin's dimensions. If one or [INFO] [stdout] 8 | | /// more items don't fit into the bin, then this error will be raised. [INFO] [stdout] 9 | | /// [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | /// This Result type is a convenience type that uses the BinPacker's Error type as a default. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/bin.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / impl From for Bin { [INFO] [stdout] 34 | | fn from(block: Block) -> Self { [INFO] [stdout] 35 | | Bin::new([block.dims[0], block.dims[1], block.dims[2]]) [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/bin.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / fn from(block: Block) -> Self { [INFO] [stdout] 35 | | Bin::new([block.dims[0], block.dims[1], block.dims[2]]) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/item.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'a> Eq for Item<'a> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/item.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / impl Ord for Item<'_> { [INFO] [stdout] 29 | | fn cmp(&self, other: &Self) -> Ordering { [INFO] [stdout] 30 | | self.get_largest_dim() [INFO] [stdout] 31 | | .partial_cmp(&other.get_largest_dim()) [INFO] [stdout] 32 | | .unwrap_or(Equal) [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/item.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / fn cmp(&self, other: &Self) -> Ordering { [INFO] [stdout] 30 | | self.get_largest_dim() [INFO] [stdout] 31 | | .partial_cmp(&other.get_largest_dim()) [INFO] [stdout] 32 | | .unwrap_or(Equal) [INFO] [stdout] 33 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/item.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / impl PartialEq for Item<'_> { [INFO] [stdout] 43 | | fn eq(&self, other: &Self) -> bool { [INFO] [stdout] 44 | | self.id == other.id [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/item.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | / fn eq(&self, other: &Self) -> bool { [INFO] [stdout] 44 | | self.id == other.id [INFO] [stdout] 45 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/item.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / impl PartialOrd for Item<'_> { [INFO] [stdout] 37 | | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 38 | | Some(self.cmp(&other)) [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/item.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 38 | | Some(self.cmp(&other)) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.62s [INFO] running `Command { std: "docker" "inspect" "f532c8db2f629d98c4ea614c632cd0247579a63828331fc7c51957c17a747c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f532c8db2f629d98c4ea614c632cd0247579a63828331fc7c51957c17a747c7c", kill_on_drop: false }` [INFO] [stdout] f532c8db2f629d98c4ea614c632cd0247579a63828331fc7c51957c17a747c7c