[INFO] fetching crate sloop 1.0.0... [INFO] testing sloop-1.0.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate sloop 1.0.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate sloop 1.0.0 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] started tweaking crates.io crate sloop 1.0.0 [INFO] finished tweaking crates.io crate sloop 1.0.0 [INFO] tweaked toml for crates.io crate sloop 1.0.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate sloop 1.0.0 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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb41ff400eceaa33d2056f1facef90d37afdf52a502468a11f8f69e3b31ada2d [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" "eb41ff400eceaa33d2056f1facef90d37afdf52a502468a11f8f69e3b31ada2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb41ff400eceaa33d2056f1facef90d37afdf52a502468a11f8f69e3b31ada2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb41ff400eceaa33d2056f1facef90d37afdf52a502468a11f8f69e3b31ada2d", kill_on_drop: false }` [INFO] [stdout] eb41ff400eceaa33d2056f1facef90d37afdf52a502468a11f8f69e3b31ada2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] [stdout] 939c785414aa6006c0607a1b8922c4130a678587d942a7cc4d7bf6ce4fea904c [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" "939c785414aa6006c0607a1b8922c4130a678587d942a7cc4d7bf6ce4fea904c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling rusoto_core v0.41.0 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling signal-hook v0.1.10 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling openssl-sys v0.9.52 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling tokio-process v0.2.4 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling structopt-derive v0.3.3 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling quick-xml v0.14.0 [INFO] [stderr] Compiling structopt v0.3.3 [INFO] [stderr] Compiling rss v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling rusoto_credential v0.41.1 [INFO] [stderr] Compiling rusoto_s3 v0.41.0 [INFO] [stderr] Compiling sloop v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "939c785414aa6006c0607a1b8922c4130a678587d942a7cc4d7bf6ce4fea904c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "939c785414aa6006c0607a1b8922c4130a678587d942a7cc4d7bf6ce4fea904c", kill_on_drop: false }` [INFO] [stdout] 939c785414aa6006c0607a1b8922c4130a678587d942a7cc4d7bf6ce4fea904c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] c1c571b5eb88ec3ce9f4525bacedfa548f1a8ea4dccf122749736a69e0e3c88c [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" "c1c571b5eb88ec3ce9f4525bacedfa548f1a8ea4dccf122749736a69e0e3c88c", kill_on_drop: false }` [INFO] [stderr] Compiling xmlparser v0.10.0 [INFO] [stderr] Compiling roxmltree v0.7.1 [INFO] [stderr] Compiling sloop v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/feed.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | / format!( [INFO] [stdout] 158 | | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stdout] 159 | | $needle, $haystack [INFO] [stdout] 160 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 177 | assert_contains!(feed, "Feed Title 1"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `assert_contains` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 157 ~ [INFO] [stdout] 158 | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stdout] 159 | $needle, $haystack [INFO] [stdout] 160 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/feed.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | / format!( [INFO] [stdout] 158 | | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stdout] 159 | | $needle, $haystack [INFO] [stdout] 160 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 178 | assert_contains!(feed, "xmlns:itunes"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `assert_contains` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 157 ~ [INFO] [stdout] 158 | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stdout] 159 | $needle, $haystack [INFO] [stdout] 160 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/feed.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | / format!( [INFO] [stdout] 158 | | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stdout] 159 | | $needle, $haystack [INFO] [stdout] 160 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 179 | assert_contains!(feed, "Yes"); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `assert_contains` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 157 ~ [INFO] [stdout] 158 | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stdout] 159 | $needle, $haystack [INFO] [stdout] 160 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/feed.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | / format!( [INFO] [stdout] 158 | | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stdout] 159 | | $needle, $haystack [INFO] [stdout] 160 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 180 | / assert_contains!( [INFO] [stdout] 181 | | feed, [INFO] [stdout] 182 | | "url=\"https://eg.test/file1.mp3\" length=\"6\" type=\"audio/mpeg\"" [INFO] [stdout] 183 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `assert_contains` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 157 ~ [INFO] [stdout] 158 | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stdout] 159 | $needle, $haystack [INFO] [stdout] 160 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/feed.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | / format!( [INFO] [stdout] 158 | | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stdout] 159 | | $needle, $haystack [INFO] [stdout] 160 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 184 | assert_contains!(feed, "file1"); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `assert_contains` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 157 ~ [INFO] [stdout] 158 | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stdout] 159 | $needle, $haystack [INFO] [stdout] 160 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.95s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/sloop-db5591307d42edf2) [INFO] running `Command { std: "docker" "inspect" "c1c571b5eb88ec3ce9f4525bacedfa548f1a8ea4dccf122749736a69e0e3c88c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1c571b5eb88ec3ce9f4525bacedfa548f1a8ea4dccf122749736a69e0e3c88c", kill_on_drop: false }` [INFO] [stdout] c1c571b5eb88ec3ce9f4525bacedfa548f1a8ea4dccf122749736a69e0e3c88c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] 38d66adf382185280dff8742fdb622a1da63b6db28fd50eeb2305c2566751d2b [INFO] running `Command { std: "docker" "start" "-a" "38d66adf382185280dff8742fdb622a1da63b6db28fd50eeb2305c2566751d2b", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] running 14 tests [INFO] [stderr] --> src/feed.rs:157:17 [INFO] [stdout] test feed::tests::generates_xml_for_files ... ok [INFO] [stderr] | [INFO] [stdout] test feed::tests::returns_error_if_file_does_not_exist ... ok [INFO] [stderr] 157 | / format!( [INFO] [stdout] test upload::tests::base_url_returns_url_for_bucket ... ok [INFO] [stderr] 158 | | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stdout] test upload::tests::constructs_url_for_file ... ok [INFO] [stderr] 159 | | $needle, $haystack [INFO] [stderr] 160 | | ) [INFO] [stderr] | |_________________^ [INFO] [stderr] ... [INFO] [stderr] 177 | assert_contains!(feed, "Feed Title 1"); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `assert_contains` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 157 ~ [INFO] [stderr] 158 | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stderr] 159 | $needle, $haystack [INFO] [stderr] 160 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/feed.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | / format!( [INFO] [stderr] 158 | | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stderr] 159 | | $needle, $haystack [INFO] [stderr] 160 | | ) [INFO] [stderr] | |_________________^ [INFO] [stderr] ... [INFO] [stderr] 178 | assert_contains!(feed, "xmlns:itunes"); [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `assert_contains` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 157 ~ [INFO] [stderr] 158 | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stderr] 159 | $needle, $haystack [INFO] [stderr] 160 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/feed.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | / format!( [INFO] [stderr] 158 | | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stderr] 159 | | $needle, $haystack [INFO] [stderr] 160 | | ) [INFO] [stderr] | |_________________^ [INFO] [stderr] ... [INFO] [stderr] 179 | assert_contains!(feed, "Yes"); [INFO] [stderr] | ---------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `assert_contains` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 157 ~ [INFO] [stderr] 158 | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stderr] 159 | $needle, $haystack [INFO] [stderr] 160 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/feed.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | / format!( [INFO] [stderr] 158 | | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stderr] 159 | | $needle, $haystack [INFO] [stderr] 160 | | ) [INFO] [stderr] | |_________________^ [INFO] [stderr] ... [INFO] [stderr] 180 | / assert_contains!( [INFO] [stderr] 181 | | feed, [INFO] [stderr] 182 | | "url=\"https://eg.test/file1.mp3\" length=\"6\" type=\"audio/mpeg\"" [INFO] [stderr] 183 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `assert_contains` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 157 ~ [INFO] [stderr] 158 | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stderr] 159 | $needle, $haystack [INFO] [stderr] 160 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/feed.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | / format!( [INFO] [stderr] 158 | | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stderr] 159 | | $needle, $haystack [INFO] [stderr] 160 | | ) [INFO] [stderr] | |_________________^ [INFO] [stderr] ... [INFO] [stderr] 184 | assert_contains!(feed, "file1"); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `assert_contains` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 157 ~ [INFO] [stderr] 158 | "expected string to contain \"{}\", got:\n\n{}\n\n", [INFO] [stderr] 159 | $needle, $haystack [INFO] [stderr] 160 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `sloop` (bin "sloop" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sloop-db5591307d42edf2) [INFO] [stdout] test feed::tests::replaces_underscores_with_spaces_in_title ... ok [INFO] [stdout] test feed::tests::outputs_correct_mime_type ... ok [INFO] [stdout] test feed::tests::handles_special_chars_in_filenames ... ok [INFO] [stdout] test feed::tests::pub_dates_go_in_reverse ... ok [INFO] [stdout] test upload::tests::handles_bucket_already_owned_by_user ... ok [INFO] [stdout] test upload::tests::throws_for_bucket_already_exists ... ok [INFO] [stdout] test upload::tests::returns_error_if_setting_bucket_policy_fails ... ok [INFO] [stdout] test upload::tests::uploads_files_in_directory ... ok [INFO] [stdout] test upload::tests::sets_bucket_policy_to_public ... ok [INFO] [stdout] test upload::tests::creates_an_s3_bucket ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "38d66adf382185280dff8742fdb622a1da63b6db28fd50eeb2305c2566751d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38d66adf382185280dff8742fdb622a1da63b6db28fd50eeb2305c2566751d2b", kill_on_drop: false }` [INFO] [stdout] 38d66adf382185280dff8742fdb622a1da63b6db28fd50eeb2305c2566751d2b