[INFO] cloning repository https://github.com/ultrasaurus/irc-tokio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ultrasaurus/irc-tokio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fultrasaurus%2Firc-tokio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fultrasaurus%2Firc-tokio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6fd157604121cd5627a50abc364fe3d2fe96895b [INFO] testing ultrasaurus/irc-tokio against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fultrasaurus%2Firc-tokio" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ultrasaurus/irc-tokio on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ultrasaurus/irc-tokio [INFO] finished tweaking git repo https://github.com/ultrasaurus/irc-tokio [INFO] tweaked toml for git repo https://github.com/ultrasaurus/irc-tokio written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ultrasaurus/irc-tokio already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a583715bf39d035a29ae78e9c02a38c531239662fa155d3cf440447bdb9bcd9a [INFO] running `Command { std: "docker" "start" "-a" "a583715bf39d035a29ae78e9c02a38c531239662fa155d3cf440447bdb9bcd9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a583715bf39d035a29ae78e9c02a38c531239662fa155d3cf440447bdb9bcd9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a583715bf39d035a29ae78e9c02a38c531239662fa155d3cf440447bdb9bcd9a", kill_on_drop: false }` [INFO] [stdout] a583715bf39d035a29ae78e9c02a38c531239662fa155d3cf440447bdb9bcd9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6341ef958fb8b0169f25985d18bb39081d9ce58658d2f5e5b2f2e2a7ad624a0e [INFO] running `Command { std: "docker" "start" "-a" "6341ef958fb8b0169f25985d18bb39081d9ce58658d2f5e5b2f2e2a7ad624a0e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling bytes v0.5.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.1.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.4 [INFO] [stderr] Compiling tokio v0.2.11 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling irc-tokio v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.21s [INFO] running `Command { std: "docker" "inspect" "6341ef958fb8b0169f25985d18bb39081d9ce58658d2f5e5b2f2e2a7ad624a0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6341ef958fb8b0169f25985d18bb39081d9ce58658d2f5e5b2f2e2a7ad624a0e", kill_on_drop: false }` [INFO] [stdout] 6341ef958fb8b0169f25985d18bb39081d9ce58658d2f5e5b2f2e2a7ad624a0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32f540224bf4f30a55dd966c905debabe7ba4040cf7da1244ef4b9f89c2a136d [INFO] running `Command { std: "docker" "start" "-a" "32f540224bf4f30a55dd966c905debabe7ba4040cf7da1244ef4b9f89c2a136d", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-test v0.2.0 [INFO] [stderr] Compiling irc-tokio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `irc` [INFO] [stdout] --> examples/2b-session-struct.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let irc = Session::connect(addr, &irc_user, &irc_pass).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_irc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nick` is never read [INFO] [stdout] --> examples/2b-session-struct.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Session<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 13 | nick: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/2b-session-struct.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(error_str) // not sure what's a good pattern for returning an error here [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", error_str) // not sure what's a good pattern for returning an error here [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.07s [INFO] running `Command { std: "docker" "inspect" "32f540224bf4f30a55dd966c905debabe7ba4040cf7da1244ef4b9f89c2a136d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32f540224bf4f30a55dd966c905debabe7ba4040cf7da1244ef4b9f89c2a136d", kill_on_drop: false }` [INFO] [stdout] 32f540224bf4f30a55dd966c905debabe7ba4040cf7da1244ef4b9f89c2a136d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4c71837eb76a6beae36c9836cc200c104606256bd757717dd8d000df85638e7e [INFO] running `Command { std: "docker" "start" "-a" "4c71837eb76a6beae36c9836cc200c104606256bd757717dd8d000df85638e7e", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `irc` [INFO] [stderr] --> examples/2b-session-struct.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | let irc = Session::connect(addr, &irc_user, &irc_pass).await?; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_irc` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `nick` is never read [INFO] [stderr] --> examples/2b-session-struct.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 12 | struct Session<'a> { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 13 | nick: &'a str, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> examples/2b-session-struct.rs:25:14 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(error_str) // not sure what's a good pattern for returning an error here [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", error_str) // not sure what's a good pattern for returning an error here [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `irc-tokio` (example "2b-session-struct") generated 3 warnings (run `cargo fix --example "2b-session-struct"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/irc_tokio-650d59e57b6a6229) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test message::test::test_string_too_long ... ok [INFO] [stdout] test message::test::can_create_message ... ok [INFO] [stdout] test message::test::test_missing_command ... ok [INFO] [stdout] test can_create_protocol ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/irc_tokio-87c2a54dec48b065) [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 irc_tokio [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" "4c71837eb76a6beae36c9836cc200c104606256bd757717dd8d000df85638e7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c71837eb76a6beae36c9836cc200c104606256bd757717dd8d000df85638e7e", kill_on_drop: false }` [INFO] [stdout] 4c71837eb76a6beae36c9836cc200c104606256bd757717dd8d000df85638e7e