[INFO] fetching crate hydroper_swf 0.3.0... [INFO] testing hydroper_swf-0.3.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate hydroper_swf 0.3.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate hydroper_swf 0.3.0 [INFO] finished tweaking crates.io crate hydroper_swf 0.3.0 [INFO] tweaked toml for crates.io crate hydroper_swf 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hydroper_swf 0.3.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hydroper_swf 0.3.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d03d08575058ecbc672dab3e82ffa7908ebb1a6d017993ab59f3b747e58545b [INFO] running `Command { std: "docker" "start" "-a" "6d03d08575058ecbc672dab3e82ffa7908ebb1a6d017993ab59f3b747e58545b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d03d08575058ecbc672dab3e82ffa7908ebb1a6d017993ab59f3b747e58545b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d03d08575058ecbc672dab3e82ffa7908ebb1a6d017993ab59f3b747e58545b", kill_on_drop: false }` [INFO] [stdout] 6d03d08575058ecbc672dab3e82ffa7908ebb1a6d017993ab59f3b747e58545b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb3ab848fd589124be93d15f440f6e040657896a559c33f564133ab95cc23761 [INFO] running `Command { std: "docker" "start" "-a" "cb3ab848fd589124be93d15f440f6e040657896a559c33f564133ab95cc23761", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bitstream-io v2.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling enum-map v2.7.3 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling hydroper_swf v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.81s [INFO] running `Command { std: "docker" "inspect" "cb3ab848fd589124be93d15f440f6e040657896a559c33f564133ab95cc23761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb3ab848fd589124be93d15f440f6e040657896a559c33f564133ab95cc23761", kill_on_drop: false }` [INFO] [stdout] cb3ab848fd589124be93d15f440f6e040657896a559c33f564133ab95cc23761 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5e6b068776581e4b335787e3a218e61e67805e2494d9e84c59bed4ec5b336f7 [INFO] running `Command { std: "docker" "start" "-a" "f5e6b068776581e4b335787e3a218e61e67805e2494d9e84c59bed4ec5b336f7", kill_on_drop: false }` [INFO] [stderr] Compiling hydroper_swf v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.54s [INFO] running `Command { std: "docker" "inspect" "f5e6b068776581e4b335787e3a218e61e67805e2494d9e84c59bed4ec5b336f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5e6b068776581e4b335787e3a218e61e67805e2494d9e84c59bed4ec5b336f7", kill_on_drop: false }` [INFO] [stdout] f5e6b068776581e4b335787e3a218e61e67805e2494d9e84c59bed4ec5b336f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ce6beba40ef6d50b47c20148ab54ee7d547f893171411485eb43736f5a871666 [INFO] running `Command { std: "docker" "start" "-a" "ce6beba40ef6d50b47c20148ab54ee7d547f893171411485eb43736f5a871666", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hydroper_swf-d24e1a9330045a3e) [INFO] [stdout] [INFO] [stdout] running 83 tests [INFO] [stdout] test avm1::read::tests::read_length_mismatch ... ok [INFO] [stdout] test avm2::read::tests::read_i24 ... ok [INFO] [stdout] test avm1::read::tests::read_push ... ok [INFO] [stdout] test avm1::write::tests::write_action ... ok [INFO] [stdout] test avm2::read::tests::read_abc ... ok [INFO] [stdout] test avm2::read::tests::read_i32 ... ok [INFO] [stdout] test avm2::write::tests::write_abc ... ok [INFO] [stdout] test avm2::write::tests::write_op ... ok [INFO] [stdout] test read::tests::read_compression_type ... ok [INFO] [stdout] test read::tests::read_encoded_u32 ... ok [INFO] [stdout] test read::tests::read_fbits ... ok [INFO] [stdout] test read::tests::read_fill_style ... ok [INFO] [stdout] test read::tests::read_incorrect_place_object_3 ... ok [INFO] [stdout] test read::tests::read_gradient ... ok [INFO] [stdout] test read::tests::read_invalid_swf ... ok [INFO] [stdout] test read::tests::read_matrix ... ok [INFO] [stdout] test read::tests::read_rectangle_signed ... ok [INFO] [stdout] test read::tests::read_rectangle_zero ... ok [INFO] [stdout] test read::tests::read_sbits ... ok [INFO] [stdout] test avm2::read::tests::read_u30 ... ok [INFO] [stdout] test avm2::read::tests::test_round_trip_default_value ... ok [INFO] [stdout] test avm2::write::tests::write_i24 ... ok [INFO] [stdout] test read::tests::read_bit ... ok [INFO] [stdout] test read::tests::read_color ... ok [INFO] [stdout] test avm1::read::tests::read_parse_error ... ok [INFO] [stdout] test read::tests::read_line_style ... ok [INFO] [stdout] test avm1::read::tests::read_action ... ok [INFO] [stdout] test avm1::read::tests::read_define_function ... ok [INFO] [stdout] test read::tests::read_invalid_tag ... ok [INFO] [stdout] test read::tests::read_fixed8 ... ok [INFO] [stdout] test read::tests::read_shape_record ... ok [INFO] [stdout] test read::tests::read_string ... ok [INFO] [stdout] test read::tests::read_shape_styles ... ok [INFO] [stdout] test types::fixed::tests::add ... ok [INFO] [stdout] test types::fixed::tests::mul ... ok [INFO] [stdout] test types::fixed::tests::mul_int ... ok [INFO] [stdout] test types::fixed::tests::from_float ... ok [INFO] [stdout] test read::tests::read_tag_list ... ok [INFO] [stdout] test types::fixed::tests::mul_int_wrapped ... ok [INFO] [stdout] test types::fixed::tests::mul_wrapped ... ok [INFO] [stdout] test types::fixed::tests::sub ... ok [INFO] [stdout] test read::tests::read_ubits ... ok [INFO] [stdout] test types::fixed::tests::add_wrapped ... ok [INFO] [stdout] test types::fixed::tests::sub_wrapped ... ok [INFO] [stdout] test types::fixed::tests::display ... ok [INFO] [stdout] test types::fixed::tests::div ... ok [INFO] [stdout] test types::fixed::tests::div_wrapped ... ok [INFO] [stdout] test types::fixed::tests::wrapping_neg ... ok [INFO] [stdout] test types::fixed::tests::to_float ... ok [INFO] [stdout] test write::tests::count_sbits ... ok [INFO] [stdout] test types::fixed::tests::from_int ... ok [INFO] [stdout] test types::fixed::tests::neg ... ok [INFO] [stdout] test write::tests::count_ubits ... ok [INFO] [stdout] test write::tests::write_bevel_filter ... ok [INFO] [stdout] test write::tests::write_color ... ok [INFO] [stdout] test write::tests::write_define_button_2 ... ok [INFO] [stdout] test write::tests::write_c_string ... ok [INFO] [stdout] test write::tests::write_define_font_info ... ok [INFO] [stdout] test write::tests::write_define_text_2 ... ok [INFO] [stdout] test write::tests::write_define_button_2_with_keycode ... ok [INFO] [stdout] test write::tests::write_fixed8 ... ok [INFO] [stdout] test write::tests::write_fbits ... ok [INFO] [stdout] test write::tests::write_encoded_u32 ... ok [INFO] [stdout] test read::tests::read_tags ... ok [INFO] [stdout] test write::tests::write_font_3 ... ok [INFO] [stdout] test write::tests::write_matrix ... ok [INFO] [stdout] test write::tests::write_rectangle_zero ... ok [INFO] [stdout] test write::tests::write_rectangle_signed ... ok [INFO] [stdout] test write::tests::write_ubits ... ok [INFO] [stdout] test write::tests::write_sbits ... ok [INFO] [stdout] test write::tests::write_tag_to_buf_list ... ok [INFO] [stdout] test read::tests::read_swfs ... ok [INFO] [stdout] test write::tests::write_swfs ... ok [INFO] [stdout] test write::tests::write_bit ... ok [INFO] [stdout] test types::tests::button_conditions_match ... ok [INFO] [stdout] test write::tests::write_tags ... ok [INFO] [stdout] test types::fixed::tests::add_overflow - should panic ... ok [INFO] [stdout] test types::fixed::tests::div_by_zero - should panic ... ok [INFO] [stdout] test types::fixed::tests::div_overflow - should panic ... ok [INFO] [stdout] test types::fixed::tests::mul_int_overflow - should panic ... ok [INFO] [stdout] test types::fixed::tests::mul_overflow - should panic ... ok [INFO] [stdout] test types::fixed::tests::neg_overflow - should panic ... ok [INFO] [stdout] test types::fixed::tests::sub_overflow - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 83 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Doc-tests hydroper_swf [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test src/string.rs - string::SwfStr::from_bytes_null_terminated (line 45) ... FAILED [INFO] [stdout] test src/string.rs - string::SwfStr::as_bytes (line 153) ... FAILED [INFO] [stdout] test src/read.rs - read::Reader<'a>::read_tag (line 374) ... FAILED [INFO] [stdout] test src/read.rs - read::parse_swf (line 17) ... FAILED [INFO] [stdout] test src/read.rs - read::decompress_swf (line 65) ... FAILED [INFO] [stdout] test src/string.rs - string::SwfStr::is_empty (line 168) ... FAILED [INFO] [stdout] test src/types/color.rs - types::color::Color::from_rgb (line 40) ... FAILED [INFO] [stdout] test src/types/color.rs - types::color::Color::from_rgba (line 59) ... FAILED [INFO] [stdout] test src/string.rs - string::SwfStr::from_utf8_str_null_terminated (line 83) ... FAILED [INFO] [stdout] test src/string.rs - string::SwfStr::to_str_lossy (line 208) ... FAILED [INFO] [stdout] test src/string.rs - string::SwfStr::to_string_lossy (line 226) ... FAILED [INFO] [stdout] test src/string.rs - string::SwfStr::from_str_with_encoding (line 107) ... FAILED [INFO] [stdout] test src/string.rs - string::SwfStr::encoding_for_version (line 133) ... FAILED [INFO] [stdout] test src/string.rs - string::SwfStr::from_bytes (line 28) ... FAILED [INFO] [stdout] test src/string.rs - string::SwfStr::from_utf8_str (line 69) ... FAILED [INFO] [stdout] test src/string.rs - string::SwfStr::len (line 185) ... FAILED [INFO] [stdout] test src/types/twips.rs - types::twips::Twips::ONE (line 38) ... FAILED [INFO] [stdout] test src/types/twips.rs - types::twips::Twips::get (line 64) ... FAILED [INFO] [stdout] test src/types/color.rs - types::color::Color::to_rgb (line 79) ... FAILED [INFO] [stdout] test src/types/color.rs - types::color::Color::to_rgba (line 104) ... FAILED [INFO] [stdout] test src/types/color.rs - types::color::Color::to_rgb (line 87) ... FAILED [INFO] [stdout] test src/types/point.rs - types::point::Point::from_pixels (line 62) ... FAILED [INFO] [stdout] test src/write.rs - write::write_swf (line 14) ... FAILED [INFO] [stdout] test src/types/twips.rs - types::twips::Twips::to_pixels (line 109) ... FAILED [INFO] [stdout] test src/types/point.rs - types::point::PointDelta::from_pixels (line 179) ... FAILED [INFO] [stdout] test src/types/twips.rs - types::twips::Twips::new (line 50) ... FAILED [INFO] [stdout] test src/types/twips.rs - types::twips::Twips::from_pixels (line 81) ... FAILED [INFO] [stdout] test src/types/point.rs - types::point::Point::ZERO (line 41) ... FAILED [INFO] [stdout] test src/types/point.rs - types::point::PointDelta::ZERO (line 158) ... FAILED [INFO] [stdout] test src/types/twips.rs - types::twips::Twips::ZERO (line 29) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/string.rs - string::SwfStr::from_bytes_null_terminated (line 45) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/string.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::SwfStr; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/string.rs - string::SwfStr::as_bytes (line 153) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/string.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::SwfStr; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/read.rs - read::Reader<'a>::read_tag (line 374) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/read.rs:378:18 [INFO] [stdout] | [INFO] [stdout] 6 | let mut reader = swf::read::Reader::new(&swf_buf.data[..], swf_buf.header.version()); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hydroper_swf::avm1::read::Reader; [INFO] [stdout] | [INFO] [stdout] 2 + use hydroper_swf::avm2::read::Reader; [INFO] [stdout] | [INFO] [stdout] 2 + use hydroper_swf::read::Reader; [INFO] [stdout] | [INFO] [stdout] help: if you import `Reader`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - let mut reader = swf::read::Reader::new(&swf_buf.data[..], swf_buf.header.version()); [INFO] [stdout] 6 + let mut reader = Reader::new(&swf_buf.data[..], swf_buf.header.version()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/read.rs:377:19 [INFO] [stdout] | [INFO] [stdout] 5 | let mut swf_buf = swf::decompress_swf(&data[..]).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/read.rs - read::parse_swf (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/read.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 5 | let stream = swf::decompress_swf(&data[..]).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/read.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 6 | let swf = swf::parse_swf(&stream).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/read.rs - read::decompress_swf (line 65) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/read.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 5 | let swf_stream = swf::decompress_swf(&data[..]).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/string.rs - string::SwfStr::is_empty (line 168) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/string.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::SwfStr; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/color.rs - types::color::Color::from_rgb (line 40) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/types/color.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::Color; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/color.rs - types::color::Color::from_rgba (line 59) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/types/color.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::Color; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/string.rs - string::SwfStr::from_utf8_str_null_terminated (line 83) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/string.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::SwfStr; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/string.rs - string::SwfStr::to_str_lossy (line 208) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/string.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::SwfStr; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/string.rs - string::SwfStr::to_string_lossy (line 226) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/string.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::SwfStr; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/string.rs - string::SwfStr::from_str_with_encoding (line 107) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/string.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::SwfStr; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/string.rs - string::SwfStr::encoding_for_version (line 133) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/string.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::SwfStr; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/string.rs - string::SwfStr::from_bytes (line 28) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/string.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::SwfStr; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/string.rs - string::SwfStr::from_utf8_str (line 69) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/string.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::SwfStr; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/string.rs - string::SwfStr::len (line 185) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/string.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::SwfStr; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/twips.rs - types::twips::Twips::ONE (line 38) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/types/twips.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(swf::Twips::ONE.to_pixels(), 1.0); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hydroper_swf::Twips; [INFO] [stdout] | [INFO] [stdout] help: if you import `Twips`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - assert_eq!(swf::Twips::ONE.to_pixels(), 1.0); [INFO] [stdout] 3 + assert_eq!(Twips::ONE.to_pixels(), 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/twips.rs - types::twips::Twips::get (line 64) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/types/twips.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::Twips; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/color.rs - types::color::Color::to_rgb (line 79) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/types/color.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::Color; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/color.rs - types::color::Color::to_rgba (line 104) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/types/color.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::Color; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/color.rs - types::color::Color::to_rgb (line 87) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/types/color.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::Color; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/point.rs - types::point::Point::from_pixels (line 62) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/types/point.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 4 | let point = swf::Point::from_pixels(40.0, 20.0); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hydroper_swf::Point; [INFO] [stdout] | [INFO] [stdout] help: if you import `Point`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let point = swf::Point::from_pixels(40.0, 20.0); [INFO] [stdout] 4 + let point = Point::from_pixels(40.0, 20.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/types/point.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 9 | let point = swf::Point::from_pixels(40.018, 20.0); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hydroper_swf::Point; [INFO] [stdout] | [INFO] [stdout] help: if you import `Point`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 9 - let point = swf::Point::from_pixels(40.018, 20.0); [INFO] [stdout] 9 + let point = Point::from_pixels(40.018, 20.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/write.rs - write::write_swf (line 14) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/write.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::*; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/twips.rs - types::twips::Twips::to_pixels (line 109) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/types/twips.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::Twips; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/point.rs - types::point::PointDelta::from_pixels (line 179) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/types/point.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 4 | let point = swf::PointDelta::from_pixels(40.0, 20.0); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hydroper_swf::PointDelta; [INFO] [stdout] | [INFO] [stdout] help: if you import `PointDelta`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let point = swf::PointDelta::from_pixels(40.0, 20.0); [INFO] [stdout] 4 + let point = PointDelta::from_pixels(40.0, 20.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/types/point.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 9 | let point = swf::PointDelta::from_pixels(40.018, 20.0); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hydroper_swf::PointDelta; [INFO] [stdout] | [INFO] [stdout] help: if you import `PointDelta`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 9 - let point = swf::PointDelta::from_pixels(40.018, 20.0); [INFO] [stdout] 9 + let point = PointDelta::from_pixels(40.018, 20.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/twips.rs - types::twips::Twips::new (line 50) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/types/twips.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::Twips; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/twips.rs - types::twips::Twips::from_pixels (line 81) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swf` [INFO] [stdout] --> src/types/twips.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swf::Twips; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/point.rs - types::point::Point::ZERO (line 41) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/types/point.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(swf::Point::::ZERO.x, swf::Twips::ZERO); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hydroper_swf::Point; [INFO] [stdout] | [INFO] [stdout] help: if you import `Point`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - assert_eq!(swf::Point::::ZERO.x, swf::Twips::ZERO); [INFO] [stdout] 3 + assert_eq!(Point::::ZERO.x, swf::Twips::ZERO); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/types/point.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(swf::Point::::ZERO.x, swf::Twips::ZERO); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hydroper_swf::Twips; [INFO] [stdout] | [INFO] [stdout] help: if you import `Twips`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - assert_eq!(swf::Point::::ZERO.x, swf::Twips::ZERO); [INFO] [stdout] 3 + assert_eq!(swf::Point::::ZERO.x, Twips::ZERO); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/types/point.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(swf::Point::::ZERO.y, swf::Twips::ZERO); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hydroper_swf::Point; [INFO] [stdout] | [INFO] [stdout] help: if you import `Point`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - assert_eq!(swf::Point::::ZERO.y, swf::Twips::ZERO); [INFO] [stdout] 4 + assert_eq!(Point::::ZERO.y, swf::Twips::ZERO); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/types/point.rs:43:46 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(swf::Point::::ZERO.y, swf::Twips::ZERO); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hydroper_swf::Twips; [INFO] [stdout] | [INFO] [stdout] help: if you import `Twips`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - assert_eq!(swf::Point::::ZERO.y, swf::Twips::ZERO); [INFO] [stdout] 4 + assert_eq!(swf::Point::::ZERO.y, Twips::ZERO); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/types/point.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(swf::Point::::ZERO.x, swf::Twips::ZERO); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/types/point.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(swf::Point::::ZERO.y, swf::Twips::ZERO); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/point.rs - types::point::PointDelta::ZERO (line 158) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/types/point.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(swf::PointDelta::::ZERO.dx, swf::Twips::ZERO); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hydroper_swf::PointDelta; [INFO] [stdout] | [INFO] [stdout] help: if you import `PointDelta`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - assert_eq!(swf::PointDelta::::ZERO.dx, swf::Twips::ZERO); [INFO] [stdout] 3 + assert_eq!(PointDelta::::ZERO.dx, swf::Twips::ZERO); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/types/point.rs:159:52 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(swf::PointDelta::::ZERO.dx, swf::Twips::ZERO); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hydroper_swf::Twips; [INFO] [stdout] | [INFO] [stdout] help: if you import `Twips`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - assert_eq!(swf::PointDelta::::ZERO.dx, swf::Twips::ZERO); [INFO] [stdout] 3 + assert_eq!(swf::PointDelta::::ZERO.dx, Twips::ZERO); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/types/point.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(swf::PointDelta::::ZERO.dy, swf::Twips::ZERO); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hydroper_swf::PointDelta; [INFO] [stdout] | [INFO] [stdout] help: if you import `PointDelta`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - assert_eq!(swf::PointDelta::::ZERO.dy, swf::Twips::ZERO); [INFO] [stdout] 4 + assert_eq!(PointDelta::::ZERO.dy, swf::Twips::ZERO); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/types/point.rs:160:52 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(swf::PointDelta::::ZERO.dy, swf::Twips::ZERO); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hydroper_swf::Twips; [INFO] [stdout] | [INFO] [stdout] help: if you import `Twips`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - assert_eq!(swf::PointDelta::::ZERO.dy, swf::Twips::ZERO); [INFO] [stdout] 4 + assert_eq!(swf::PointDelta::::ZERO.dy, Twips::ZERO); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/types/point.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(swf::PointDelta::::ZERO.dx, swf::Twips::ZERO); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/types/point.rs:160:30 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(swf::PointDelta::::ZERO.dy, swf::Twips::ZERO); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/twips.rs - types::twips::Twips::ZERO (line 29) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swf` [INFO] [stdout] --> src/types/twips.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(swf::Twips::ZERO.to_pixels(), 0.0); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `swf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swf`, use `cargo add swf` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hydroper_swf::Twips; [INFO] [stdout] | [INFO] [stdout] help: if you import `Twips`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - assert_eq!(swf::Twips::ZERO.to_pixels(), 0.0); [INFO] [stdout] 3 + assert_eq!(Twips::ZERO.to_pixels(), 0.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/read.rs - read::Reader<'a>::read_tag (line 374) [INFO] [stdout] src/read.rs - read::decompress_swf (line 65) [INFO] [stdout] src/read.rs - read::parse_swf (line 17) [INFO] [stdout] src/string.rs - string::SwfStr::as_bytes (line 153) [INFO] [stdout] src/string.rs - string::SwfStr::encoding_for_version (line 133) [INFO] [stdout] src/string.rs - string::SwfStr::from_bytes (line 28) [INFO] [stdout] src/string.rs - string::SwfStr::from_bytes_null_terminated (line 45) [INFO] [stdout] src/string.rs - string::SwfStr::from_str_with_encoding (line 107) [INFO] [stdout] src/string.rs - string::SwfStr::from_utf8_str (line 69) [INFO] [stdout] src/string.rs - string::SwfStr::from_utf8_str_null_terminated (line 83) [INFO] [stdout] src/string.rs - string::SwfStr::is_empty (line 168) [INFO] [stdout] src/string.rs - string::SwfStr::len (line 185) [INFO] [stdout] src/string.rs - string::SwfStr::to_str_lossy (line 208) [INFO] [stdout] src/string.rs - string::SwfStr::to_string_lossy (line 226) [INFO] [stdout] src/types/color.rs - types::color::Color::from_rgb (line 40) [INFO] [stdout] src/types/color.rs - types::color::Color::from_rgba (line 59) [INFO] [stdout] src/types/color.rs - types::color::Color::to_rgb (line 79) [INFO] [stdout] src/types/color.rs - types::color::Color::to_rgb (line 87) [INFO] [stdout] src/types/color.rs - types::color::Color::to_rgba (line 104) [INFO] [stdout] src/types/point.rs - types::point::Point::ZERO (line 41) [INFO] [stdout] src/types/point.rs - types::point::Point::from_pixels (line 62) [INFO] [stdout] src/types/point.rs - types::point::PointDelta::ZERO (line 158) [INFO] [stdout] src/types/point.rs - types::point::PointDelta::from_pixels (line 179) [INFO] [stdout] src/types/twips.rs - types::twips::Twips::ONE (line 38) [INFO] [stdout] src/types/twips.rs - types::twips::Twips::ZERO (line 29) [INFO] [stdout] src/types/twips.rs - types::twips::Twips::from_pixels (line 81) [INFO] [stdout] src/types/twips.rs - types::twips::Twips::get (line 64) [INFO] [stdout] src/types/twips.rs - types::twips::Twips::new (line 50) [INFO] [stdout] src/types/twips.rs - types::twips::Twips::to_pixels (line 109) [INFO] [stdout] src/write.rs - write::write_swf (line 14) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 30 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.81s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ce6beba40ef6d50b47c20148ab54ee7d547f893171411485eb43736f5a871666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce6beba40ef6d50b47c20148ab54ee7d547f893171411485eb43736f5a871666", kill_on_drop: false }` [INFO] [stdout] ce6beba40ef6d50b47c20148ab54ee7d547f893171411485eb43736f5a871666