[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] testing Kingsquee/irk against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingsquee%2Firk" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kingsquee/irk on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-3/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d98fb9624443c5cf22533e6cee649788071b36fa1ea1e6fef13dae3e10a3faa [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" "2d98fb9624443c5cf22533e6cee649788071b36fa1ea1e6fef13dae3e10a3faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d98fb9624443c5cf22533e6cee649788071b36fa1ea1e6fef13dae3e10a3faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d98fb9624443c5cf22533e6cee649788071b36fa1ea1e6fef13dae3e10a3faa", kill_on_drop: false }` [INFO] [stdout] 2d98fb9624443c5cf22533e6cee649788071b36fa1ea1e6fef13dae3e10a3faa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0b16edc2a552bf882fc49e87c26bb602781b599095ef0c3640ec8bdec1d9142 [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" "b0b16edc2a552bf882fc49e87c26bb602781b599095ef0c3640ec8bdec1d9142", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling irc-proto v0.14.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling irc v0.14.0 [INFO] [stderr] Compiling irk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `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 `std::vec::Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::vec::Vec<_>` [INFO] [stdout] found enum `std::option::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 item '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 item: `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 `&irc::client::data::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 `&irc::client::data::User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_name` found for reference `&irc::client::data::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 `&irc::client::data::User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `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] running `Command { std: "docker" "inspect" "b0b16edc2a552bf882fc49e87c26bb602781b599095ef0c3640ec8bdec1d9142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0b16edc2a552bf882fc49e87c26bb602781b599095ef0c3640ec8bdec1d9142", kill_on_drop: false }` [INFO] [stdout] b0b16edc2a552bf882fc49e87c26bb602781b599095ef0c3640ec8bdec1d9142