[INFO] fetching crate kakao-rs 0.3.0... [INFO] testing kakao-rs-0.3.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate kakao-rs 0.3.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate kakao-rs 0.3.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kakao-rs 0.3.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate kakao-rs 0.3.0 [INFO] tweaked toml for crates.io crate kakao-rs 0.3.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate kakao-rs 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f904c5573150757976ec606dfb141f847eee186302cfeb12ed102e3ce3849ff4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f904c5573150757976ec606dfb141f847eee186302cfeb12ed102e3ce3849ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f904c5573150757976ec606dfb141f847eee186302cfeb12ed102e3ce3849ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f904c5573150757976ec606dfb141f847eee186302cfeb12ed102e3ce3849ff4", kill_on_drop: false }` [INFO] [stdout] f904c5573150757976ec606dfb141f847eee186302cfeb12ed102e3ce3849ff4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e12c207521eab44e0f6c658149b957aad1b0c5175d44d5815266088f9b1d265b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e12c207521eab44e0f6c658149b957aad1b0c5175d44d5815266088f9b1d265b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.65 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling kakao-rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `set_header_thumbnail` [INFO] [stdout] --> src/components/basics.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | fn set_header_thumbnail(&mut self, url: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.92s [INFO] running `Command { std: "docker" "inspect" "e12c207521eab44e0f6c658149b957aad1b0c5175d44d5815266088f9b1d265b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e12c207521eab44e0f6c658149b957aad1b0c5175d44d5815266088f9b1d265b", kill_on_drop: false }` [INFO] [stdout] e12c207521eab44e0f6c658149b957aad1b0c5175d44d5815266088f9b1d265b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd71e99227bbff5e12a075879cc1bdf6bca3162573a8e3765bfa2de9d6e96110 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bd71e99227bbff5e12a075879cc1bdf6bca3162573a8e3765bfa2de9d6e96110", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stdout] warning: associated function is never used: `set_header_thumbnail` [INFO] [stdout] --> src/components/basics.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | fn set_header_thumbnail(&mut self, url: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling kakao-rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `set_header_thumbnail` [INFO] [stdout] --> src/components/basics.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | fn set_header_thumbnail(&mut self, url: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "bd71e99227bbff5e12a075879cc1bdf6bca3162573a8e3765bfa2de9d6e96110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd71e99227bbff5e12a075879cc1bdf6bca3162573a8e3765bfa2de9d6e96110", kill_on_drop: false }` [INFO] [stdout] bd71e99227bbff5e12a075879cc1bdf6bca3162573a8e3765bfa2de9d6e96110 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5a17e7e1ecac204802d02fb027f2889d0d1ac4f905040261fd1b948337cca3e9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5a17e7e1ecac204802d02fb027f2889d0d1ac4f905040261fd1b948337cca3e9", kill_on_drop: false }` [INFO] [stderr] warning: associated function is never used: `set_header_thumbnail` [INFO] [stderr] --> src/components/basics.rs:364:8 [INFO] [stderr] | [INFO] [stderr] 364 | fn set_header_thumbnail(&mut self, url: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `kakao-rs` (lib) generated 1 warning [INFO] [stderr] warning: `kakao-rs` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/kakao_rs-4948b04fa9945f26) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/button.rs (/opt/rustwide/target/debug/deps/button-01f3634fcf00e788) [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test button_de_serialize_test ... ok [INFO] [stdout] test button_only_serialize_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/card.rs (/opt/rustwide/target/debug/deps/card-0f99c4f536bc49e3) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Running tests/kakao.rs (/opt/rustwide/target/debug/deps/kakao-6e24c69de3daaa38) [INFO] [stdout] test basic_card_test ... ok [INFO] [stdout] test item_card_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test simple_text_test ... ok [INFO] [stderr] Doc-tests kakao-rs [INFO] [stdout] test carousel_basic_card_test ... ok [INFO] [stdout] test carousel_thumbnail_test ... ok [INFO] [stdout] test carousel_commerce_card_json ... ok [INFO] [stdout] test simple_image_test ... ok [INFO] [stdout] test multiple_outputs_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/components/buttons.rs - components::buttons::Button (line 16) ... FAILED [INFO] [stdout] test src/components/basics.rs - components::basics::SimpleText (line 505) ... FAILED [INFO] [stdout] test src/components/cards.rs - components::cards::ItemCard (line 244) ... FAILED [INFO] [stdout] test src/components/cards.rs - components::cards::BasicCard (line 23) ... FAILED [INFO] [stdout] test src/components/basics.rs - components::basics::SimpleImage (line 555) ... FAILED [INFO] [stdout] test src/components/basics.rs - components::basics::Template (line 185) ... FAILED [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] test src/components/basics.rs - components::basics::ListCard (line 424) ... FAILED [INFO] [stdout] test src/components/cards.rs - components::cards::CommerceCard (line 130) ... FAILED [INFO] [stdout] test src/components/basics.rs - components::basics::Carousel (line 273) ... FAILED [INFO] [stdout] test src/components/basics.rs - components::basics::QuickReply (line 67) ... FAILED [INFO] [stdout] test src/prelude.rs - prelude (line 7) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/components/buttons.rs - components::buttons::Button (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonType` [INFO] [stdout] --> src/components/buttons.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 5 | list_card.add_button(Button::new(ButtonType::Text).set_label("그냥 텍스트 버튼")); // 메시지 버튼 [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ButtonType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonType` [INFO] [stdout] --> src/components/buttons.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 8 | Button::new(ButtonType::Link) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ButtonType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonType` [INFO] [stdout] --> src/components/buttons.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 14 | Button::new(ButtonType::Share) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ButtonType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonType` [INFO] [stdout] --> src/components/buttons.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 20 | Button::new(ButtonType::Call) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ButtonType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ListCard` [INFO] [stdout] --> src/components/buttons.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 3 | let mut list_card = ListCard::new("리스트 카드 제목!"); // 제목 [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::ListCard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/components/buttons.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 5 | list_card.add_button(Button::new(ButtonType::Text).set_label("그냥 텍스트 버튼")); // 메시지 버튼 [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::Button; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/components/buttons.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 8 | Button::new(ButtonType::Link) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::Button; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/components/buttons.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 14 | Button::new(ButtonType::Share) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::Button; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/components/buttons.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 20 | Button::new(ButtonType::Call) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::Button; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 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/components/basics.rs - components::basics::SimpleText (line 505) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Template` [INFO] [stdout] --> src/components/basics.rs:506:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut result = Template::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::Template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuickReply` [INFO] [stdout] --> src/components/basics.rs:507:15 [INFO] [stdout] | [INFO] [stdout] 4 | result.add_qr(QuickReply::new("빠른 응답", "빠른 응답 ㅋㅋ")); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::QuickReply; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SimpleText` [INFO] [stdout] --> src/components/basics.rs:509:19 [INFO] [stdout] | [INFO] [stdout] 6 | let simple_text = SimpleText::new("심플 텍스트 테스트"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::SimpleText; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/components/cards.rs - components::cards::ItemCard (line 244) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LinkButton` [INFO] [stdout] --> src/components/cards.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 16 | LinkButton::new("View Boarding Pass") [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LinkButton` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemCard` [INFO] [stdout] --> src/components/cards.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 3 | let item_card = ItemCard::new() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::ItemCard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/components/cards.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 15 | .add_button(Button::Link( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::Button; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/components/cards.rs - components::cards::BasicCard (line 23) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicCard` [INFO] [stdout] --> src/components/cards.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 3 | let basic_card = BasicCard::new() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::BasicCard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `result` in this scope [INFO] [stdout] --> src/components/cards.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 9 | result.add_output(basic_card.build()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/basics.rs - components::basics::SimpleImage (line 555) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Template` [INFO] [stdout] --> src/components/basics.rs:556:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut result = Template::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::Template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuickReply` [INFO] [stdout] --> src/components/basics.rs:557:15 [INFO] [stdout] | [INFO] [stdout] 4 | result.add_qr(QuickReply::new("빠른 응답", "빠른 응답 ㅋㅋ")); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::QuickReply; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SimpleImage` [INFO] [stdout] --> src/components/basics.rs:559:18 [INFO] [stdout] | [INFO] [stdout] 6 | let simple_img = SimpleImage::new( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::SimpleImage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/components/basics.rs - components::basics::Template (line 185) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/components/basics.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 4 | result.add_qr(...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 4 | result.add_qr(..) [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 4 | result.add_qr(..=) [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/components/basics.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 4 | result.add_qr(...) [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `result` [INFO] [stdout] --> src/components/basics.rs:187:19 [INFO] [stdout] | [INFO] [stdout] 4 | result.add_qr(...) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | result.add_output(...) [INFO] [stdout] | ------ unexpected token [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/components/basics.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 5 | result.add_output(...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 5 | result.add_output(..) [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 5 | result.add_output(..=) [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/components/basics.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 5 | result.add_output(...) [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `result` [INFO] [stdout] --> src/components/basics.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 5 | result.add_output(...) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | result.to_string() -> json!(self) [INFO] [stdout] | ------ unexpected token [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `->` [INFO] [stdout] --> src/components/basics.rs:189:20 [INFO] [stdout] | [INFO] [stdout] 6 | result.to_string() -> json!(self) [INFO] [stdout] | ^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Template` [INFO] [stdout] --> src/components/basics.rs:186:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut result = Template::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::Template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Template` [INFO] [stdout] --> src/lib.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut result = Template::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::Template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuickReply` [INFO] [stdout] --> src/lib.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 4 | result.add_qr(QuickReply::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::QuickReply; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Carousel` [INFO] [stdout] --> src/lib.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 9 | let mut carousel = Carousel::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::Carousel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicCard` [INFO] [stdout] --> src/lib.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 12 | let basic_card = BasicCard::new() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::BasicCard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SimpleText` [INFO] [stdout] --> src/lib.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 23 | let simple_text = SimpleText::new("심플 텍스트 테스트"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::SimpleText; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/components/basics.rs - components::basics::ListCard (line 424) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MsgButton` [INFO] [stdout] --> src/components/basics.rs:428:34 [INFO] [stdout] | [INFO] [stdout] 6 | list_card.add_button(Button::Msg(MsgButton::new("그냥 텍스트 버튼"))); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MsgButton` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LinkButton` [INFO] [stdout] --> src/components/basics.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 9 | LinkButton::new("link label").set_link("https://google.com"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LinkButton` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ShareButton` [INFO] [stdout] --> src/components/basics.rs:434:5 [INFO] [stdout] | [INFO] [stdout] 12 | ShareButton::new("share label").set_msg("카톡에 보이는 메시지"), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ShareButton` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ListCard` [INFO] [stdout] --> src/components/basics.rs:425:21 [INFO] [stdout] | [INFO] [stdout] 3 | let mut list_card = ListCard::new("리스트 카드 제목!"); // 제목 [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::ListCard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/components/basics.rs:428:22 [INFO] [stdout] | [INFO] [stdout] 6 | list_card.add_button(Button::Msg(MsgButton::new("그냥 텍스트 버튼"))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::Button; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/components/basics.rs:430:22 [INFO] [stdout] | [INFO] [stdout] 8 | list_card.add_button(Button::Link( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::Button; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/components/basics.rs:433:22 [INFO] [stdout] | [INFO] [stdout] 11 | list_card.add_button(Button::Share( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::Button; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ListItem` [INFO] [stdout] --> src/components/basics.rs:439:5 [INFO] [stdout] | [INFO] [stdout] 17 | ListItem::new("title") [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::ListItem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `result` in this scope [INFO] [stdout] --> src/components/basics.rs:445:1 [INFO] [stdout] | [INFO] [stdout] 23 | result.add_output(list_card.build()); // moved list_card's ownership [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/cards.rs - components::cards::CommerceCard (line 130) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommerceCard` [INFO] [stdout] --> src/components/cards.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 3 | let commerce_card = CommerceCard::new() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::CommerceCard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 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/components/basics.rs - components::basics::Carousel (line 273) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Carousel` [INFO] [stdout] --> src/components/basics.rs:274:20 [INFO] [stdout] | [INFO] [stdout] 3 | let mut carousel = Carousel::new().set_type(BasicCard::id()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::Carousel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicCard` [INFO] [stdout] --> src/components/basics.rs:274:45 [INFO] [stdout] | [INFO] [stdout] 3 | let mut carousel = Carousel::new().set_type(BasicCard::id()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::BasicCard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicCard` [INFO] [stdout] --> src/components/basics.rs:277:18 [INFO] [stdout] | [INFO] [stdout] 6 | let basic_card = BasicCard::new() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::BasicCard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `result` in this scope [INFO] [stdout] --> src/components/basics.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 13 | result.add_output(carousel.build()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/basics.rs - components::basics::QuickReply (line 67) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Template` [INFO] [stdout] --> src/components/basics.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut result = Template::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::Template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuickReply` [INFO] [stdout] --> src/components/basics.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 5 | result.add_qr(QuickReply::new("오늘", "오늘 공지 보여줘")); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kakao_rs::prelude::QuickReply; [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] [INFO] [stdout] failures: [INFO] [stdout] src/components/basics.rs - components::basics::Carousel (line 273) [INFO] [stdout] src/components/basics.rs - components::basics::ListCard (line 424) [INFO] [stdout] src/components/basics.rs - components::basics::QuickReply (line 67) [INFO] [stdout] src/components/basics.rs - components::basics::SimpleImage (line 555) [INFO] [stdout] src/components/basics.rs - components::basics::SimpleText (line 505) [INFO] [stdout] src/components/basics.rs - components::basics::Template (line 185) [INFO] [stdout] src/components/buttons.rs - components::buttons::Button (line 16) [INFO] [stdout] src/components/cards.rs - components::cards::BasicCard (line 23) [INFO] [stdout] src/components/cards.rs - components::cards::CommerceCard (line 130) [INFO] [stdout] src/components/cards.rs - components::cards::ItemCard (line 244) [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.61s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "5a17e7e1ecac204802d02fb027f2889d0d1ac4f905040261fd1b948337cca3e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a17e7e1ecac204802d02fb027f2889d0d1ac4f905040261fd1b948337cca3e9", kill_on_drop: false }` [INFO] [stdout] 5a17e7e1ecac204802d02fb027f2889d0d1ac4f905040261fd1b948337cca3e9