[INFO] fetching crate ferry 0.0.2... [INFO] testing ferry-0.0.2 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate ferry 0.0.2 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate ferry 0.0.2 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ferry 0.0.2 [INFO] finished tweaking crates.io crate ferry 0.0.2 [INFO] tweaked toml for crates.io crate ferry 0.0.2 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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] 152b88c2486f6517cef77f489d29dfe333ede6a24f7b47c548e66ceb3e4f4dac [INFO] running `Command { std: "docker" "start" "-a" "152b88c2486f6517cef77f489d29dfe333ede6a24f7b47c548e66ceb3e4f4dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "152b88c2486f6517cef77f489d29dfe333ede6a24f7b47c548e66ceb3e4f4dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "152b88c2486f6517cef77f489d29dfe333ede6a24f7b47c548e66ceb3e4f4dac", kill_on_drop: false }` [INFO] [stdout] 152b88c2486f6517cef77f489d29dfe333ede6a24f7b47c548e66ceb3e4f4dac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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] c6e344e10757e9c88c068dd54e151bebf4fc11843b6eec83c2919436607915ba [INFO] running `Command { std: "docker" "start" "-a" "c6e344e10757e9c88c068dd54e151bebf4fc11843b6eec83c2919436607915ba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling curl v0.4.40 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling curl-sys v0.4.50+curl-7.79.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling oauth2 v1.3.0 [INFO] [stderr] Compiling ferry v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:9:58 [INFO] [stdout] | [INFO] [stdout] 9 | fn begin_auth(&self, state: &'static str) -> Result, Error>; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Session` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/provider.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | fn unmarshal_session(&self, &'static str) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:10:58 [INFO] [stdout] | [INFO] [stdout] 10 | fn unmarshal_session(&self, &'static str) -> Result, Error>; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Session` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/provider.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | fn fetch_user(&self, &Session) -> Result; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Session` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | fn fetch_user(&self, &Session) -> Result; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Session` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/provider.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | fn refresh_token(&self, &'static str) -> Result<&'static Token, Error>; //Get new access token based on the refresh token [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/session.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | fn get(&self, &'static str) -> &'static str; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/session.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn authorize(&self, &Provider, &Params) -> Result; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Provider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/session.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | fn authorize(&self, &Provider, &Params) -> Result; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Params` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/session.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | fn authorize(&self, &Provider, &Params) -> Result; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Provider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/session.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | fn authorize(&self, &Provider, &Params) -> Result; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Params` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub providers: Vec<&'static provider::Provider>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn provider::Provider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(providers: Vec<&'static provider::Provider>) -> Ferry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn provider::Provider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 54.74s [INFO] running `Command { std: "docker" "inspect" "c6e344e10757e9c88c068dd54e151bebf4fc11843b6eec83c2919436607915ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6e344e10757e9c88c068dd54e151bebf4fc11843b6eec83c2919436607915ba", kill_on_drop: false }` [INFO] [stdout] c6e344e10757e9c88c068dd54e151bebf4fc11843b6eec83c2919436607915ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--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] 34a5963d458b1d826faa63884966206b8e7b03e4ed929c39045e5d9f38a9bfdb [INFO] running `Command { std: "docker" "start" "-a" "34a5963d458b1d826faa63884966206b8e7b03e4ed929c39045e5d9f38a9bfdb", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:9:58 [INFO] [stdout] | [INFO] [stdout] 9 | fn begin_auth(&self, state: &'static str) -> Result, Error>; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Session` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ferry v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/provider.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | fn unmarshal_session(&self, &'static str) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:10:58 [INFO] [stdout] | [INFO] [stdout] 10 | fn unmarshal_session(&self, &'static str) -> Result, Error>; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Session` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/provider.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | fn fetch_user(&self, &Session) -> Result; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Session` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | fn fetch_user(&self, &Session) -> Result; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Session` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/provider.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | fn refresh_token(&self, &'static str) -> Result<&'static Token, Error>; //Get new access token based on the refresh token [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/session.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | fn get(&self, &'static str) -> &'static str; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/session.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn authorize(&self, &Provider, &Params) -> Result; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Provider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/session.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | fn authorize(&self, &Provider, &Params) -> Result; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Params` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/session.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | fn authorize(&self, &Provider, &Params) -> Result; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Provider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/session.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | fn authorize(&self, &Provider, &Params) -> Result; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Params` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub providers: Vec<&'static provider::Provider>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn provider::Provider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(providers: Vec<&'static provider::Provider>) -> Ferry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn provider::Provider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:9:58 [INFO] [stdout] | [INFO] [stdout] 9 | fn begin_auth(&self, state: &'static str) -> Result, Error>; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Session` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/provider.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | fn unmarshal_session(&self, &'static str) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:10:58 [INFO] [stdout] | [INFO] [stdout] 10 | fn unmarshal_session(&self, &'static str) -> Result, Error>; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Session` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/provider.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | fn fetch_user(&self, &Session) -> Result; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Session` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | fn fetch_user(&self, &Session) -> Result; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Session` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/provider.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | fn refresh_token(&self, &'static str) -> Result<&'static Token, Error>; //Get new access token based on the refresh token [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/session.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | fn get(&self, &'static str) -> &'static str; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/session.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn authorize(&self, &Provider, &Params) -> Result; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Provider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/session.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | fn authorize(&self, &Provider, &Params) -> Result; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Params` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/session.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | fn authorize(&self, &Provider, &Params) -> Result; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Provider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/session.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | fn authorize(&self, &Provider, &Params) -> Result; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Params` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub providers: Vec<&'static provider::Provider>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn provider::Provider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(providers: Vec<&'static provider::Provider>) -> Ferry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn provider::Provider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "34a5963d458b1d826faa63884966206b8e7b03e4ed929c39045e5d9f38a9bfdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34a5963d458b1d826faa63884966206b8e7b03e4ed929c39045e5d9f38a9bfdb", kill_on_drop: false }` [INFO] [stdout] 34a5963d458b1d826faa63884966206b8e7b03e4ed929c39045e5d9f38a9bfdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b407ecba2849128d0273ea407e8ad78602228d34f12988e8d6463a2a7eb12240 [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" "b407ecba2849128d0273ea407e8ad78602228d34f12988e8d6463a2a7eb12240", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/provider.rs:9:58 [INFO] [stderr] | [INFO] [stderr] 9 | fn begin_auth(&self, state: &'static str) -> Result, Error>; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Session` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/provider.rs:10:30 [INFO] [stderr] | [INFO] [stderr] 10 | fn unmarshal_session(&self, &'static str) -> Result, Error>; [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/provider.rs:10:58 [INFO] [stderr] | [INFO] [stderr] 10 | fn unmarshal_session(&self, &'static str) -> Result, Error>; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Session` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/provider.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | fn fetch_user(&self, &Session) -> Result; [INFO] [stderr] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Session` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/provider.rs:11:24 [INFO] [stderr] | [INFO] [stderr] 11 | fn fetch_user(&self, &Session) -> Result; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Session` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/provider.rs:12:26 [INFO] [stderr] | [INFO] [stderr] 12 | fn refresh_token(&self, &'static str) -> Result<&'static Token, Error>; //Get new access token based on the refresh token [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/session.rs:7:19 [INFO] [stderr] | [INFO] [stderr] 7 | fn get(&self, &'static str) -> &'static str; [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/session.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | fn authorize(&self, &Provider, &Params) -> Result; [INFO] [stderr] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Provider` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/session.rs:21:36 [INFO] [stderr] | [INFO] [stderr] 21 | fn authorize(&self, &Provider, &Params) -> Result; [INFO] [stderr] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Params` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/session.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | fn authorize(&self, &Provider, &Params) -> Result; [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Provider` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/session.rs:21:37 [INFO] [stderr] | [INFO] [stderr] 21 | fn authorize(&self, &Provider, &Params) -> Result; [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Params` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:18:33 [INFO] [stderr] | [INFO] [stderr] 18 | pub providers: Vec<&'static provider::Provider>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn provider::Provider` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:22:40 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn new(providers: Vec<&'static provider::Provider>) -> Ferry { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn provider::Provider` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `ferry` (lib) generated 13 warnings [INFO] [stderr] warning: `ferry` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ferry-3fb1b4601d2aaf10) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests ferry [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 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] running `Command { std: "docker" "inspect" "b407ecba2849128d0273ea407e8ad78602228d34f12988e8d6463a2a7eb12240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b407ecba2849128d0273ea407e8ad78602228d34f12988e8d6463a2a7eb12240", kill_on_drop: false }` [INFO] [stdout] b407ecba2849128d0273ea407e8ad78602228d34f12988e8d6463a2a7eb12240