[INFO] cloning repository https://github.com/Kingsquee/irk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kingsquee/irk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingsquee%2Firk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingsquee%2Firk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 672d073e5837462881990234e123ca73a3e00642 [INFO] checking Kingsquee/irk against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingsquee%2Firk" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kingsquee/irk on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kingsquee/irk [INFO] finished tweaking git repo https://github.com/Kingsquee/irk [INFO] tweaked toml for git repo https://github.com/Kingsquee/irk written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Kingsquee/irk already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--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 irc v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f776e8f97fdadd1c0d3877ba5ec4a8b30e12d36cfd5f0494c30e27a078634e1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1f776e8f97fdadd1c0d3877ba5ec4a8b30e12d36cfd5f0494c30e27a078634e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f776e8f97fdadd1c0d3877ba5ec4a8b30e12d36cfd5f0494c30e27a078634e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f776e8f97fdadd1c0d3877ba5ec4a8b30e12d36cfd5f0494c30e27a078634e1", kill_on_drop: false }` [INFO] [stdout] 1f776e8f97fdadd1c0d3877ba5ec4a8b30e12d36cfd5f0494c30e27a078634e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e60daeb7d0339eb4a5bc016547b105ac20d41ced777c10b5d4f7623389801b7c [INFO] running `Command { std: "docker" "start" "-a" "e60daeb7d0339eb4a5bc016547b105ac20d41ced777c10b5d4f7623389801b7c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking pin-project-lite v0.1.10 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking futures-channel v0.3.6 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking futures-task v0.3.6 [INFO] [stderr] Checking instant v0.1.7 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling pin-project-internal v0.4.26 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking thiserror v1.0.21 [INFO] [stderr] Checking pin-project v0.4.26 [INFO] [stderr] Checking futures-util v0.3.6 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking irc-proto v0.14.0 [INFO] [stderr] Checking serde v1.0.116 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking irc v0.14.1 [INFO] [stderr] Checking irk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IrcServer` [INFO] [stdout] --> src/main.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | let server = IrcServer::from_config(config).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `IrcServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | 'user_root_iter: for user in users.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IrcServer` [INFO] [stdout] --> src/main.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | let server = IrcServer::from_config(config).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `IrcServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | 'user_root_iter: for user in users.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | channels: Some(vec![channel_name.clone()]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Vec`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `irc::client::data::Config` has no field named `use_ssl` [INFO] [stdout] --> src/main.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use_ssl: Some(true), [INFO] [stdout] | ^^^^^^^ `irc::client::data::Config` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `owners`, `nickname`, `nick_password`, `alt_nicks`, `username` ... and 25 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/main.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | *token = token.trim_right_matches("\'s"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_name` found for reference `&User` in the current scope [INFO] [stdout] --> src/main.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | if name == user.get_name() { [INFO] [stdout] | ^^^^^^^^ method not found in `&User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_name` found for reference `&User` in the current scope [INFO] [stdout] --> src/main.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | let username = user.get_name(); [INFO] [stdout] | ^^^^^^^^ method not found in `&User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/main.rs:330:53 [INFO] [stdout] | [INFO] [stdout] 330 | } else if let Some(i) = items.get(item_name.trim_right_matches("s")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/main.rs:339:67 [INFO] [stdout] | [INFO] [stdout] 339 | } else if let Some(c) = character.inventory.get(item_name.trim_right_matches("s")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 350 | return look_at_inventory_item(&item, *item_count, subject) [INFO] [stdout] | ---------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 371 | return format!("W-what?"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `irk` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | channels: Some(vec![channel_name.clone()]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Vec`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `irc::client::data::Config` has no field named `use_ssl` [INFO] [stdout] --> src/main.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use_ssl: Some(true), [INFO] [stdout] | ^^^^^^^ `irc::client::data::Config` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `owners`, `nickname`, `nick_password`, `alt_nicks`, `username` ... and 25 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/main.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | *token = token.trim_right_matches("\'s"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_name` found for reference `&User` in the current scope [INFO] [stdout] --> src/main.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | if name == user.get_name() { [INFO] [stdout] | ^^^^^^^^ method not found in `&User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_name` found for reference `&User` in the current scope [INFO] [stdout] --> src/main.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | let username = user.get_name(); [INFO] [stdout] | ^^^^^^^^ method not found in `&User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/main.rs:330:53 [INFO] [stdout] | [INFO] [stdout] 330 | } else if let Some(i) = items.get(item_name.trim_right_matches("s")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/main.rs:339:67 [INFO] [stdout] | [INFO] [stdout] 339 | } else if let Some(c) = character.inventory.get(item_name.trim_right_matches("s")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 350 | return look_at_inventory_item(&item, *item_count, subject) [INFO] [stdout] | ---------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 371 | return format!("W-what?"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e60daeb7d0339eb4a5bc016547b105ac20d41ced777c10b5d4f7623389801b7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e60daeb7d0339eb4a5bc016547b105ac20d41ced777c10b5d4f7623389801b7c", kill_on_drop: false }` [INFO] [stdout] e60daeb7d0339eb4a5bc016547b105ac20d41ced777c10b5d4f7623389801b7c