[INFO] cloning repository https://github.com/spinjam/pyxeledit-to-ldtk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spinjam/pyxeledit-to-ldtk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspinjam%2Fpyxeledit-to-ldtk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspinjam%2Fpyxeledit-to-ldtk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab68b5568e3d4e00b5f37a34575a3da3df9ad071 [INFO] testing spinjam/pyxeledit-to-ldtk against master#595316b4006932405a63862d8fe65f71a6356293 for pr-128254 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspinjam%2Fpyxeledit-to-ldtk" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/spinjam/pyxeledit-to-ldtk on toolchain 595316b4006932405a63862d8fe65f71a6356293 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/spinjam/pyxeledit-to-ldtk [INFO] finished tweaking git repo https://github.com/spinjam/pyxeledit-to-ldtk [INFO] tweaked toml for git repo https://github.com/spinjam/pyxeledit-to-ldtk written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/spinjam/pyxeledit-to-ldtk 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" "+595316b4006932405a63862d8fe65f71a6356293" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe502356e27faf5cec073aafc570f6e253deaba45791517cd54a674137df1089 [INFO] running `Command { std: "docker" "start" "-a" "fe502356e27faf5cec073aafc570f6e253deaba45791517cd54a674137df1089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe502356e27faf5cec073aafc570f6e253deaba45791517cd54a674137df1089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe502356e27faf5cec073aafc570f6e253deaba45791517cd54a674137df1089", kill_on_drop: false }` [INFO] [stdout] fe502356e27faf5cec073aafc570f6e253deaba45791517cd54a674137df1089 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76cd2c7e225398fcb0b5011bca40082dc12cc3521677f7348b9895c803b71c88 [INFO] running `Command { std: "docker" "start" "-a" "76cd2c7e225398fcb0b5011bca40082dc12cc3521677f7348b9895c803b71c88", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling zip v0.5.12 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling pyxeledit2ldtk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | /// Layer type (possible values: IntGrid, Entities, Tiles or AutoLayer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | layer_instance_type: "Tiles".to_owned(), [INFO] [stdout] | --------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | /// Reference the Layer definition UID (important!) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | layer_def_uid: layer_uid, [INFO] [stdout] | ------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | / /// Pixel coordinates of the tile in the **layer** [INFO] [stdout] 199 | | /// (`[x,y]` format). Don't forget optional [INFO] [stdout] 200 | | /// layer offsets, if they exist! [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 201 | px: vec![(pos_x * tile_w) as i64, (pos_y * tile_w) as i64], [INFO] [stdout] | ---------------------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | /// Pixel coordinates of the tile in the **tileset** (`[x,y]` format) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 204 | src: vec![0, 0], [INFO] [stdout] | --------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | /// flip bits [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 206 | f: 0, [INFO] [stdout] | ---- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | /// tile id in the corresponding tileset [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 208 | t: tile_index, [INFO] [stdout] | ------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | / /// Internal data used by the editor. [INFO] [stdout] 210 | | /// For auto-layer tiles: `[ruleId, coordId]` [INFO] [stdout] 211 | | /// For tile-layer tiles: `[coordId]` [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] 212 | // d: vec![tile_index], [INFO] [stdout] 213 | d: vec![pos_y * map_w + pos_x], [INFO] [stdout] | ------------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tile_h` is never read [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SharedData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | tile_h: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Coord` is never constructed [INFO] [stdout] --> src/convert.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Coord { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | tiles.push(current.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/convert.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | let filename = file.name().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/convert.rs:29:50 [INFO] [stdout] | [INFO] [stdout] 29 | docdata_filename.push_str(file.name().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.90s [INFO] running `Command { std: "docker" "inspect" "76cd2c7e225398fcb0b5011bca40082dc12cc3521677f7348b9895c803b71c88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76cd2c7e225398fcb0b5011bca40082dc12cc3521677f7348b9895c803b71c88", kill_on_drop: false }` [INFO] [stdout] 76cd2c7e225398fcb0b5011bca40082dc12cc3521677f7348b9895c803b71c88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03159ca29784d70397f26d22958bf01ac471a611614a43403855c957fcf23bc4 [INFO] running `Command { std: "docker" "start" "-a" "03159ca29784d70397f26d22958bf01ac471a611614a43403855c957fcf23bc4", kill_on_drop: false }` [INFO] [stderr] Compiling pyxeledit2ldtk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | /// Layer type (possible values: IntGrid, Entities, Tiles or AutoLayer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | layer_instance_type: "Tiles".to_owned(), [INFO] [stdout] | --------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | /// Reference the Layer definition UID (important!) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | layer_def_uid: layer_uid, [INFO] [stdout] | ------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | / /// Pixel coordinates of the tile in the **layer** [INFO] [stdout] 199 | | /// (`[x,y]` format). Don't forget optional [INFO] [stdout] 200 | | /// layer offsets, if they exist! [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 201 | px: vec![(pos_x * tile_w) as i64, (pos_y * tile_w) as i64], [INFO] [stdout] | ---------------------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | /// Pixel coordinates of the tile in the **tileset** (`[x,y]` format) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 204 | src: vec![0, 0], [INFO] [stdout] | --------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | /// flip bits [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 206 | f: 0, [INFO] [stdout] | ---- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | /// tile id in the corresponding tileset [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 208 | t: tile_index, [INFO] [stdout] | ------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/convert.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | / /// Internal data used by the editor. [INFO] [stdout] 210 | | /// For auto-layer tiles: `[ruleId, coordId]` [INFO] [stdout] 211 | | /// For tile-layer tiles: `[coordId]` [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] 212 | // d: vec![tile_index], [INFO] [stdout] 213 | d: vec![pos_y * map_w + pos_x], [INFO] [stdout] | ------------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tile_h` is never read [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SharedData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | tile_h: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Coord` is never constructed [INFO] [stdout] --> src/convert.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Coord { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | tiles.push(current.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/convert.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | let filename = file.name().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/convert.rs:29:50 [INFO] [stdout] | [INFO] [stdout] 29 | docdata_filename.push_str(file.name().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "03159ca29784d70397f26d22958bf01ac471a611614a43403855c957fcf23bc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03159ca29784d70397f26d22958bf01ac471a611614a43403855c957fcf23bc4", kill_on_drop: false }` [INFO] [stdout] 03159ca29784d70397f26d22958bf01ac471a611614a43403855c957fcf23bc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 51483419a4cc0aa56308fbaa3b430cad5a52e7ea62684c6347a378685455251e [INFO] running `Command { std: "docker" "start" "-a" "51483419a4cc0aa56308fbaa3b430cad5a52e7ea62684c6347a378685455251e", kill_on_drop: false }` [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/convert.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | /// Layer type (possible values: IntGrid, Entities, Tiles or AutoLayer) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 63 | layer_instance_type: "Tiles".to_owned(), [INFO] [stderr] | --------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/convert.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | /// Reference the Layer definition UID (important!) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 70 | layer_def_uid: layer_uid, [INFO] [stderr] | ------------------------ rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/convert.rs:198:13 [INFO] [stderr] | [INFO] [stderr] 198 | / /// Pixel coordinates of the tile in the **layer** [INFO] [stderr] 199 | | /// (`[x,y]` format). Don't forget optional [INFO] [stderr] 200 | | /// layer offsets, if they exist! [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] 201 | px: vec![(pos_x * tile_w) as i64, (pos_y * tile_w) as i64], [INFO] [stderr] | ---------------------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/convert.rs:203:13 [INFO] [stderr] | [INFO] [stderr] 203 | /// Pixel coordinates of the tile in the **tileset** (`[x,y]` format) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 204 | src: vec![0, 0], [INFO] [stderr] | --------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/convert.rs:205:13 [INFO] [stderr] | [INFO] [stderr] 205 | /// flip bits [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 206 | f: 0, [INFO] [stderr] | ---- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/convert.rs:207:13 [INFO] [stderr] | [INFO] [stderr] 207 | /// tile id in the corresponding tileset [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 208 | t: tile_index, [INFO] [stderr] | ------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/convert.rs:209:13 [INFO] [stderr] | [INFO] [stderr] 209 | / /// Internal data used by the editor. [INFO] [stderr] 210 | | /// For auto-layer tiles: `[ruleId, coordId]` [INFO] [stderr] 211 | | /// For tile-layer tiles: `[coordId]` [INFO] [stderr] | |_________________________________________________^ [INFO] [stderr] 212 | // d: vec![tile_index], [INFO] [stderr] 213 | d: vec![pos_y * map_w + pos_x], [INFO] [stderr] | ------------------------------ rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: field `tile_h` is never read [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct SharedData { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 17 | tile_h: i64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Coord` is never constructed [INFO] [stderr] --> src/convert.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Coord { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:46:31 [INFO] [stderr] | [INFO] [stderr] 46 | tiles.push(current.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/convert.rs:27:35 [INFO] [stderr] | [INFO] [stderr] 27 | let filename = file.name().clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/convert.rs:29:50 [INFO] [stderr] | [INFO] [stderr] 29 | docdata_filename.push_str(file.name().clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `pyxeledit2ldtk` (bin "pyxeledit2ldtk" test) generated 12 warnings (run `cargo fix --bin "pyxeledit2ldtk" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pyxeledit2ldtk-bac5b8c218ec5572) [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" "51483419a4cc0aa56308fbaa3b430cad5a52e7ea62684c6347a378685455251e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51483419a4cc0aa56308fbaa3b430cad5a52e7ea62684c6347a378685455251e", kill_on_drop: false }` [INFO] [stdout] 51483419a4cc0aa56308fbaa3b430cad5a52e7ea62684c6347a378685455251e