[INFO] cloning repository https://github.com/tsathishkumar/MySController-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tsathishkumar/MySController-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsathishkumar%2FMySController-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsathishkumar%2FMySController-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d1beb77dcc7c880f067a2dc60ed1e1f0a4cbeaa [INFO] testing tsathishkumar/MySController-rs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsathishkumar%2FMySController-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tsathishkumar/MySController-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7/source/.cargo/config [INFO] started tweaking git repo https://github.com/tsathishkumar/MySController-rs [INFO] finished tweaking git repo https://github.com/tsathishkumar/MySController-rs [INFO] tweaked toml for git repo https://github.com/tsathishkumar/MySController-rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/tsathishkumar/MySController-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52f6b14e43cce0a36bc6e80f30ab8c029e63bd5ae947d7ca3d678c4b851d1a4f [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" "52f6b14e43cce0a36bc6e80f30ab8c029e63bd5ae947d7ca3d678c4b851d1a4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52f6b14e43cce0a36bc6e80f30ab8c029e63bd5ae947d7ca3d678c4b851d1a4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52f6b14e43cce0a36bc6e80f30ab8c029e63bd5ae947d7ca3d678c4b851d1a4f", kill_on_drop: false }` [INFO] [stdout] 52f6b14e43cce0a36bc6e80f30ab8c029e63bd5ae947d7ca3d678c4b851d1a4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7efa8d9fa69fd122aec842240a3fb3ded60e194a13c7f7f039aaea7ef120b258 [INFO] running `Command { std: "docker" "start" "-a" "7efa8d9fa69fd122aec842240a3fb3ded60e194a13c7f7f039aaea7ef120b258", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling ryu v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling safemem v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling arc-swap v0.4.3 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling indexmap v1.2.0 [INFO] [stderr] Compiling crc16 v0.3.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling ihex v1.1.2 [INFO] [stderr] Compiling rust-ini v0.10.3 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling tower-service v0.1.0 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling actix-web v0.7.19 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling libsqlite3-sys v0.16.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling openssl-sys v0.9.51 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling signal-hook-registry v1.1.1 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling signal-hook v0.1.10 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling diesel-derive-enum v0.4.4 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.2 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling flate2 v1.0.12 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling backtrace v0.3.38 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling multimap v0.4.0 [INFO] [stderr] Compiling toml v0.5.4 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling pretty_env_logger v0.2.5 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling jsonway v2.0.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling publicsuffix v1.5.3 [INFO] [stderr] Compiling sct v0.4.0 [INFO] [stderr] Compiling webpki v0.18.1 [INFO] [stderr] Compiling cookie v0.11.1 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling valico v2.4.2 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling r2d2 v0.8.5 [INFO] [stderr] Compiling serialport v2.3.0 [INFO] [stderr] Compiling rustls v0.14.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling tokio-openssl v0.2.1 [INFO] [stderr] Compiling libmdns v0.2.3 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling derive_more v0.13.0 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling tokio-rustls v0.8.1 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling trust-dns-proto v0.6.3 [INFO] [stderr] Compiling trust-dns-proto v0.5.0 [INFO] [stderr] Compiling mqtt311 v0.2.0 [INFO] [stderr] Compiling v_escape v0.7.4 [INFO] [stderr] Compiling trust-dns-resolver v0.10.3 [INFO] [stderr] Compiling actix v0.7.9 [INFO] [stderr] Compiling diesel v1.4.3 [INFO] [stderr] Compiling jsonwebtoken v5.0.1 [INFO] [stderr] Compiling actix-net v0.2.6 [INFO] [stderr] Compiling rumqtt v0.30.1 [INFO] [stderr] Compiling webthing v0.9.3 [INFO] [stderr] Compiling migrations_internals v1.4.0 [INFO] [stderr] Compiling migrations_macros v1.4.1 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling myscontroller-rs v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/connection/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | (receiver) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - (receiver) [INFO] [stdout] 55 + receiver [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/connection/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | (message_sender) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - (message_sender) [INFO] [stdout] 68 + message_sender [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | Err(err) => panic!(format!("The configuration file could not be parsed properly {}", err)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 36 - Err(err) => panic!(format!("The configuration file could not be parsed properly {}", err)) [INFO] [stdout] 36 + Err(err) => panic!("The configuration file could not be parsed properly {}", err) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6m 02s [INFO] running `Command { std: "docker" "inspect" "7efa8d9fa69fd122aec842240a3fb3ded60e194a13c7f7f039aaea7ef120b258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7efa8d9fa69fd122aec842240a3fb3ded60e194a13c7f7f039aaea7ef120b258", kill_on_drop: false }` [INFO] [stdout] 7efa8d9fa69fd122aec842240a3fb3ded60e194a13c7f7f039aaea7ef120b258 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad33519e32c08d4829c7d6ef880fc516a33c2ea9609c879bc999becdf2b595c9 [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" "ad33519e32c08d4829c7d6ef880fc516a33c2ea9609c879bc999becdf2b595c9", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/connection/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | (receiver) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - (receiver) [INFO] [stdout] 55 + receiver [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/connection/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | (message_sender) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - (message_sender) [INFO] [stdout] 68 + message_sender [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling myscontroller-rs v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/connection/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | (receiver) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - (receiver) [INFO] [stdout] 55 + receiver [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/connection/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | (message_sender) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - (message_sender) [INFO] [stdout] 68 + message_sender [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | Err(err) => panic!(format!("The configuration file could not be parsed properly {}", err)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 36 - Err(err) => panic!(format!("The configuration file could not be parsed properly {}", err)) [INFO] [stdout] 36 + Err(err) => panic!("The configuration file could not be parsed properly {}", err) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.20s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/myscontroller_rs-9269108cf357c2a6) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/myscontroller_rs-cea45ce159f87846) [INFO] running `Command { std: "docker" "inspect" "ad33519e32c08d4829c7d6ef880fc516a33c2ea9609c879bc999becdf2b595c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad33519e32c08d4829c7d6ef880fc516a33c2ea9609c879bc999becdf2b595c9", kill_on_drop: false }` [INFO] [stdout] ad33519e32c08d4829c7d6ef880fc516a33c2ea9609c879bc999becdf2b595c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bb51da8d74c4b272dbc28ab91a89827957d2e080928149b1056d36e866f4e670 [INFO] running `Command { std: "docker" "start" "-a" "bb51da8d74c4b272dbc28ab91a89827957d2e080928149b1056d36e866f4e670", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/core/connection/mod.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | (receiver) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 55 - (receiver) [INFO] [stderr] 55 + receiver [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/core/connection/mod.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | (message_sender) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 68 - (message_sender) [INFO] [stderr] 68 + message_sender [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `myscontroller-rs` (lib) generated 2 warnings [INFO] [stderr] warning: `myscontroller-rs` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:36:28 [INFO] [stderr] | [INFO] [stderr] 36 | Err(err) => panic!(format!("The configuration file could not be parsed properly {}", err)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 36 - Err(err) => panic!(format!("The configuration file could not be parsed properly {}", err)) [INFO] [stderr] 36 + Err(err) => panic!("The configuration file could not be parsed properly {}", err) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `myscontroller-rs` (bin "myscontroller-rs" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.64s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/myscontroller_rs-9269108cf357c2a6) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test core::connection::mqtt::test::should_get_topic_and_payload_in_mqtt_format ... ok [INFO] [stdout] test core::connection::mqtt::test::should_get_mysensors_message_from_mqtt_notification ... ok [INFO] [stdout] test core::message::set::test::supported_sub_type ... ok [INFO] [stdout] test core::message::test::parse_correct_command_fw_response ... ok [INFO] [stdout] test core::message::test::format_fw_resquest ... ok [INFO] [stdout] test core::message::test::format_fw_config_request ... ok [INFO] [stdout] test core::message::presentation::test::supported_sensor_types ... ok [INFO] [stdout] test core::message::test::parse_correct_command_fw_config_request ... ok [INFO] [stdout] test core::message::test::convert_fw_config_request_to_response ... ok [INFO] [stdout] test core::message::test::format_fw_config_response ... ok [INFO] [stdout] test core::message::set::test::set_message_display_method ... ok [INFO] [stdout] test core::message::test::format_fw_response ... ok [INFO] [stdout] test core::message::set::test::enum_primitive ... ok [INFO] [stdout] test model::firmware::test::compute_correct_crc ... ok [INFO] [stdout] test core::message::test::convert_fw_request_to_response ... ok [INFO] [stdout] test model::firmware::test::extract_given_block_from_binary_data ... ok [INFO] [stdout] test core::message::test::parse_correct_command_fw_config_response ... ok [INFO] [stdout] test core::message::test::parse_correct_command_fw_request ... ok [INFO] [stdout] test model::firmware::test::reader_respects_all_newline_formats ... ok [INFO] [stdout] test model::firmware::test::hex_file_to_vector ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/myscontroller_rs-cea45ce159f87846) [INFO] [stderr] Doc-tests myscontroller-rs [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/core/connection/mod.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | (receiver) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 55 - (receiver) [INFO] [stderr] 55 + receiver [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/core/connection/mod.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | (message_sender) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 68 - (message_sender) [INFO] [stderr] 68 + message_sender [INFO] [stderr] | [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stdout] running 0 tests [INFO] [stderr] [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] running `Command { std: "docker" "inspect" "bb51da8d74c4b272dbc28ab91a89827957d2e080928149b1056d36e866f4e670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb51da8d74c4b272dbc28ab91a89827957d2e080928149b1056d36e866f4e670", kill_on_drop: false }` [INFO] [stdout] bb51da8d74c4b272dbc28ab91a89827957d2e080928149b1056d36e866f4e670