[INFO] cloning repository https://github.com/svetli-n/shop-frontend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/svetli-n/shop-frontend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvetli-n%2Fshop-frontend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvetli-n%2Fshop-frontend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa89d1a1db2509a9d156ac570149fb3309ac8682 [INFO] building svetli-n/shop-frontend against master#70591dc15db32941fe3595fdbf98e58d6975f95e for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvetli-n%2Fshop-frontend" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/svetli-n/shop-frontend on toolchain 70591dc15db32941fe3595fdbf98e58d6975f95e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/svetli-n/shop-frontend [INFO] finished tweaking git repo https://github.com/svetli-n/shop-frontend [INFO] tweaked toml for git repo https://github.com/svetli-n/shop-frontend written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/svetli-n/shop-frontend 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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yew-router-route-parser v0.15.0 [INFO] [stderr] Downloaded yew-router v0.15.0 [INFO] [stderr] Downloaded yew-router-macro v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b31f0307580316698e4c33474aa81b04b62a09bc6c0cbcc1fde5625690e7ef6f [INFO] running `Command { std: "docker" "start" "-a" "b31f0307580316698e4c33474aa81b04b62a09bc6c0cbcc1fde5625690e7ef6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b31f0307580316698e4c33474aa81b04b62a09bc6c0cbcc1fde5625690e7ef6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b31f0307580316698e4c33474aa81b04b62a09bc6c0cbcc1fde5625690e7ef6f", kill_on_drop: false }` [INFO] [stdout] b31f0307580316698e4c33474aa81b04b62a09bc6c0cbcc1fde5625690e7ef6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e84241b4f387a00b90af1d227db2a38c55f2ec04de81e9486cd66428a6d03e77 [INFO] running `Command { std: "docker" "start" "-a" "e84241b4f387a00b90af1d227db2a38c55f2ec04de81e9486cd66428a6d03e77", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.74 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.74 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling yew v0.18.0 [INFO] [stderr] Compiling cfg-match v0.2.1 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling yew-router-route-parser v0.15.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.74 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling yew-macro v0.18.0 [INFO] [stderr] Compiling yew-router-macro v0.15.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.74 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.74 [INFO] [stderr] Compiling js-sys v0.3.51 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling web-sys v0.3.51 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.24 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling gloo-events v0.1.1 [INFO] [stderr] Compiling gloo-console-timer v0.1.0 [INFO] [stderr] Compiling gloo-timers v0.2.1 [INFO] [stderr] Compiling wasm-logger v0.2.0 [INFO] [stderr] Compiling gloo-file v0.1.0 [INFO] [stderr] Compiling gloo v0.2.1 [INFO] [stderr] Compiling yew-router v0.15.0 [INFO] [stderr] Compiling shop-frontend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::pages::item::Item` [INFO] [stdout] --> src/pages/item_list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::pages::item::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bridge` and `Properties` [INFO] [stdout] --> src/pages/item_list.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::{html, Component, ComponentLink, Html, Properties, InputData, Bridge}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Classes` and `events::KeyboardEvent` [INFO] [stdout] --> src/pages/item_list.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::{events::KeyboardEvent, Classes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/pages/item_list.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, BTreeMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model` [INFO] [stdout] --> src/pages/item_list.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/pages/item_list.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | fn create(props: Self::Properties, link: ComponentLink) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_price` is never read [INFO] [stdout] --> src/pages/basket.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Basket { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 11 | pub items: BTreeMap, [INFO] [stdout] 12 | pub total_price: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.51s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, wasm-bindgen v0.2.74 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e84241b4f387a00b90af1d227db2a38c55f2ec04de81e9486cd66428a6d03e77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e84241b4f387a00b90af1d227db2a38c55f2ec04de81e9486cd66428a6d03e77", kill_on_drop: false }` [INFO] [stdout] e84241b4f387a00b90af1d227db2a38c55f2ec04de81e9486cd66428a6d03e77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1aaa4c39c261141dab9062c0003b97bff0d5df91035d08696775e3690de3eeb [INFO] running `Command { std: "docker" "start" "-a" "e1aaa4c39c261141dab9062c0003b97bff0d5df91035d08696775e3690de3eeb", kill_on_drop: false }` [INFO] [stderr] Compiling shop-frontend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::pages::item::Item` [INFO] [stdout] --> src/pages/item_list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::pages::item::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bridge` and `Properties` [INFO] [stdout] --> src/pages/item_list.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::{html, Component, ComponentLink, Html, Properties, InputData, Bridge}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Classes` and `events::KeyboardEvent` [INFO] [stdout] --> src/pages/item_list.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::{events::KeyboardEvent, Classes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/pages/item_list.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, BTreeMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model` [INFO] [stdout] --> src/pages/item_list.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/pages/item_list.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | fn create(props: Self::Properties, link: ComponentLink) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_price` is never read [INFO] [stdout] --> src/pages/basket.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Basket { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 11 | pub items: BTreeMap, [INFO] [stdout] 12 | pub total_price: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, wasm-bindgen v0.2.74 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e1aaa4c39c261141dab9062c0003b97bff0d5df91035d08696775e3690de3eeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1aaa4c39c261141dab9062c0003b97bff0d5df91035d08696775e3690de3eeb", kill_on_drop: false }` [INFO] [stdout] e1aaa4c39c261141dab9062c0003b97bff0d5df91035d08696775e3690de3eeb