[INFO] cloning repository https://github.com/yelcat/iot_hub [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yelcat/iot_hub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyelcat%2Fiot_hub", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyelcat%2Fiot_hub'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d289d83665018ae062190551425188eb09c76b46 [INFO] testing yelcat/iot_hub against master#2fe50cd72c476ebacdedb14893e9632b4de961c2 for pr-116088-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyelcat%2Fiot_hub" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yelcat/iot_hub on toolchain 2fe50cd72c476ebacdedb14893e9632b4de961c2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yelcat/iot_hub [INFO] finished tweaking git repo https://github.com/yelcat/iot_hub [INFO] tweaked toml for git repo https://github.com/yelcat/iot_hub written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yelcat/iot_hub 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" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unreachable v1.0.0 [INFO] [stderr] Downloaded fuchsia-zircon v0.2.1 [INFO] [stderr] Downloaded iovec v0.1.1 [INFO] [stderr] Downloaded syn v0.11.11 [INFO] [stderr] Downloaded tokio-io v0.1.4 [INFO] [stderr] Downloaded cfg-if v0.1.2 [INFO] [stderr] Downloaded void v1.0.2 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.2.0 [INFO] [stderr] Downloaded dtoa v0.4.2 [INFO] [stderr] Downloaded slab v0.3.0 [INFO] [stderr] Downloaded byteorder v1.2.1 [INFO] [stderr] Downloaded itoa v0.3.4 [INFO] [stderr] Downloaded tokio-core v0.1.11 [INFO] [stderr] Downloaded env_logger v0.4.3 [INFO] [stderr] Downloaded kernel32-sys v0.2.2 [INFO] [stderr] Downloaded synom v0.11.3 [INFO] [stderr] Downloaded serde_derive_internals v0.17.0 [INFO] [stderr] Downloaded miow v0.2.1 [INFO] [stderr] Downloaded ws2_32-sys v0.2.1 [INFO] [stderr] Downloaded lazycell v0.5.1 [INFO] [stderr] Downloaded num-traits v0.1.40 [INFO] [stderr] Downloaded memchr v2.0.1 [INFO] [stderr] Downloaded futures v0.1.17 [INFO] [stderr] Downloaded winapi v0.2.8 [INFO] [stderr] Downloaded bytes v0.4.5 [INFO] [stderr] Downloaded libc v0.2.34 [INFO] [stderr] Downloaded mio v0.6.11 [INFO] [stderr] Downloaded serde_json v1.0.6 [INFO] [stderr] Downloaded regex v0.2.3 [INFO] [stderr] Downloaded utf8-ranges v1.0.0 [INFO] [stderr] Downloaded aho-corasick v0.6.4 [INFO] [stderr] Downloaded serde v1.0.23 [INFO] [stderr] Downloaded winapi-build v0.1.1 [INFO] [stderr] Downloaded quote v0.3.15 [INFO] [stderr] Downloaded thread_local v0.3.4 [INFO] [stderr] Downloaded serde_derive v1.0.23 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] [stderr] Downloaded unicode-xid v0.0.4 [INFO] [stderr] Downloaded slab v0.4.0 [INFO] [stderr] Downloaded net2 v0.2.31 [INFO] [stderr] Downloaded scoped-tls v0.1.0 [INFO] [stderr] Downloaded regex-syntax v0.4.1 [INFO] [stderr] Downloaded log v0.3.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fac700da267d3721809181142dfa47ee10b4275185bc29e774917b159b784e95 [INFO] running `Command { std: "docker" "start" "-a" "fac700da267d3721809181142dfa47ee10b4275185bc29e774917b159b784e95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fac700da267d3721809181142dfa47ee10b4275185bc29e774917b159b784e95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fac700da267d3721809181142dfa47ee10b4275185bc29e774917b159b784e95", kill_on_drop: false }` [INFO] [stdout] fac700da267d3721809181142dfa47ee10b4275185bc29e774917b159b784e95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81daebe1bcabd5a7f2dc1ebd3c655ef2b9de38bb6ca1575d019afe66f4a9724c [INFO] running `Command { std: "docker" "start" "-a" "81daebe1bcabd5a7f2dc1ebd3c655ef2b9de38bb6ca1575d019afe66f4a9724c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling futures v0.1.17 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling lazycell v0.5.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling serde v1.0.23 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling iovec v0.1.1 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling bytes v0.4.5 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling net2 v0.2.31 [INFO] [stderr] Compiling mio v0.6.11 [INFO] [stderr] Compiling regex v0.2.3 [INFO] [stderr] Compiling serde_derive_internals v0.17.0 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling scoped-tls v0.1.0 [INFO] [stderr] Compiling slab v0.4.0 [INFO] [stderr] Compiling tokio-io v0.1.4 [INFO] [stderr] Compiling tokio-core v0.1.11 [INFO] [stderr] Compiling serde_derive v1.0.23 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.6 [INFO] [stderr] Compiling iot_hub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/proto.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | _ => panic!(format!("Invalid message type {}", buf[0])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 39 - _ => panic!(format!("Invalid message type {}", buf[0])), [INFO] [stdout] 39 + _ => panic!("Invalid message type {}", buf[0]), [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 8.47s [INFO] running `Command { std: "docker" "inspect" "81daebe1bcabd5a7f2dc1ebd3c655ef2b9de38bb6ca1575d019afe66f4a9724c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81daebe1bcabd5a7f2dc1ebd3c655ef2b9de38bb6ca1575d019afe66f4a9724c", kill_on_drop: false }` [INFO] [stdout] 81daebe1bcabd5a7f2dc1ebd3c655ef2b9de38bb6ca1575d019afe66f4a9724c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a33c3bd8390136c3eba3013aefcdf8161ab487d629f93492785a054d54bbdf5 [INFO] running `Command { std: "docker" "start" "-a" "7a33c3bd8390136c3eba3013aefcdf8161ab487d629f93492785a054d54bbdf5", kill_on_drop: false }` [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/proto.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | _ => panic!(format!("Invalid message type {}", buf[0])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 39 - _ => panic!(format!("Invalid message type {}", buf[0])), [INFO] [stdout] 39 + _ => panic!("Invalid message type {}", buf[0]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling iot_hub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/proto.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | _ => panic!(format!("Invalid message type {}", buf[0])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 39 - _ => panic!(format!("Invalid message type {}", buf[0])), [INFO] [stdout] 39 + _ => panic!("Invalid message type {}", buf[0]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "7a33c3bd8390136c3eba3013aefcdf8161ab487d629f93492785a054d54bbdf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a33c3bd8390136c3eba3013aefcdf8161ab487d629f93492785a054d54bbdf5", kill_on_drop: false }` [INFO] [stdout] 7a33c3bd8390136c3eba3013aefcdf8161ab487d629f93492785a054d54bbdf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f930a13f9912fdc3cc682fb85af17a037f157cd55297403cecc008f092ba6d10 [INFO] running `Command { std: "docker" "start" "-a" "f930a13f9912fdc3cc682fb85af17a037f157cd55297403cecc008f092ba6d10", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/proto.rs:39:25 [INFO] [stderr] | [INFO] [stderr] 39 | _ => panic!(format!("Invalid message type {}", buf[0])), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 39 - _ => panic!(format!("Invalid message type {}", buf[0])), [INFO] [stderr] 39 + _ => panic!("Invalid message type {}", buf[0]), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `iot_hub` (lib) generated 1 warning (run `cargo fix --lib -p iot_hub` to apply 1 suggestion) [INFO] [stderr] warning: `iot_hub` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/iot_hub-df7d427b6739cc92) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] test router::tests::test_add_subscriber_and_matched ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- router::tests::test_add_subscriber_and_matched stdout ---- [INFO] [stdout] thread 'router::tests::test_add_subscriber_and_matched' panicked at src/router.rs:194:9: [INFO] [stdout] assertion failed: result.is_ok() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x555b49032966 - std::backtrace_rs::backtrace::libunwind::trace::hd7a456af414d63de [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x555b49032966 - std::backtrace_rs::backtrace::trace_unsynchronized::h64867240ea973bd5 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x555b49032966 - std::sys_common::backtrace::_print_fmt::h2808b222ea4d26d0 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x555b49032966 - ::fmt::h03f74bc036e21c80 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x555b4905ca00 - core::fmt::rt::Argument::fmt::h8121cad32ccb67f1 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x555b4905ca00 - core::fmt::write::hba6738a49cae548f [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x555b490304ff - std::io::Write::write_fmt::h998dc49ddc9bbda8 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/io/mod.rs:1810:15 [INFO] [stdout] 7: 0x555b49032744 - std::sys_common::backtrace::_print::h12e2732351687df5 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x555b49032744 - std::sys_common::backtrace::print::h3977ff4fa70d37c3 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x555b490344b7 - std::panicking::default_hook::{{closure}}::h3649b42de801f190 [INFO] [stdout] 10: 0x555b4903419d - std::panicking::default_hook::h3fb7ccab350417f5 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x555b490003d7 - as core::ops::function::Fn>::call::hcac2ee49c7d5205e [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/alloc/src/boxed.rs:2029:9 [INFO] [stdout] 12: 0x555b490003d7 - test::test_main::{{closure}}::ha6dc19c93a11f2d1 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/test/src/lib.rs:138:21 [INFO] [stdout] 13: 0x555b49034ad6 - as core::ops::function::Fn>::call::h29b8e785b856bb23 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/alloc/src/boxed.rs:2029:9 [INFO] [stdout] 14: 0x555b49034ad6 - std::panicking::rust_panic_with_hook::h5efc89ef996de810 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panicking.rs:783:13 [INFO] [stdout] 15: 0x555b490347e9 - std::panicking::begin_panic_handler::{{closure}}::h6289f51ae1ae9efc [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panicking.rs:649:13 [INFO] [stdout] 16: 0x555b49032e66 - std::sys_common::backtrace::__rust_end_short_backtrace::h9f143e0a9d826e65 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x555b49034580 - rust_begin_unwind [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panicking.rs:645:5 [INFO] [stdout] 18: 0x555b48fbecd5 - core::panicking::panic_fmt::h5b9d04f36fd68862 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x555b48fbed93 - core::panicking::panic::h91919f6cc3a65429 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/panicking.rs:144:5 [INFO] [stdout] 20: 0x555b48fc7e09 - iot_hub::router::tests::test_add_subscriber_and_matched::h1ccb4127cfd8fade [INFO] [stdout] at /opt/rustwide/workdir/src/router.rs:194:9 [INFO] [stdout] 21: 0x555b48fc7c27 - iot_hub::router::tests::test_add_subscriber_and_matched::{{closure}}::hdee29ededd29e7aa [INFO] [stdout] at /opt/rustwide/workdir/src/router.rs:182:41 [INFO] [stdout] 22: 0x555b48fc18c6 - core::ops::function::FnOnce::call_once::h4b1b714bbed12ad6 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x555b49005bdf - core::ops::function::FnOnce::call_once::h547df4cc4781c42c [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x555b49005bdf - test::__rust_begin_short_backtrace::h0751f8da0df8afc9 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/test/src/lib.rs:627:18 [INFO] [stdout] 25: 0x555b49004a31 - test::run_test_in_process::{{closure}}::h08b7e2b944f5d3bf [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/test/src/lib.rs:650:60 [INFO] [stdout] 26: 0x555b49004a31 - as core::ops::function::FnOnce<()>>::call_once::h4eabe934da23f6d3 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x555b49004a31 - std::panicking::try::do_call::h8bce2a819a83d75f [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panicking.rs:552:40 [INFO] [stdout] 28: 0x555b49004a31 - std::panicking::try::h8d0ad43ca1e9dfe4 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panicking.rs:516:19 [INFO] [stdout] 29: 0x555b49004a31 - std::panic::catch_unwind::h80c407981483a27f [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panic.rs:142:14 [INFO] [stdout] 30: 0x555b49004a31 - test::run_test_in_process::h34f4f1cf26878dcc [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/test/src/lib.rs:650:27 [INFO] [stdout] 31: 0x555b49004a31 - test::run_test::{{closure}}::hf98423759bd4e4de [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/test/src/lib.rs:573:43 [INFO] [stdout] 32: 0x555b48fcbdc6 - test::run_test::{{closure}}::h31f9214a9865a468 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/test/src/lib.rs:601:41 [INFO] [stdout] 33: 0x555b48fcbdc6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h97eebf57e64e4a3e [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 34: 0x555b48fd0ec7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h10343cc6e645d5a7 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 35: 0x555b48fd0ec7 - as core::ops::function::FnOnce<()>>::call_once::h7676f5746d51f304 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x555b48fd0ec7 - std::panicking::try::do_call::h76c69ddb47b6692d [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panicking.rs:552:40 [INFO] [stdout] 37: 0x555b48fd0ec7 - std::panicking::try::h231004126786543e [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panicking.rs:516:19 [INFO] [stdout] 38: 0x555b48fd0ec7 - std::panic::catch_unwind::h519133dc1360745e [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panic.rs:142:14 [INFO] [stdout] 39: 0x555b48fd0ec7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h7c96b1538d88533f [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 40: 0x555b48fd0ec7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90e3a916fbad66da [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x555b49039585 - as core::ops::function::FnOnce>::call_once::h12c26c313019b755 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 42: 0x555b49039585 - as core::ops::function::FnOnce>::call_once::h3a7c22937eaa10d1 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 43: 0x555b49039585 - std::sys::unix::thread::Thread::new::thread_start::h1ce303acc71f2e7d [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 44: 0x7f144d143ac3 - [INFO] [stdout] 45: 0x7f144d1d4bf4 - __clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] router::tests::test_add_subscriber_and_matched [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f930a13f9912fdc3cc682fb85af17a037f157cd55297403cecc008f092ba6d10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f930a13f9912fdc3cc682fb85af17a037f157cd55297403cecc008f092ba6d10", kill_on_drop: false }` [INFO] [stdout] f930a13f9912fdc3cc682fb85af17a037f157cd55297403cecc008f092ba6d10 [INFO] testing yelcat/iot_hub against try#9c1665de5d324fe858dc15371578d6f928bfc123 for pr-116088-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyelcat%2Fiot_hub" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yelcat/iot_hub on toolchain 9c1665de5d324fe858dc15371578d6f928bfc123 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yelcat/iot_hub [INFO] finished tweaking git repo https://github.com/yelcat/iot_hub [INFO] tweaked toml for git repo https://github.com/yelcat/iot_hub written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yelcat/iot_hub 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" "+9c1665de5d324fe858dc15371578d6f928bfc123" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba60a9372f927b72d96350dbd44736342b31dfc441cb94bd470355e5705225f1 [INFO] running `Command { std: "docker" "start" "-a" "ba60a9372f927b72d96350dbd44736342b31dfc441cb94bd470355e5705225f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba60a9372f927b72d96350dbd44736342b31dfc441cb94bd470355e5705225f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba60a9372f927b72d96350dbd44736342b31dfc441cb94bd470355e5705225f1", kill_on_drop: false }` [INFO] [stdout] ba60a9372f927b72d96350dbd44736342b31dfc441cb94bd470355e5705225f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 019d1774e3f3bd2de8127fb2bd8f28a464af5fb6ad62c8a34346e436d0bd191e [INFO] running `Command { std: "docker" "start" "-a" "019d1774e3f3bd2de8127fb2bd8f28a464af5fb6ad62c8a34346e436d0bd191e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling lazycell v0.5.1 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling futures v0.1.17 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling iovec v0.1.1 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling net2 v0.2.31 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling bytes v0.4.5 [INFO] [stderr] Compiling mio v0.6.11 [INFO] [stderr] Compiling scoped-tls v0.1.0 [INFO] [stderr] Compiling slab v0.4.0 [INFO] [stderr] Compiling serde v1.0.23 [INFO] [stderr] Compiling regex v0.2.3 [INFO] [stderr] Compiling serde_derive_internals v0.17.0 [INFO] [stderr] Compiling tokio-io v0.1.4 [INFO] [stderr] Compiling tokio-core v0.1.11 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.6 [INFO] [stderr] Compiling iot_hub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/proto.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | _ => panic!(format!("Invalid message type {}", buf[0])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 39 - _ => panic!(format!("Invalid message type {}", buf[0])), [INFO] [stdout] 39 + _ => panic!("Invalid message type {}", buf[0]), [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 5.10s [INFO] running `Command { std: "docker" "inspect" "019d1774e3f3bd2de8127fb2bd8f28a464af5fb6ad62c8a34346e436d0bd191e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "019d1774e3f3bd2de8127fb2bd8f28a464af5fb6ad62c8a34346e436d0bd191e", kill_on_drop: false }` [INFO] [stdout] 019d1774e3f3bd2de8127fb2bd8f28a464af5fb6ad62c8a34346e436d0bd191e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f76ef86c68d5ee4bf71396b349c41157abfec5602e0867b1daed1630df798cb [INFO] running `Command { std: "docker" "start" "-a" "0f76ef86c68d5ee4bf71396b349c41157abfec5602e0867b1daed1630df798cb", kill_on_drop: false }` [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/proto.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | _ => panic!(format!("Invalid message type {}", buf[0])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 39 - _ => panic!(format!("Invalid message type {}", buf[0])), [INFO] [stdout] 39 + _ => panic!("Invalid message type {}", buf[0]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling iot_hub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/proto.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | _ => panic!(format!("Invalid message type {}", buf[0])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 39 - _ => panic!(format!("Invalid message type {}", buf[0])), [INFO] [stdout] 39 + _ => panic!("Invalid message type {}", buf[0]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "0f76ef86c68d5ee4bf71396b349c41157abfec5602e0867b1daed1630df798cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f76ef86c68d5ee4bf71396b349c41157abfec5602e0867b1daed1630df798cb", kill_on_drop: false }` [INFO] [stdout] 0f76ef86c68d5ee4bf71396b349c41157abfec5602e0867b1daed1630df798cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d963e61cfe1b91ea58ff08e07dee5512168b9c6521a671941d3d87302727ee64 [INFO] running `Command { std: "docker" "start" "-a" "d963e61cfe1b91ea58ff08e07dee5512168b9c6521a671941d3d87302727ee64", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/proto.rs:39:25 [INFO] [stderr] | [INFO] [stderr] 39 | _ => panic!(format!("Invalid message type {}", buf[0])), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 39 - _ => panic!(format!("Invalid message type {}", buf[0])), [INFO] [stderr] 39 + _ => panic!("Invalid message type {}", buf[0]), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `iot_hub` (lib) generated 1 warning (run `cargo fix --lib -p iot_hub` to apply 1 suggestion) [INFO] [stderr] warning: `iot_hub` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/iot_hub-df7d427b6739cc92) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test router::tests::test_add_subscriber_and_matched ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- router::tests::test_add_subscriber_and_matched stdout ---- [INFO] [stdout] thread 'router::tests::test_add_subscriber_and_matched' panicked at src/router.rs:194:9: [INFO] [stdout] assertion failed: result.is_ok() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56539e765906 - std::backtrace_rs::backtrace::libunwind::trace::h91c8d54ed99a4c55 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x56539e765906 - std::backtrace_rs::backtrace::trace_unsynchronized::h715a9230a8fcfb93 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56539e765906 - std::sys_common::backtrace::_print_fmt::hbab9610f7b3c51a4 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x56539e765906 - ::fmt::h56c55e88977fc622 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x56539e78f9a0 - core::fmt::rt::Argument::fmt::heebe33f1e8c6d0f8 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x56539e78f9a0 - core::fmt::write::h73e5b8b14759e609 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x56539e76352f - std::io::Write::write_fmt::hc6810e91f58091ef [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/io/mod.rs:1810:15 [INFO] [stdout] 7: 0x56539e7656e4 - std::sys_common::backtrace::_print::h835c23092b2371d8 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x56539e7656e4 - std::sys_common::backtrace::print::h220bc735ac93468b [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x56539e767457 - std::panicking::default_hook::{{closure}}::h13e5c81c71823f66 [INFO] [stdout] 10: 0x56539e76713d - std::panicking::default_hook::h49decadd8f3385a7 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x56539e7332c7 - as core::ops::function::Fn>::call::h948fb53b8b08f768 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/alloc/src/boxed.rs:2029:9 [INFO] [stdout] 12: 0x56539e7332c7 - test::test_main::{{closure}}::hb4f3e5071c7080f1 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/test/src/lib.rs:138:21 [INFO] [stdout] 13: 0x56539e767a76 - as core::ops::function::Fn>::call::hcd5802f61674126e [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/alloc/src/boxed.rs:2029:9 [INFO] [stdout] 14: 0x56539e767a76 - std::panicking::rust_panic_with_hook::hd27f6b49984c37db [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/panicking.rs:783:13 [INFO] [stdout] 15: 0x56539e767789 - std::panicking::begin_panic_handler::{{closure}}::h3cbc731df9d96e4d [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/panicking.rs:649:13 [INFO] [stdout] 16: 0x56539e765e06 - std::sys_common::backtrace::__rust_end_short_backtrace::hc27809f103d211f0 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x56539e767520 - rust_begin_unwind [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/panicking.rs:645:5 [INFO] [stdout] 18: 0x56539e6f1cd5 - core::panicking::panic_fmt::ha729e53058547cad [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x56539e6f1d93 - core::panicking::panic::h0f7b83f8d80bd386 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/core/src/panicking.rs:144:5 [INFO] [stdout] 20: 0x56539e6fae09 - iot_hub::router::tests::test_add_subscriber_and_matched::h8489ec9b8d48e782 [INFO] [stdout] at /opt/rustwide/workdir/src/router.rs:194:9 [INFO] [stdout] 21: 0x56539e6fac27 - iot_hub::router::tests::test_add_subscriber_and_matched::{{closure}}::h88044304be57cf1f [INFO] [stdout] at /opt/rustwide/workdir/src/router.rs:182:41 [INFO] [stdout] 22: 0x56539e6f48e6 - core::ops::function::FnOnce::call_once::h8dc348b89f32bede [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x56539e738b9f - core::ops::function::FnOnce::call_once::hc0fe9d49e29a8147 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x56539e738b9f - test::__rust_begin_short_backtrace::haa61ceb70470fb3e [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/test/src/lib.rs:627:18 [INFO] [stdout] 25: 0x56539e737921 - test::run_test_in_process::{{closure}}::h8585fae9636dddb2 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/test/src/lib.rs:650:60 [INFO] [stdout] 26: 0x56539e737921 - as core::ops::function::FnOnce<()>>::call_once::hb7a42bf7326d90ad [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x56539e737921 - std::panicking::try::do_call::h9063f39381e190d5 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/panicking.rs:552:40 [INFO] [stdout] 28: 0x56539e737921 - std::panicking::try::h1e696c55679552ba [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/panicking.rs:516:19 [INFO] [stdout] 29: 0x56539e737921 - std::panic::catch_unwind::ha638c57cde7bcebd [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/panic.rs:142:14 [INFO] [stdout] 30: 0x56539e737921 - test::run_test_in_process::h87d13783dd3d2492 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/test/src/lib.rs:650:27 [INFO] [stdout] 31: 0x56539e737921 - test::run_test::{{closure}}::hbfb7402b4584e0f1 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/test/src/lib.rs:573:43 [INFO] [stdout] 32: 0x56539e6fedc6 - test::run_test::{{closure}}::h6b5a8e7824747db3 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/test/src/lib.rs:601:41 [INFO] [stdout] 33: 0x56539e6fedc6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hd4768720b288897d [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 34: 0x56539e703e27 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha03eb79d3e2ff5a3 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 35: 0x56539e703e27 - as core::ops::function::FnOnce<()>>::call_once::hec8051eee7bc5c29 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x56539e703e27 - std::panicking::try::do_call::ha639d9c4a070100b [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/panicking.rs:552:40 [INFO] [stdout] 37: 0x56539e703e27 - std::panicking::try::ha45df3d3f6ed1370 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/panicking.rs:516:19 [INFO] [stdout] 38: 0x56539e703e27 - std::panic::catch_unwind::hac44f4c50a87c82d [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/panic.rs:142:14 [INFO] [stdout] 39: 0x56539e703e27 - std::thread::Builder::spawn_unchecked_::{{closure}}::hfecb7080eaed2a35 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 40: 0x56539e703e27 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4739d9410aed0b36 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x56539e76c525 - as core::ops::function::FnOnce>::call_once::hf07182c172025753 [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 42: 0x56539e76c525 - as core::ops::function::FnOnce>::call_once::hffcc280980d6bb6c [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 43: 0x56539e76c525 - std::sys::unix::thread::Thread::new::thread_start::h35e8c1dabb0282bb [INFO] [stdout] at /rustc/9c1665de5d324fe858dc15371578d6f928bfc123/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 44: 0x7f375c47aac3 - [INFO] [stdout] 45: 0x7f375c50bbf4 - __clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] router::tests::test_add_subscriber_and_matched [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "d963e61cfe1b91ea58ff08e07dee5512168b9c6521a671941d3d87302727ee64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d963e61cfe1b91ea58ff08e07dee5512168b9c6521a671941d3d87302727ee64", kill_on_drop: false }` [INFO] [stdout] d963e61cfe1b91ea58ff08e07dee5512168b9c6521a671941d3d87302727ee64