[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingsquee%2Firk" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kingsquee/irk on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-8/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-8/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bd524cc729168670fcc00f10a04c0fe9f909d8dae846e42354be31ebd6f22e0 [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" "3bd524cc729168670fcc00f10a04c0fe9f909d8dae846e42354be31ebd6f22e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bd524cc729168670fcc00f10a04c0fe9f909d8dae846e42354be31ebd6f22e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bd524cc729168670fcc00f10a04c0fe9f909d8dae846e42354be31ebd6f22e0", kill_on_drop: false }` [INFO] [stdout] 3bd524cc729168670fcc00f10a04c0fe9f909d8dae846e42354be31ebd6f22e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aebb2bd0a1f3edb32eb85332e2a8a61576056f295bb35be85a9728c7b6b7642e [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" "aebb2bd0a1f3edb32eb85332e2a8a61576056f295bb35be85a9728c7b6b7642e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [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.118 [INFO] [stderr] Checking toml v0.5.8 [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] 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: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: 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] 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[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] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `irk` [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0560, E0599. [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "aebb2bd0a1f3edb32eb85332e2a8a61576056f295bb35be85a9728c7b6b7642e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aebb2bd0a1f3edb32eb85332e2a8a61576056f295bb35be85a9728c7b6b7642e", kill_on_drop: false }` [INFO] [stdout] aebb2bd0a1f3edb32eb85332e2a8a61576056f295bb35be85a9728c7b6b7642e