[INFO] fetching crate dxf2image 0.1.1... [INFO] checking dxf2image-0.1.1 against try#38c2997544af84fe301d600d6896397738163002 for pr-154205-1 [INFO] extracting crate dxf2image 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate dxf2image 0.1.1 [INFO] finished tweaking crates.io crate dxf2image 0.1.1 [INFO] tweaked toml for crates.io crate dxf2image 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dxf2image 0.1.1 on toolchain 38c2997544af84fe301d600d6896397738163002 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dxf2image 0.1.1 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" "+38c2997544af84fe301d600d6896397738163002" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9727130b34982af111decee66a59722f967127beaaa2e9c3c4a8e582c1f7554 [INFO] running `Command { std: "docker" "start" "-a" "a9727130b34982af111decee66a59722f967127beaaa2e9c3c4a8e582c1f7554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9727130b34982af111decee66a59722f967127beaaa2e9c3c4a8e582c1f7554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9727130b34982af111decee66a59722f967127beaaa2e9c3c4a8e582c1f7554", kill_on_drop: false }` [INFO] [stdout] a9727130b34982af111decee66a59722f967127beaaa2e9c3c4a8e582c1f7554 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b89387cce728129f8b65adb9599b8f85bd650d6f77437fb3d999f5b5aee4433 [INFO] running `Command { std: "docker" "start" "-a" "9b89387cce728129f8b65adb9599b8f85bd650d6f77437fb3d999f5b5aee4433", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking svg v0.10.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling xmltree v0.8.0 [INFO] [stderr] Compiling dxf v0.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking svgx v0.1.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking dxf2image v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/dxf2svg.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | .map(|vertex| (coord.relative_to((vertex.x.clone(), vertex.y.clone())))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - .map(|vertex| (coord.relative_to((vertex.x.clone(), vertex.y.clone())))) [INFO] [stdout] 34 + .map(|vertex| coord.relative_to((vertex.x.clone(), vertex.y.clone())) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"dxf2image","loc":"src/color.rs:270:16","p":0,"ph":3,"wa":0,"pa":0,"a":3,"pos":3,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":3,"a_opt":3,"sz_no_dedup":48,"sz_old":48,"sz_opt":48} [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/dxf2svg.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | .map(|vertex| (coord.relative_to((vertex.x.clone(), vertex.y.clone())))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - .map(|vertex| (coord.relative_to((vertex.x.clone(), vertex.y.clone())))) [INFO] [stdout] 34 + .map(|vertex| coord.relative_to((vertex.x.clone(), vertex.y.clone())) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"dxf2image","loc":"src/color.rs:270:16","p":0,"ph":3,"wa":0,"pa":0,"a":3,"pos":3,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":3,"a_opt":3,"sz_no_dedup":48,"sz_old":48,"sz_opt":48} [INFO] [stderr] [FMTARGS] {"crate":"svg","loc":"examples/svg.rs:6:13","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"svg","loc":"examples/svg.rs:12:13","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] error[E0432]: unresolved import `dxf2image::dxf2png` [INFO] [stdout] --> examples/png.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dxf2image::dxf2png; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `dxf2png` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "png")] [INFO] [stdout] | --------------- the item is gated behind the `png` feature [INFO] [stdout] 35 | /// Convert dxf to png [INFO] [stdout] 36 | pub fn dxf2png(input_path: &str, output_path: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 - use dxf2image::dxf2png; [INFO] [stdout] 1 + use dxf2image::dxf2svg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"png","loc":"examples/png.rs:6:13","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"png","loc":"examples/png.rs:12:13","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dxf2image` (example "png") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "9b89387cce728129f8b65adb9599b8f85bd650d6f77437fb3d999f5b5aee4433", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b89387cce728129f8b65adb9599b8f85bd650d6f77437fb3d999f5b5aee4433", kill_on_drop: false }` [INFO] [stdout] 9b89387cce728129f8b65adb9599b8f85bd650d6f77437fb3d999f5b5aee4433