[INFO] cloning repository https://github.com/rightfold/typefunnel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rightfold/typefunnel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frightfold%2Ftypefunnel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frightfold%2Ftypefunnel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1bd1b6dcf4babd6c8efb1cc66e47d4b27a7c3ee8 [INFO] testing rightfold/typefunnel against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frightfold%2Ftypefunnel" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rightfold/typefunnel on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rightfold/typefunnel [INFO] finished tweaking git repo https://github.com/rightfold/typefunnel [INFO] tweaked toml for git repo https://github.com/rightfold/typefunnel written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate git repo https://github.com/rightfold/typefunnel already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded md5 v0.3.4 [INFO] [stderr] Downloaded postgres v0.14.0 [INFO] [stderr] Downloaded postgres-shared v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 170f72d1e0eba44c97b826df8252c8697b5b832680893ad02bd2e00e3f78801d [INFO] running `Command { std: "docker" "start" "-a" "170f72d1e0eba44c97b826df8252c8697b5b832680893ad02bd2e00e3f78801d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "170f72d1e0eba44c97b826df8252c8697b5b832680893ad02bd2e00e3f78801d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "170f72d1e0eba44c97b826df8252c8697b5b832680893ad02bd2e00e3f78801d", kill_on_drop: false }` [INFO] [stdout] 170f72d1e0eba44c97b826df8252c8697b5b832680893ad02bd2e00e3f78801d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4a294798243f4a7cffd293dfddf18eca4bede19d86d2e0948c26f0d18e0f05c [INFO] running `Command { std: "docker" "start" "-a" "b4a294798243f4a7cffd293dfddf18eca4bede19d86d2e0948c26f0d18e0f05c", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling fallible-iterator v0.1.3 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling md5 v0.3.4 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Compiling bufstream v0.1.2 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling postgres-protocol v0.2.1 [INFO] [stderr] Compiling postgres-shared v0.2.0 [INFO] [stderr] Compiling postgres v0.14.0 [INFO] [stderr] Compiling typefunnel v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/source/call.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | fn ecmascript_call(&self, &mut io::Write) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut io::Write` [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/source/call.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | pub calls: HashMap, [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub calls: HashMap, [INFO] [stdout] 29 + pub calls: HashMap, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source/call.rs:29:50 [INFO] [stdout] | [INFO] [stdout] 29 | pub calls: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub calls: HashMap, [INFO] [stdout] 29 + pub calls: HashMap, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constant.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | fn ecmascript_expression(write: &mut io::Write, constant: &Constant) [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 - fn ecmascript_expression(write: &mut io::Write, constant: &Constant) [INFO] [stdout] 55 + fn ecmascript_expression(write: &mut dyn io::Write, constant: &Constant) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constant.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] 27 + fn ecmascript_call(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/postgresql.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] 67 + fn ecmascript_call(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web_service.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] 22 + fn ecmascript_call(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialization.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn serialize(write: &mut io::Write, _: &Schema) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn serialize(write: &mut io::Write, _: &Schema) -> io::Result<()> { [INFO] [stdout] 11 + pub fn serialize(write: &mut dyn io::Write, _: &Schema) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialization.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn deserialize(write: &mut io::Write, _: &Schema) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - pub fn deserialize(write: &mut io::Write, _: &Schema) -> io::Result<()> { [INFO] [stdout] 20 + pub fn deserialize(write: &mut dyn io::Write, _: &Schema) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source/call.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn purescript_type(write: &mut io::Write, schema: &Schema) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - fn purescript_type(write: &mut io::Write, schema: &Schema) -> io::Result<()> { [INFO] [stdout] 58 + fn purescript_type(write: &mut dyn io::Write, schema: &Schema) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source/call.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | fn ecmascript_call(&self, &mut io::Write) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - fn ecmascript_call(&self, &mut io::Write) -> io::Result<()>; [INFO] [stdout] 13 + fn ecmascript_call(&self, &mut dyn io::Write) -> io::Result<()>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source/call.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn ecmascript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - pub fn ecmascript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] 33 + pub fn ecmascript(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source/call.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn purescript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - pub fn purescript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] 42 + pub fn purescript(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web_service.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | where F: FnOnce(&mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 - where F: FnOnce(&mut io::Write) -> io::Result<()> { [INFO] [stdout] 62 + where F: FnOnce(&mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web_service.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn serve(write: &mut io::Write, f: F) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - pub fn serve(write: &mut io::Write, f: F) -> io::Result<()> [INFO] [stdout] 61 + pub fn serve(write: &mut dyn io::Write, f: F) -> io::Result<()> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web_service.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | write: &mut io::Write, [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - write: &mut io::Write, [INFO] [stdout] 74 + write: &mut dyn io::Write, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web_service.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | fn continuation(write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 - fn continuation(write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] 116 + fn continuation(write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/source/call.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ECMAScriptModule<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/source/call.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | pub calls: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/source/call.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn ecmascript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/source/call.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn purescript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/web_service.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct WebService<'a, Source> where Source: 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/web_service.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/web_service.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | pub source: &'a Source, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/source/call.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | purescript_type(write, element); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/example.rs:57:55 [INFO] [stdout] | [INFO] [stdout] 57 | calls.insert("remote".to_string(), (service as &HasSchema, service as &ECMAScript)); [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - calls.insert("remote".to_string(), (service as &HasSchema, service as &ECMAScript)); [INFO] [stdout] 57 + calls.insert("remote".to_string(), (service as &dyn HasSchema, service as &ECMAScript)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/example.rs:57:78 [INFO] [stdout] | [INFO] [stdout] 57 | calls.insert("remote".to_string(), (service as &HasSchema, service as &ECMAScript)); [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - calls.insert("remote".to_string(), (service as &HasSchema, service as &ECMAScript)); [INFO] [stdout] 57 + calls.insert("remote".to_string(), (service as &HasSchema, service as &dyn ECMAScript)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.27s [INFO] running `Command { std: "docker" "inspect" "b4a294798243f4a7cffd293dfddf18eca4bede19d86d2e0948c26f0d18e0f05c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4a294798243f4a7cffd293dfddf18eca4bede19d86d2e0948c26f0d18e0f05c", kill_on_drop: false }` [INFO] [stdout] b4a294798243f4a7cffd293dfddf18eca4bede19d86d2e0948c26f0d18e0f05c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ccc1cd0b6890d6b24c2d7c83b38f325f34fbe8d83a233a42156436985e5ba12 [INFO] running `Command { std: "docker" "start" "-a" "8ccc1cd0b6890d6b24c2d7c83b38f325f34fbe8d83a233a42156436985e5ba12", kill_on_drop: false }` [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/source/call.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | fn ecmascript_call(&self, &mut io::Write) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut io::Write` [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/source/call.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | pub calls: HashMap, [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub calls: HashMap, [INFO] [stdout] 29 + pub calls: HashMap, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source/call.rs:29:50 [INFO] [stdout] | [INFO] [stdout] 29 | pub calls: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub calls: HashMap, [INFO] [stdout] 29 + pub calls: HashMap, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constant.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | fn ecmascript_expression(write: &mut io::Write, constant: &Constant) [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 - fn ecmascript_expression(write: &mut io::Write, constant: &Constant) [INFO] [stdout] 55 + fn ecmascript_expression(write: &mut dyn io::Write, constant: &Constant) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constant.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] 27 + fn ecmascript_call(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/postgresql.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] 67 + fn ecmascript_call(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web_service.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] 22 + fn ecmascript_call(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialization.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn serialize(write: &mut io::Write, _: &Schema) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn serialize(write: &mut io::Write, _: &Schema) -> io::Result<()> { [INFO] [stdout] 11 + pub fn serialize(write: &mut dyn io::Write, _: &Schema) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling typefunnel v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialization.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn deserialize(write: &mut io::Write, _: &Schema) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - pub fn deserialize(write: &mut io::Write, _: &Schema) -> io::Result<()> { [INFO] [stdout] 20 + pub fn deserialize(write: &mut dyn io::Write, _: &Schema) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source/call.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn purescript_type(write: &mut io::Write, schema: &Schema) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - fn purescript_type(write: &mut io::Write, schema: &Schema) -> io::Result<()> { [INFO] [stdout] 58 + fn purescript_type(write: &mut dyn io::Write, schema: &Schema) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source/call.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | fn ecmascript_call(&self, &mut io::Write) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - fn ecmascript_call(&self, &mut io::Write) -> io::Result<()>; [INFO] [stdout] 13 + fn ecmascript_call(&self, &mut dyn io::Write) -> io::Result<()>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source/call.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn ecmascript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - pub fn ecmascript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] 33 + pub fn ecmascript(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source/call.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn purescript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - pub fn purescript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] 42 + pub fn purescript(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web_service.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | where F: FnOnce(&mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 - where F: FnOnce(&mut io::Write) -> io::Result<()> { [INFO] [stdout] 62 + where F: FnOnce(&mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web_service.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn serve(write: &mut io::Write, f: F) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - pub fn serve(write: &mut io::Write, f: F) -> io::Result<()> [INFO] [stdout] 61 + pub fn serve(write: &mut dyn io::Write, f: F) -> io::Result<()> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web_service.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | write: &mut io::Write, [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - write: &mut io::Write, [INFO] [stdout] 74 + write: &mut dyn io::Write, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web_service.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | fn continuation(write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 - fn continuation(write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] 116 + fn continuation(write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/source/call.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ECMAScriptModule<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/source/call.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | pub calls: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/source/call.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn ecmascript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/source/call.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn purescript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/web_service.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct WebService<'a, Source> where Source: 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/web_service.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/web_service.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | pub source: &'a Source, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/source/call.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | purescript_type(write, element); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/source/call.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | fn ecmascript_call(&self, &mut io::Write) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut io::Write` [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/source/call.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | pub calls: HashMap, [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub calls: HashMap, [INFO] [stdout] 29 + pub calls: HashMap, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source/call.rs:29:50 [INFO] [stdout] | [INFO] [stdout] 29 | pub calls: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub calls: HashMap, [INFO] [stdout] 29 + pub calls: HashMap, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constant.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | fn ecmascript_expression(write: &mut io::Write, constant: &Constant) [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 - fn ecmascript_expression(write: &mut io::Write, constant: &Constant) [INFO] [stdout] 55 + fn ecmascript_expression(write: &mut dyn io::Write, constant: &Constant) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constant.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] 27 + fn ecmascript_call(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/postgresql.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] 67 + fn ecmascript_call(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web_service.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] 22 + fn ecmascript_call(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialization.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn serialize(write: &mut io::Write, _: &Schema) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn serialize(write: &mut io::Write, _: &Schema) -> io::Result<()> { [INFO] [stdout] 11 + pub fn serialize(write: &mut dyn io::Write, _: &Schema) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialization.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn deserialize(write: &mut io::Write, _: &Schema) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - pub fn deserialize(write: &mut io::Write, _: &Schema) -> io::Result<()> { [INFO] [stdout] 20 + pub fn deserialize(write: &mut dyn io::Write, _: &Schema) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source/call.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn purescript_type(write: &mut io::Write, schema: &Schema) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - fn purescript_type(write: &mut io::Write, schema: &Schema) -> io::Result<()> { [INFO] [stdout] 58 + fn purescript_type(write: &mut dyn io::Write, schema: &Schema) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source/call.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | fn ecmascript_call(&self, &mut io::Write) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - fn ecmascript_call(&self, &mut io::Write) -> io::Result<()>; [INFO] [stdout] 13 + fn ecmascript_call(&self, &mut dyn io::Write) -> io::Result<()>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source/call.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn ecmascript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - pub fn ecmascript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] 33 + pub fn ecmascript(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source/call.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn purescript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - pub fn purescript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] 42 + pub fn purescript(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web_service.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | where F: FnOnce(&mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 - where F: FnOnce(&mut io::Write) -> io::Result<()> { [INFO] [stdout] 62 + where F: FnOnce(&mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web_service.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn serve(write: &mut io::Write, f: F) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - pub fn serve(write: &mut io::Write, f: F) -> io::Result<()> [INFO] [stdout] 61 + pub fn serve(write: &mut dyn io::Write, f: F) -> io::Result<()> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web_service.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | write: &mut io::Write, [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - write: &mut io::Write, [INFO] [stdout] 74 + write: &mut dyn io::Write, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/web_service.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | fn continuation(write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 - fn continuation(write: &mut io::Write) -> io::Result<()> { [INFO] [stdout] 116 + fn continuation(write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/example.rs:57:55 [INFO] [stdout] | [INFO] [stdout] 57 | calls.insert("remote".to_string(), (service as &HasSchema, service as &ECMAScript)); [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - calls.insert("remote".to_string(), (service as &HasSchema, service as &ECMAScript)); [INFO] [stdout] 57 + calls.insert("remote".to_string(), (service as &dyn HasSchema, service as &ECMAScript)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/example.rs:57:78 [INFO] [stdout] | [INFO] [stdout] 57 | calls.insert("remote".to_string(), (service as &HasSchema, service as &ECMAScript)); [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - calls.insert("remote".to_string(), (service as &HasSchema, service as &ECMAScript)); [INFO] [stdout] 57 + calls.insert("remote".to_string(), (service as &HasSchema, service as &dyn ECMAScript)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/postgresql.rs:167:50 [INFO] [stdout] | [INFO] [stdout] 167 | let schema = source.schema().map_err(|e| e.description().to_string()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/postgresql.rs:181:50 [INFO] [stdout] | [INFO] [stdout] 181 | let schema = source.schema().map_err(|e| e.description().to_string()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/source/call.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | purescript_type(write, element); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "8ccc1cd0b6890d6b24c2d7c83b38f325f34fbe8d83a233a42156436985e5ba12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ccc1cd0b6890d6b24c2d7c83b38f325f34fbe8d83a233a42156436985e5ba12", kill_on_drop: false }` [INFO] [stdout] 8ccc1cd0b6890d6b24c2d7c83b38f325f34fbe8d83a233a42156436985e5ba12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5e70d405900af0fc56c756858665ed17042614fae5faf72960e5410d8f23a55c [INFO] running `Command { std: "docker" "start" "-a" "5e70d405900af0fc56c756858665ed17042614fae5faf72960e5410d8f23a55c", kill_on_drop: false }` [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/source/call.rs:13:29 [INFO] [stderr] | [INFO] [stderr] 13 | fn ecmascript_call(&self, &mut io::Write) -> io::Result<()>; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut io::Write` [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/source/call.rs:29:35 [INFO] [stderr] | [INFO] [stderr] 29 | pub calls: HashMap, [INFO] [stderr] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 29 - pub calls: HashMap, [INFO] [stderr] 29 + pub calls: HashMap, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/source/call.rs:29:50 [INFO] [stderr] | [INFO] [stderr] 29 | pub calls: HashMap, [INFO] [stderr] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 29 - pub calls: HashMap, [INFO] [stderr] 29 + pub calls: HashMap, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/constant.rs:55:38 [INFO] [stderr] | [INFO] [stderr] 55 | fn ecmascript_expression(write: &mut io::Write, constant: &Constant) [INFO] [stderr] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 55 - fn ecmascript_expression(write: &mut io::Write, constant: &Constant) [INFO] [stderr] 55 + fn ecmascript_expression(write: &mut dyn io::Write, constant: &Constant) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/constant.rs:27:41 [INFO] [stderr] | [INFO] [stderr] 27 | fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 27 - fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stderr] 27 + fn ecmascript_call(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/postgresql.rs:67:41 [INFO] [stderr] | [INFO] [stderr] 67 | fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 67 - fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stderr] 67 + fn ecmascript_call(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/web_service.rs:22:41 [INFO] [stderr] | [INFO] [stderr] 22 | fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 22 - fn ecmascript_call(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stderr] 22 + fn ecmascript_call(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/serialization.rs:11:32 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn serialize(write: &mut io::Write, _: &Schema) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 11 - pub fn serialize(write: &mut io::Write, _: &Schema) -> io::Result<()> { [INFO] [stderr] 11 + pub fn serialize(write: &mut dyn io::Write, _: &Schema) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/serialization.rs:20:34 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn deserialize(write: &mut io::Write, _: &Schema) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 20 - pub fn deserialize(write: &mut io::Write, _: &Schema) -> io::Result<()> { [INFO] [stderr] 20 + pub fn deserialize(write: &mut dyn io::Write, _: &Schema) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/source/call.rs:58:32 [INFO] [stderr] | [INFO] [stderr] 58 | fn purescript_type(write: &mut io::Write, schema: &Schema) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 58 - fn purescript_type(write: &mut io::Write, schema: &Schema) -> io::Result<()> { [INFO] [stderr] 58 + fn purescript_type(write: &mut dyn io::Write, schema: &Schema) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/source/call.rs:13:34 [INFO] [stderr] | [INFO] [stderr] 13 | fn ecmascript_call(&self, &mut io::Write) -> io::Result<()>; [INFO] [stderr] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 13 - fn ecmascript_call(&self, &mut io::Write) -> io::Result<()>; [INFO] [stderr] 13 + fn ecmascript_call(&self, &mut dyn io::Write) -> io::Result<()>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/source/call.rs:33:40 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn ecmascript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 33 - pub fn ecmascript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stderr] 33 + pub fn ecmascript(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/source/call.rs:42:40 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn purescript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 42 - pub fn purescript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stderr] 42 + pub fn purescript(&self, write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/web_service.rs:62:26 [INFO] [stderr] | [INFO] [stderr] 62 | where F: FnOnce(&mut io::Write) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 62 - where F: FnOnce(&mut io::Write) -> io::Result<()> { [INFO] [stderr] 62 + where F: FnOnce(&mut dyn io::Write) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/web_service.rs:61:31 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn serve(write: &mut io::Write, f: F) -> io::Result<()> [INFO] [stderr] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 61 - pub fn serve(write: &mut io::Write, f: F) -> io::Result<()> [INFO] [stderr] 61 + pub fn serve(write: &mut dyn io::Write, f: F) -> io::Result<()> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/web_service.rs:74:17 [INFO] [stderr] | [INFO] [stderr] 74 | write: &mut io::Write, [INFO] [stderr] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 74 - write: &mut io::Write, [INFO] [stderr] 74 + write: &mut dyn io::Write, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/web_service.rs:116:31 [INFO] [stderr] | [INFO] [stderr] 116 | fn continuation(write: &mut io::Write) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 116 - fn continuation(write: &mut io::Write) -> io::Result<()> { [INFO] [stderr] 116 + fn continuation(write: &mut dyn io::Write) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct [INFO] [stderr] --> src/source/call.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct ECMAScriptModule<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![warn(missing_docs)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct field [INFO] [stderr] --> src/source/call.rs:29:3 [INFO] [stderr] | [INFO] [stderr] 29 | pub calls: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for an associated function [INFO] [stderr] --> src/source/call.rs:33:3 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn ecmascript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for an associated function [INFO] [stderr] --> src/source/call.rs:42:3 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn purescript(&self, write: &mut io::Write) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct [INFO] [stderr] --> src/web_service.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct WebService<'a, Source> where Source: 'a { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct field [INFO] [stderr] --> src/web_service.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | pub name: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct field [INFO] [stderr] --> src/web_service.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | pub source: &'a Source, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/source/call.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | purescript_type(write, element); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/postgresql.rs:167:50 [INFO] [stderr] | [INFO] [stderr] 167 | let schema = source.schema().map_err(|e| e.description().to_string()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/postgresql.rs:181:50 [INFO] [stderr] | [INFO] [stderr] 181 | let schema = source.schema().map_err(|e| e.description().to_string()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `typefunnel` (lib) generated 25 warnings [INFO] [stderr] warning: `typefunnel` (lib test) generated 20 warnings (18 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/example.rs:57:55 [INFO] [stderr] | [INFO] [stderr] 57 | calls.insert("remote".to_string(), (service as &HasSchema, service as &ECMAScript)); [INFO] [stderr] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 57 - calls.insert("remote".to_string(), (service as &HasSchema, service as &ECMAScript)); [INFO] [stderr] 57 + calls.insert("remote".to_string(), (service as &dyn HasSchema, service as &ECMAScript)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/example.rs:57:78 [INFO] [stderr] | [INFO] [stderr] 57 | calls.insert("remote".to_string(), (service as &HasSchema, service as &ECMAScript)); [INFO] [stderr] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 57 - calls.insert("remote".to_string(), (service as &HasSchema, service as &ECMAScript)); [INFO] [stderr] 57 + calls.insert("remote".to_string(), (service as &HasSchema, service as &dyn ECMAScript)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `typefunnel` (bin "example" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/typefunnel-23c9ce5a4f026deb) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test postgresql::test::test_row_text ... ok [INFO] [stdout] test postgresql::test::test_scalar_text ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 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/example-838400ee252ed1ef) [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] Doc-tests typefunnel [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/edit_warning.rs - edit_warning::edit_warning (line 10) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5e70d405900af0fc56c756858665ed17042614fae5faf72960e5410d8f23a55c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e70d405900af0fc56c756858665ed17042614fae5faf72960e5410d8f23a55c", kill_on_drop: false }` [INFO] [stdout] 5e70d405900af0fc56c756858665ed17042614fae5faf72960e5410d8f23a55c