[INFO] cloning repository https://github.com/romainbellande/rust-hyper-jsonapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/romainbellande/rust-hyper-jsonapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromainbellande%2Frust-hyper-jsonapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromainbellande%2Frust-hyper-jsonapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 610e9fa063204a3cb3c38078c6d510da82e6f168 [INFO] testing romainbellande/rust-hyper-jsonapi against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromainbellande%2Frust-hyper-jsonapi" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/romainbellande/rust-hyper-jsonapi on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/romainbellande/rust-hyper-jsonapi [INFO] finished tweaking git repo https://github.com/romainbellande/rust-hyper-jsonapi [INFO] tweaked toml for git repo https://github.com/romainbellande/rust-hyper-jsonapi written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/romainbellande/rust-hyper-jsonapi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v0.4.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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] f2e25cd94127748178675ca4288cbc85ab9cbf2698a346448a1c4cd5632e429e [INFO] running `Command { std: "docker" "start" "-a" "f2e25cd94127748178675ca4288cbc85ab9cbf2698a346448a1c4cd5632e429e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2e25cd94127748178675ca4288cbc85ab9cbf2698a346448a1c4cd5632e429e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2e25cd94127748178675ca4288cbc85ab9cbf2698a346448a1c4cd5632e429e", kill_on_drop: false }` [INFO] [stdout] f2e25cd94127748178675ca4288cbc85ab9cbf2698a346448a1c4cd5632e429e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c5bad9f412c63646a37572cadc08fafae0e59296eb15cbf43403193c499512a7 [INFO] running `Command { std: "docker" "start" "-a" "c5bad9f412c63646a37572cadc08fafae0e59296eb15cbf43403193c499512a7", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.21 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling crossbeam-utils v0.6.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling diesel v0.16.0 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Compiling r2d2 v0.8.3 [INFO] [stderr] Compiling http v0.1.13 [INFO] [stderr] Compiling crossbeam-deque v0.6.2 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.8 [INFO] [stderr] Compiling tokio-timer v0.2.7 [INFO] [stderr] Compiling tokio-current-thread v0.1.3 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.3 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling h2 v0.1.13 [INFO] [stderr] Compiling tokio v0.1.11 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling diesel_infer_schema v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling hyper v0.12.14 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling envy v0.3.3 [INFO] [stderr] Compiling diesel v1.3.3 [INFO] [stderr] Compiling japi v0.1.0 (/opt/rustwide/workdir/src/japi) [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/japi/src/controller.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/japi/src/controller.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub type BoxFuture = Box, Error=hyper::Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=hyper::Error> + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling diesel_codegen v0.16.1 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/japi/src/model.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | panic!(format!("{} is not a Value::Object", self.get_type())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 47 | panic!("{} is not a Value::Object", self.get_type()) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling r2d2-diesel v1.0.0 [INFO] [stderr] Compiling jsonapi-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/modules/hero/model.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[table_name = "heroes"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | #[derive(Serialize, Insertable, Deserialize, Debug)] [INFO] [stdout] | ---------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/modules/hero/model.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[table_name = "heroes"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | #[derive(Serialize, Deserialize, Queryable, Insertable, AsChangeset)] [INFO] [stdout] | ---------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | pub type BoxFuture = Box, Error=hyper::Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=hyper::Error> + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 2m 13s [INFO] running `Command { std: "docker" "inspect" "c5bad9f412c63646a37572cadc08fafae0e59296eb15cbf43403193c499512a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5bad9f412c63646a37572cadc08fafae0e59296eb15cbf43403193c499512a7", kill_on_drop: false }` [INFO] [stdout] c5bad9f412c63646a37572cadc08fafae0e59296eb15cbf43403193c499512a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 506d15cbbb36555dc4bf94093e2a8cdc6e4b8775e0fed32832abf5f6f09f27ef [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" "506d15cbbb36555dc4bf94093e2a8cdc6e4b8775e0fed32832abf5f6f09f27ef", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/japi/src/controller.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/japi/src/controller.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub type BoxFuture = Box, Error=hyper::Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=hyper::Error> + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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] --> src/japi/src/model.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | panic!(format!("{} is not a Value::Object", self.get_type())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 47 | panic!("{} is not a Value::Object", self.get_type()) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jsonapi-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/modules/hero/model.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[table_name = "heroes"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | #[derive(Serialize, Insertable, Deserialize, Debug)] [INFO] [stdout] | ---------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/modules/hero/model.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[table_name = "heroes"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | #[derive(Serialize, Deserialize, Queryable, Insertable, AsChangeset)] [INFO] [stdout] | ---------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | pub type BoxFuture = Box, Error=hyper::Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=hyper::Error> + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 test [unoptimized + debuginfo] target(s) in 1.82s [INFO] running `Command { std: "docker" "inspect" "506d15cbbb36555dc4bf94093e2a8cdc6e4b8775e0fed32832abf5f6f09f27ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "506d15cbbb36555dc4bf94093e2a8cdc6e4b8775e0fed32832abf5f6f09f27ef", kill_on_drop: false }` [INFO] [stdout] 506d15cbbb36555dc4bf94093e2a8cdc6e4b8775e0fed32832abf5f6f09f27ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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] 2e7b3582e6b8df45acb26632cbd2f1df875b2d3b811b197bf9265d4fae9fcc09 [INFO] running `Command { std: "docker" "start" "-a" "2e7b3582e6b8df45acb26632cbd2f1df875b2d3b811b197bf9265d4fae9fcc09", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `url::Url` [INFO] [stderr] --> src/japi/src/controller.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use url::Url; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/japi/src/controller.rs:9:26 [INFO] [stderr] | [INFO] [stderr] 9 | pub type BoxFuture = Box, Error=hyper::Error> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=hyper::Error> + Send` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/japi/src/model.rs:47:20 [INFO] [stderr] | [INFO] [stderr] 47 | panic!(format!("{} is not a Value::Object", self.get_type())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 47 | panic!("{} is not a Value::Object", self.get_type()) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/modules/hero/model.rs:10:3 [INFO] [stderr] | [INFO] [stderr] 10 | #[table_name = "heroes"] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 11 | #[derive(Serialize, Insertable, Deserialize, Debug)] [INFO] [stderr] | ---------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/modules/hero/model.rs:17:3 [INFO] [stderr] | [INFO] [stderr] 17 | #[table_name = "heroes"] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 18 | #[derive(Serialize, Deserialize, Queryable, Insertable, AsChangeset)] [INFO] [stderr] | ---------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/helpers.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | pub type BoxFuture = Box, Error=hyper::Error> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=hyper::Error> + Send` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/jsonapi_rust-5712c1735fb11a7a) [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] running `Command { std: "docker" "inspect" "2e7b3582e6b8df45acb26632cbd2f1df875b2d3b811b197bf9265d4fae9fcc09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e7b3582e6b8df45acb26632cbd2f1df875b2d3b811b197bf9265d4fae9fcc09", kill_on_drop: false }` [INFO] [stdout] 2e7b3582e6b8df45acb26632cbd2f1df875b2d3b811b197bf9265d4fae9fcc09