[INFO] fetching crate klub_models 0.0.4... [INFO] testing klub_models-0.0.4 against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025 [INFO] extracting crate klub_models 0.0.4 into /workspace/builds/worker-62/source [INFO] validating manifest of crates.io crate klub_models 0.0.4 on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate klub_models 0.0.4 [INFO] finished tweaking crates.io crate klub_models 0.0.4 [INFO] tweaked toml for crates.io crate klub_models 0.0.4 written to /workspace/builds/worker-62/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "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-62/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 237218b8b1cb61bdf8a24b155b592d65ae99f1bf5665074041e1569d4741386b [INFO] running `Command { std: "docker" "start" "-a" "237218b8b1cb61bdf8a24b155b592d65ae99f1bf5665074041e1569d4741386b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "237218b8b1cb61bdf8a24b155b592d65ae99f1bf5665074041e1569d4741386b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "237218b8b1cb61bdf8a24b155b592d65ae99f1bf5665074041e1569d4741386b", kill_on_drop: false }` [INFO] [stdout] 237218b8b1cb61bdf8a24b155b592d65ae99f1bf5665074041e1569d4741386b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12c914ac4f17ce6bcbce9f1cbce6ae26af97646a4e5305eb1ba57f8097e3bfea [INFO] running `Command { std: "docker" "start" "-a" "12c914ac4f17ce6bcbce9f1cbce6ae26af97646a4e5305eb1ba57f8097e3bfea", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling spin v0.9.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling strum v0.22.0 [INFO] [stderr] Compiling smartstring v0.2.10 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling juniper_codegen v0.15.9 [INFO] [stderr] Compiling futures-enum v0.1.17 [INFO] [stderr] Compiling neo4rs-macros v0.2.1 [INFO] [stderr] Compiling strum_macros v0.22.0 [INFO] [stderr] Compiling embed-doc-image v0.1.4 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling graphql-parser v0.3.0 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-test v0.4.2 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling config v0.10.1 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling deadpool v0.7.0 [INFO] [stderr] Compiling neo4rs v0.5.9 [INFO] [stderr] Compiling bson v1.2.4 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling klub_stores v0.0.2 [INFO] [stderr] Compiling juniper v0.15.9 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling juniper_rocket v0.8.1 [INFO] [stderr] Compiling klub_models v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `carrier` [INFO] [stdout] --> src/id/macros.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | pub $( $field: $ty ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/device/native_mobile_app.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / identify_temporalize_localize!( [INFO] [stdout] 8 | | pub struct NativeMobileApp { [INFO] [stdout] 9 | | os: Option, [INFO] [stdout] 10 | | carrier: Option, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `NativeMobileApp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/id/macros.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/device/native_mobile_app.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / identify_temporalize_localize!( [INFO] [stdout] 8 | | pub struct NativeMobileApp { [INFO] [stdout] 9 | | os: Option, [INFO] [stdout] 10 | | carrier: Option, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `identify_temporalize_localize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `carrier` [INFO] [stdout] --> src/id/macros.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | pub $( $field: $ty ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/device/web_desktop_app.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / identify_temporalize_localize!( [INFO] [stdout] 8 | | pub struct WebDesktopApp { [INFO] [stdout] 9 | | os: Option, [INFO] [stdout] 10 | | carrier: Option, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `WebDesktopApp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/id/macros.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/device/web_desktop_app.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / identify_temporalize_localize!( [INFO] [stdout] 8 | | pub struct WebDesktopApp { [INFO] [stdout] 9 | | os: Option, [INFO] [stdout] 10 | | carrier: Option, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `identify_temporalize_localize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `carrier` [INFO] [stdout] --> src/id/macros.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | pub $( $field: $ty ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/device/web_mobile_app.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / identify_temporalize_localize!( [INFO] [stdout] 8 | | pub struct WebMobileApp { [INFO] [stdout] 9 | | os: Option, [INFO] [stdout] 10 | | carrier: Option, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `WebMobileApp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/id/macros.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/device/web_mobile_app.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / identify_temporalize_localize!( [INFO] [stdout] 8 | | pub struct WebMobileApp { [INFO] [stdout] 9 | | os: Option, [INFO] [stdout] 10 | | carrier: Option, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `identify_temporalize_localize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 43s [INFO] running `Command { std: "docker" "inspect" "12c914ac4f17ce6bcbce9f1cbce6ae26af97646a4e5305eb1ba57f8097e3bfea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12c914ac4f17ce6bcbce9f1cbce6ae26af97646a4e5305eb1ba57f8097e3bfea", kill_on_drop: false }` [INFO] [stdout] 12c914ac4f17ce6bcbce9f1cbce6ae26af97646a4e5305eb1ba57f8097e3bfea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 077f6d88ce969b5f8ca253b16bdf890163ce746bbb9e36fb2a487933f8c0c8b8 [INFO] running `Command { std: "docker" "start" "-a" "077f6d88ce969b5f8ca253b16bdf890163ce746bbb9e36fb2a487933f8c0c8b8", kill_on_drop: false }` [INFO] [stdout] warning: field is never read: `carrier` [INFO] [stdout] --> src/id/macros.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | pub $( $field: $ty ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/device/native_mobile_app.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / identify_temporalize_localize!( [INFO] [stdout] 8 | | pub struct NativeMobileApp { [INFO] [stdout] 9 | | os: Option, [INFO] [stdout] 10 | | carrier: Option, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `NativeMobileApp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/id/macros.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/device/native_mobile_app.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / identify_temporalize_localize!( [INFO] [stdout] 8 | | pub struct NativeMobileApp { [INFO] [stdout] 9 | | os: Option, [INFO] [stdout] 10 | | carrier: Option, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `identify_temporalize_localize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling klub_models v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `carrier` [INFO] [stdout] --> src/id/macros.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | pub $( $field: $ty ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/device/web_desktop_app.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / identify_temporalize_localize!( [INFO] [stdout] 8 | | pub struct WebDesktopApp { [INFO] [stdout] 9 | | os: Option, [INFO] [stdout] 10 | | carrier: Option, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `WebDesktopApp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/id/macros.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/device/web_desktop_app.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / identify_temporalize_localize!( [INFO] [stdout] 8 | | pub struct WebDesktopApp { [INFO] [stdout] 9 | | os: Option, [INFO] [stdout] 10 | | carrier: Option, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `identify_temporalize_localize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `carrier` [INFO] [stdout] --> src/id/macros.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | pub $( $field: $ty ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/device/web_mobile_app.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / identify_temporalize_localize!( [INFO] [stdout] 8 | | pub struct WebMobileApp { [INFO] [stdout] 9 | | os: Option, [INFO] [stdout] 10 | | carrier: Option, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `WebMobileApp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/id/macros.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/device/web_mobile_app.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / identify_temporalize_localize!( [INFO] [stdout] 8 | | pub struct WebMobileApp { [INFO] [stdout] 9 | | os: Option, [INFO] [stdout] 10 | | carrier: Option, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `identify_temporalize_localize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `carrier` [INFO] [stdout] --> src/id/macros.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | pub $( $field: $ty ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/device/native_mobile_app.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / identify_temporalize_localize!( [INFO] [stdout] 8 | | pub struct NativeMobileApp { [INFO] [stdout] 9 | | os: Option, [INFO] [stdout] 10 | | carrier: Option, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `NativeMobileApp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/id/macros.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/device/native_mobile_app.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / identify_temporalize_localize!( [INFO] [stdout] 8 | | pub struct NativeMobileApp { [INFO] [stdout] 9 | | os: Option, [INFO] [stdout] 10 | | carrier: Option, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `identify_temporalize_localize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `carrier` [INFO] [stdout] --> src/id/macros.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | pub $( $field: $ty ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/device/web_desktop_app.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / identify_temporalize_localize!( [INFO] [stdout] 8 | | pub struct WebDesktopApp { [INFO] [stdout] 9 | | os: Option, [INFO] [stdout] 10 | | carrier: Option, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `WebDesktopApp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/id/macros.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/device/web_desktop_app.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / identify_temporalize_localize!( [INFO] [stdout] 8 | | pub struct WebDesktopApp { [INFO] [stdout] 9 | | os: Option, [INFO] [stdout] 10 | | carrier: Option, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `identify_temporalize_localize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `carrier` [INFO] [stdout] --> src/id/macros.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | pub $( $field: $ty ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/device/web_mobile_app.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / identify_temporalize_localize!( [INFO] [stdout] 8 | | pub struct WebMobileApp { [INFO] [stdout] 9 | | os: Option, [INFO] [stdout] 10 | | carrier: Option, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `WebMobileApp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/id/macros.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/device/web_mobile_app.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / identify_temporalize_localize!( [INFO] [stdout] 8 | | pub struct WebMobileApp { [INFO] [stdout] 9 | | os: Option, [INFO] [stdout] 10 | | carrier: Option, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `identify_temporalize_localize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.48s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/klub_models-743f0c026557e90b) [INFO] running `Command { std: "docker" "inspect" "077f6d88ce969b5f8ca253b16bdf890163ce746bbb9e36fb2a487933f8c0c8b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "077f6d88ce969b5f8ca253b16bdf890163ce746bbb9e36fb2a487933f8c0c8b8", kill_on_drop: false }` [INFO] [stdout] 077f6d88ce969b5f8ca253b16bdf890163ce746bbb9e36fb2a487933f8c0c8b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6dc3c607259a7e39cc9174caef5cb840b6c93104600de1759eb0fd08843d4b4c [INFO] running `Command { std: "docker" "start" "-a" "6dc3c607259a7e39cc9174caef5cb840b6c93104600de1759eb0fd08843d4b4c", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `carrier` [INFO] [stderr] --> src/id/macros.rs:66:20 [INFO] [stderr] | [INFO] [stderr] 66 | pub $( $field: $ty ),* [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/device/native_mobile_app.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / identify_temporalize_localize!( [INFO] [stderr] 8 | | pub struct NativeMobileApp { [INFO] [stderr] 9 | | os: Option, [INFO] [stderr] 10 | | carrier: Option, [INFO] [stderr] ... | [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `NativeMobileApp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/id/macros.rs:54:18 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/device/native_mobile_app.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / identify_temporalize_localize!( [INFO] [stderr] 8 | | pub struct NativeMobileApp { [INFO] [stderr] 9 | | os: Option, [INFO] [stderr] 10 | | carrier: Option, [INFO] [stderr] ... | [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `identify_temporalize_localize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `carrier` [INFO] [stderr] --> src/id/macros.rs:66:20 [INFO] [stderr] | [INFO] [stderr] 66 | pub $( $field: $ty ),* [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/device/web_desktop_app.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / identify_temporalize_localize!( [INFO] [stderr] 8 | | pub struct WebDesktopApp { [INFO] [stderr] 9 | | os: Option, [INFO] [stderr] 10 | | carrier: Option, [INFO] [stderr] ... | [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `WebDesktopApp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/id/macros.rs:54:18 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/device/web_desktop_app.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / identify_temporalize_localize!( [INFO] [stderr] 8 | | pub struct WebDesktopApp { [INFO] [stderr] 9 | | os: Option, [INFO] [stderr] 10 | | carrier: Option, [INFO] [stderr] ... | [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `identify_temporalize_localize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `carrier` [INFO] [stderr] --> src/id/macros.rs:66:20 [INFO] [stderr] | [INFO] [stderr] 66 | pub $( $field: $ty ),* [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/device/web_mobile_app.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / identify_temporalize_localize!( [INFO] [stderr] 8 | | pub struct WebMobileApp { [INFO] [stderr] 9 | | os: Option, [INFO] [stderr] 10 | | carrier: Option, [INFO] [stderr] ... | [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `WebMobileApp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/id/macros.rs:54:18 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/device/web_mobile_app.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / identify_temporalize_localize!( [INFO] [stderr] 8 | | pub struct WebMobileApp { [INFO] [stderr] 9 | | os: Option, [INFO] [stderr] 10 | | carrier: Option, [INFO] [stderr] ... | [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `identify_temporalize_localize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `klub_models` (lib) generated 3 warnings [INFO] [stderr] warning: `klub_models` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/klub_models-743f0c026557e90b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests klub_models [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 53) ... FAILED [INFO] [stdout] test src/lib.rs - (line 23) ... FAILED [INFO] [stdout] test src/lib.rs - (line 16) ... FAILED [INFO] [stdout] test src/lib.rs - (line 32) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 53) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 6 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 6 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 6 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected one of `move`, `|`, or `||`, found keyword `fn` [INFO] [stdout] --> src/lib.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 9 | async fn topic( [INFO] [stdout] | ^^ expected one of `move`, `|`, or `||` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 23) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Problem` [INFO] [stdout] --> src/lib.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 3 | let problem = Problem::new(id, name); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use klub_models::topic::problem::Problem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/lib.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 3 | let problem = Problem::new(id, name); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> src/lib.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 3 | let problem = Problem::new(id, name); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/lib.rs - (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Problem` [INFO] [stdout] --> src/lib.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 3 | let problem = Problem::new(id, name); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use klub_models::topic::problem::Problem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/lib.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 3 | let problem = Problem::new(id, name); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> src/lib.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 3 | let problem = Problem::new(id, name); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/lib.rs - (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TopicType` [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 5 | TopicType::Problem => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TopicType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TopicType` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 9 | TopicType::Discussion => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TopicType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TopicType` [INFO] [stdout] --> src/lib.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 3 | let model_name_as_enum = TopicType::from_str(&model_name).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use klub_models::topic::topic::TopicType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `model_name` in this scope [INFO] [stdout] --> src/lib.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 3 | let model_name_as_enum = TopicType::from_str(&model_name).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Problem` [INFO] [stdout] --> src/lib.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 6 | let problem = Problem::new(id_str, name_str, &["2000"], &["8000"]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use klub_models::topic::problem::Problem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id_str` in this scope [INFO] [stdout] --> src/lib.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 6 | let problem = Problem::new(id_str, name_str, &["2000"], &["8000"]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name_str` in this scope [INFO] [stdout] --> src/lib.rs:36:44 [INFO] [stdout] | [INFO] [stdout] 6 | let problem = Problem::new(id_str, name_str, &["2000"], &["8000"]); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Discussion` [INFO] [stdout] --> src/lib.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 10 | let discussion = Discussion::new(id_str, name_str, &["2000"], &["8000"]); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use klub_models::topic::discussion::Discussion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id_str` in this scope [INFO] [stdout] --> src/lib.rs:40:42 [INFO] [stdout] | [INFO] [stdout] 10 | let discussion = Discussion::new(id_str, name_str, &["2000"], &["8000"]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name_str` in this scope [INFO] [stdout] --> src/lib.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 10 | let discussion = Discussion::new(id_str, name_str, &["2000"], &["8000"]); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_32_0() { [INFO] [stdout] | - help: a return type might be missing here: `-> _` [INFO] [stdout] ... [INFO] [stdout] 7 | return Some(problem.clone().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 16) [INFO] [stdout] src/lib.rs - (line 23) [INFO] [stdout] src/lib.rs - (line 32) [INFO] [stdout] src/lib.rs - (line 53) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.13s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "6dc3c607259a7e39cc9174caef5cb840b6c93104600de1759eb0fd08843d4b4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dc3c607259a7e39cc9174caef5cb840b6c93104600de1759eb0fd08843d4b4c", kill_on_drop: false }` [INFO] [stdout] 6dc3c607259a7e39cc9174caef5cb840b6c93104600de1759eb0fd08843d4b4c