[INFO] cloning repository https://github.com/karimElmougi/IFT611_project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/karimElmougi/IFT611_project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkarimElmougi%2FIFT611_project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkarimElmougi%2FIFT611_project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5829c77b472ee41291de06225a43ae79b3c73fe [INFO] testing karimElmougi/IFT611_project against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkarimElmougi%2FIFT611_project" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/karimElmougi/IFT611_project on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/karimElmougi/IFT611_project [INFO] finished tweaking git repo https://github.com/karimElmougi/IFT611_project [INFO] tweaked toml for git repo https://github.com/karimElmougi/IFT611_project written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/karimElmougi/IFT611_project already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", 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] 02278b51596cc7a5af54e82126bbdd0a074f1883b0c19ef391f7ebf1d1325aca [INFO] running `Command { std: "docker" "start" "-a" "02278b51596cc7a5af54e82126bbdd0a074f1883b0c19ef391f7ebf1d1325aca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02278b51596cc7a5af54e82126bbdd0a074f1883b0c19ef391f7ebf1d1325aca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02278b51596cc7a5af54e82126bbdd0a074f1883b0c19ef391f7ebf1d1325aca", kill_on_drop: false }` [INFO] [stdout] 02278b51596cc7a5af54e82126bbdd0a074f1883b0c19ef391f7ebf1d1325aca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ba67e0fa7369210921553a21d0f5fb01bca20f0a63a6b5f1b2718bf315fba2c [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" "9ba67e0fa7369210921553a21d0f5fb01bca20f0a63a6b5f1b2718bf315fba2c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling circular-queue v0.2.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [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 unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.3.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling libflate v0.1.21 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling tokio-sync v0.1.4 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling csv-core v0.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.42 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling crossbeam v0.7.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.16 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling tokio-threadpool v0.1.13 [INFO] [stderr] Compiling uuid v0.7.2 [INFO] [stderr] Compiling openssl v0.10.19 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tiny_http v0.6.2 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.18 [INFO] [stderr] Compiling h2 v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling hyper v0.12.25 [INFO] [stderr] Compiling hyper-tls v0.3.1 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling serde_urlencoded v0.5.4 [INFO] [stderr] Compiling csv v1.0.5 [INFO] [stderr] Compiling reqwest v0.9.11 [INFO] [stderr] Compiling ift611_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:91:60 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn from_csv_str(csv_str: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:109:63 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_record(&self, url: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:119:88 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn subscribe(&self, url: &str) -> Result>, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "9ba67e0fa7369210921553a21d0f5fb01bca20f0a63a6b5f1b2718bf315fba2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ba67e0fa7369210921553a21d0f5fb01bca20f0a63a6b5f1b2718bf315fba2c", kill_on_drop: false }` [INFO] [stdout] 9ba67e0fa7369210921553a21d0f5fb01bca20f0a63a6b5f1b2718bf315fba2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37ab3b8c7d5cc28d43cb55da97567dab1ab675ab923f9149e49255cf111213c5 [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" "37ab3b8c7d5cc28d43cb55da97567dab1ab675ab923f9149e49255cf111213c5", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.5.1 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling tinytemplate v1.0.1 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:91:60 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn from_csv_str(csv_str: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:109:63 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_record(&self, url: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:119:88 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn subscribe(&self, url: &str) -> Result>, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling criterion-plot v0.3.1 [INFO] [stderr] Compiling criterion v0.2.11 [INFO] [stderr] Compiling ift611_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:91:60 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn from_csv_str(csv_str: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:109:63 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_record(&self, url: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:119:88 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn subscribe(&self, url: &str) -> Result>, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / format!( [INFO] [stdout] 24 | | "BTCUSD.get_record() shouldn't return an error: {:?}", [INFO] [stdout] 25 | | result [INFO] [stdout] 26 | | ) [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 assert!() 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] 23 | [INFO] [stdout] 24 | "BTCUSD.get_record() shouldn't return an error: {:?}", [INFO] [stdout] 25 | result [INFO] [stdout] 26 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | format!("BTCUSD.subscribe() shouldn't return an error: {:?}", result) [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 assert!() 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] 34 | "BTCUSD.subscribe() shouldn't return an error: {:?}", result [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | / format!( [INFO] [stdout] 42 | | "getting the next record shouldn't return an error: {:?}", [INFO] [stdout] 43 | | result [INFO] [stdout] 44 | | ) [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 assert!() 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] 41 | [INFO] [stdout] 42 | "getting the next record shouldn't return an error: {:?}", [INFO] [stdout] 43 | result [INFO] [stdout] 44 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.30s [INFO] running `Command { std: "docker" "inspect" "37ab3b8c7d5cc28d43cb55da97567dab1ab675ab923f9149e49255cf111213c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ab3b8c7d5cc28d43cb55da97567dab1ab675ab923f9149e49255cf111213c5", kill_on_drop: false }` [INFO] [stdout] 37ab3b8c7d5cc28d43cb55da97567dab1ab675ab923f9149e49255cf111213c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 92070decae960d15cf301d1e5981dcf03b4dbf497e796cb7e5e4979628d96c6f [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" "92070decae960d15cf301d1e5981dcf03b4dbf497e796cb7e5e4979628d96c6f", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/client.rs:91:60 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn from_csv_str(csv_str: &str) -> Result> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/client.rs:109:63 [INFO] [stderr] | [INFO] [stderr] 109 | pub fn get_record(&self, url: &str) -> Result> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/client.rs:119:88 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn subscribe(&self, url: &str) -> Result>, Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `ift611_project` (lib) generated 3 warnings [INFO] [stderr] warning: `ift611_project` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/test.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | / format!( [INFO] [stderr] 24 | | "BTCUSD.get_record() shouldn't return an error: {:?}", [INFO] [stderr] 25 | | result [INFO] [stderr] 26 | | ) [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 assert!() 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] 23 | [INFO] [stderr] 24 | "BTCUSD.get_record() shouldn't return an error: {:?}", [INFO] [stderr] 25 | result [INFO] [stderr] 26 | [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/test.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | format!("BTCUSD.subscribe() shouldn't return an error: {:?}", result) [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 assert!() 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] 34 | "BTCUSD.subscribe() shouldn't return an error: {:?}", result [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/test.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | / format!( [INFO] [stderr] 42 | | "getting the next record shouldn't return an error: {:?}", [INFO] [stderr] 43 | | result [INFO] [stderr] 44 | | ) [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 assert!() 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] 41 | [INFO] [stderr] 42 | "getting the next record shouldn't return an error: {:?}", [INFO] [stderr] 43 | result [INFO] [stderr] 44 | [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `ift611_project` (test "test") generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ift611_project-487268cf8155c646) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/client-812b30876724b67c) [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] [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] Running unittests (/opt/rustwide/target/debug/deps/server-4f02ba8f2a007d90) [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-f46b6fdc6d74fe2b) [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: test failed, to rerun pass '--test test' [INFO] [stdout] test server_test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- server_test stdout ---- [INFO] [stdout] thread 'server_test' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }', src/server.rs:97:67 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55dcd250b4f0 - std::backtrace_rs::backtrace::libunwind::trace::h99dbb39dca18857d [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55dcd250b4f0 - std::backtrace_rs::backtrace::trace_unsynchronized::h832861927e9cfedf [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55dcd250b4f0 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55dcd250b4f0 - ::fmt::he312f4ad5b9bb346 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55dcd253074c - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x55dcd25047f5 - std::io::Write::write_fmt::h65d36b96410d80d7 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x55dcd250d6bb - std::sys_common::backtrace::_print::h65d996766de40da4 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55dcd250d6bb - std::sys_common::backtrace::print::h40df9727e635f303 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55dcd250d6bb - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55dcd250d1cc - std::panicking::default_hook::h3d55120ad6ada158 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55dcd250dd84 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55dcd250d867 - std::panicking::begin_panic_handler::{{closure}}::h736ae969434da9fa [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55dcd250b9cc - std::sys_common::backtrace::__rust_end_short_backtrace::h6133bb80b1d6c3e0 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55dcd250d7c9 - rust_begin_unwind [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55dcd1fd5a11 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55dcd1fd5b03 - core::result::unwrap_failed::he898b02f57993c42 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/result.rs:1599:5 [INFO] [stdout] 16: 0x55dcd2043d2e - core::result::Result::unwrap::hc595eea65ff0715d [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/result.rs:1281:23 [INFO] [stdout] 17: 0x55dcd201a4e9 - ift611_project::server::ServerBuilder::build_and_start::h645ccdc03b8b98cf [INFO] [stdout] at /opt/rustwide/workdir/src/server.rs:97:36 [INFO] [stdout] 18: 0x55dcd1fd856c - test::server_test::h52b24ec05999cfc7 [INFO] [stdout] at /opt/rustwide/workdir/tests/test.rs:10:5 [INFO] [stdout] 19: 0x55dcd1fd84ba - test::server_test::{{closure}}::h6ab2551045a66068 [INFO] [stdout] at /opt/rustwide/workdir/tests/test.rs:9:1 [INFO] [stdout] 20: 0x55dcd1fd755e - core::ops::function::FnOnce::call_once::hbbe57e269a9319b9 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55dcd200c073 - core::ops::function::FnOnce::call_once::h227fa683a5745bd3 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55dcd200c073 - test::__rust_begin_short_backtrace::h3a193bd570ada00a [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:578:5 [INFO] [stdout] 23: 0x55dcd200aae8 - as core::ops::function::FnOnce>::call_once::h262d2f411717179a [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 24: 0x55dcd200aae8 - as core::ops::function::FnOnce<()>>::call_once::hfec00caec3e52a7b [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:347:9 [INFO] [stdout] 25: 0x55dcd200aae8 - std::panicking::try::do_call::ha5f42e76ffda569d [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:401:40 [INFO] [stdout] 26: 0x55dcd200aae8 - std::panicking::try::h53f36df0935b9500 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:365:19 [INFO] [stdout] 27: 0x55dcd200aae8 - std::panic::catch_unwind::h5a497f74b0ce006f [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:434:14 [INFO] [stdout] 28: 0x55dcd200aae8 - test::run_test_in_process::hab0aead337f48a88 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:601:18 [INFO] [stdout] 29: 0x55dcd200aae8 - test::run_test::run_test_inner::{{closure}}::h632c383164d4cba2 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:493:39 [INFO] [stdout] 30: 0x55dcd1fd926d - test::run_test::run_test_inner::{{closure}}::h7c4b3612891a4b58 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:520:37 [INFO] [stdout] 31: 0x55dcd1fd926d - std::sys_common::backtrace::__rust_begin_short_backtrace::habf7d8a08419d00e [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 32: 0x55dcd1fdd998 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h3acba502e2068204 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 33: 0x55dcd1fdd998 - as core::ops::function::FnOnce<()>>::call_once::h526ef819c1964a35 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:347:9 [INFO] [stdout] 34: 0x55dcd1fdd998 - std::panicking::try::do_call::hc0b5663d6373cec8 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:401:40 [INFO] [stdout] 35: 0x55dcd1fdd998 - std::panicking::try::ha9007ede9d35dcd6 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:365:19 [INFO] [stdout] 36: 0x55dcd1fdd998 - std::panic::catch_unwind::hf60d56329ebbb81c [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:434:14 [INFO] [stdout] 37: 0x55dcd1fdd998 - std::thread::Builder::spawn_unchecked::{{closure}}::hb1722d498f4ce777 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 38: 0x55dcd1fdd998 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h15eb01325730c962 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55dcd25137f7 - as core::ops::function::FnOnce>::call_once::h09f167e08fc945ff [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x55dcd25137f7 - as core::ops::function::FnOnce>::call_once::hf814fe85eeb118e0 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 41: 0x55dcd25137f7 - std::sys::unix::thread::Thread::new::thread_start::hb71b17934c5f5e68 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys/unix/thread.rs:91:17 [INFO] [stdout] 42: 0x7fca98daa609 - start_thread [INFO] [stdout] 43: 0x7fca98b7a293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] server_test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "92070decae960d15cf301d1e5981dcf03b4dbf497e796cb7e5e4979628d96c6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92070decae960d15cf301d1e5981dcf03b4dbf497e796cb7e5e4979628d96c6f", kill_on_drop: false }` [INFO] [stdout] 92070decae960d15cf301d1e5981dcf03b4dbf497e796cb7e5e4979628d96c6f