[INFO] fetching crate tellirc 0.1.6... [INFO] checking tellirc-0.1.6 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate tellirc 0.1.6 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate tellirc 0.1.6 [INFO] finished tweaking crates.io crate tellirc 0.1.6 [INFO] tweaked toml for crates.io crate tellirc 0.1.6 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tellirc 0.1.6 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 171 packages to latest compatible versions [INFO] [stderr] Adding irc v0.13.6 (available: v1.1.0) [INFO] [stderr] Adding rusqlite v0.18.0 (available: v0.37.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d09abf613d3c79b2eb9ebf1f24d42b7a4819bd9ac77f124aded77f224b78f7d4 [INFO] running `Command { std: "docker" "start" "-a" "d09abf613d3c79b2eb9ebf1f24d42b7a4819bd9ac77f124aded77f224b78f7d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d09abf613d3c79b2eb9ebf1f24d42b7a4819bd9ac77f124aded77f224b78f7d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d09abf613d3c79b2eb9ebf1f24d42b7a4819bd9ac77f124aded77f224b78f7d4", kill_on_drop: false }` [INFO] [stdout] d09abf613d3c79b2eb9ebf1f24d42b7a4819bd9ac77f124aded77f224b78f7d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 946308122b6ce54ba3d7b041d4233ea8b8c444907b6a4484fad92c22af608803 [INFO] running `Command { std: "docker" "start" "-a" "946308122b6ce54ba3d7b041d4233ea8b8c444907b6a4484fad92c22af608803", kill_on_drop: false }` [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling libsqlite3-sys v0.14.0 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking tokio-timer v0.1.2 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking rusqlite v0.18.0 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-mockstream v1.1.0 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking openssl v0.10.73 [INFO] [stderr] Checking native-tls v0.2.14 [INFO] [stderr] Checking tokio-tls v0.2.1 [INFO] [stderr] Checking irc v0.13.6 [INFO] [stderr] Checking tellirc v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:230:45 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn make_handler_fn(dao: Dao) -> impl (FnMut(&IrcClient, Message) -> Result<(), U>) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 230 - pub fn make_handler_fn(dao: Dao) -> impl (FnMut(&IrcClient, Message) -> Result<(), U>) { [INFO] [stdout] 230 + pub fn make_handler_fn(dao: Dao) -> impl FnMut(&IrcClient, Message) -> Result<(), U> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:230:45 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn make_handler_fn(dao: Dao) -> impl (FnMut(&IrcClient, Message) -> Result<(), U>) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 230 - pub fn make_handler_fn(dao: Dao) -> impl (FnMut(&IrcClient, Message) -> Result<(), U>) { [INFO] [stdout] 230 + pub fn make_handler_fn(dao: Dao) -> impl FnMut(&IrcClient, Message) -> Result<(), U> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:68:46 [INFO] [stdout] | [INFO] [stdout] 68 | let iter = stmt.query_map(&[&who as &ToSql, &in_chan as &ToSql], |row| Ok(MessageCacheRow { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | let iter = stmt.query_map(&[&who as &dyn ToSql, &in_chan as &ToSql], |row| Ok(MessageCacheRow { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:68:66 [INFO] [stdout] | [INFO] [stdout] 68 | let iter = stmt.query_map(&[&who as &ToSql, &in_chan as &ToSql], |row| Ok(MessageCacheRow { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | let iter = stmt.query_map(&[&who as &ToSql, &in_chan as &dyn ToSql], |row| Ok(MessageCacheRow { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | &[&who as &ToSql, &what as &ToSql, chan, &from as &ToSql, &now]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | &[&who as &dyn ToSql, &what as &ToSql, chan, &from as &ToSql, &now]); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | &[&who as &ToSql, &what as &ToSql, chan, &from as &ToSql, &now]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | &[&who as &ToSql, &what as &dyn ToSql, chan, &from as &ToSql, &now]); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:100:64 [INFO] [stdout] | [INFO] [stdout] 100 | &[&who as &ToSql, &what as &ToSql, chan, &from as &ToSql, &now]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | &[&who as &ToSql, &what as &ToSql, chan, &from as &dyn ToSql, &now]); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:233:60 [INFO] [stdout] | [INFO] [stdout] 233 | let target = message.response_target().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:234:60 [INFO] [stdout] | [INFO] [stdout] 234 | let sender = message.source_nickname().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:298:60 [INFO] [stdout] | [INFO] [stdout] 298 | let target = message.response_target().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:68:46 [INFO] [stdout] | [INFO] [stdout] 68 | let iter = stmt.query_map(&[&who as &ToSql, &in_chan as &ToSql], |row| Ok(MessageCacheRow { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | let iter = stmt.query_map(&[&who as &dyn ToSql, &in_chan as &ToSql], |row| Ok(MessageCacheRow { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:68:66 [INFO] [stdout] | [INFO] [stdout] 68 | let iter = stmt.query_map(&[&who as &ToSql, &in_chan as &ToSql], |row| Ok(MessageCacheRow { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | let iter = stmt.query_map(&[&who as &ToSql, &in_chan as &dyn ToSql], |row| Ok(MessageCacheRow { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | &[&who as &ToSql, &what as &ToSql, chan, &from as &ToSql, &now]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | &[&who as &dyn ToSql, &what as &ToSql, chan, &from as &ToSql, &now]); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | &[&who as &ToSql, &what as &ToSql, chan, &from as &ToSql, &now]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | &[&who as &ToSql, &what as &dyn ToSql, chan, &from as &ToSql, &now]); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:100:64 [INFO] [stdout] | [INFO] [stdout] 100 | &[&who as &ToSql, &what as &ToSql, chan, &from as &ToSql, &now]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | &[&who as &ToSql, &what as &ToSql, chan, &from as &dyn ToSql, &now]); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:233:60 [INFO] [stdout] | [INFO] [stdout] 233 | let target = message.response_target().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:234:60 [INFO] [stdout] | [INFO] [stdout] 234 | let sender = message.source_nickname().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:298:60 [INFO] [stdout] | [INFO] [stdout] 298 | let target = message.response_target().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.07s [INFO] running `Command { std: "docker" "inspect" "946308122b6ce54ba3d7b041d4233ea8b8c444907b6a4484fad92c22af608803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "946308122b6ce54ba3d7b041d4233ea8b8c444907b6a4484fad92c22af608803", kill_on_drop: false }` [INFO] [stdout] 946308122b6ce54ba3d7b041d4233ea8b8c444907b6a4484fad92c22af608803