[INFO] updating cached repository https://github.com/Kingsquee/irk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 672d073e5837462881990234e123ca73a3e00642 [INFO] testing Kingsquee/irk against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingsquee%2Firk" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kingsquee/irk on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-2/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82f25de96364dcc197588f5cc07652879bfbfea0cc812055401fec786ed8589e [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" "82f25de96364dcc197588f5cc07652879bfbfea0cc812055401fec786ed8589e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82f25de96364dcc197588f5cc07652879bfbfea0cc812055401fec786ed8589e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82f25de96364dcc197588f5cc07652879bfbfea0cc812055401fec786ed8589e", kill_on_drop: false }` [INFO] [stdout] 82f25de96364dcc197588f5cc07652879bfbfea0cc812055401fec786ed8589e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a61f4adbcc6c4517bbec1c194a23b60ce05286096213cff8d328e78273cffb04 [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" "a61f4adbcc6c4517bbec1c194a23b60ce05286096213cff8d328e78273cffb04", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling serde_derive v1.0.114 [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.23 [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 serde v1.0.114 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling irc v0.14.1 [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" "a61f4adbcc6c4517bbec1c194a23b60ce05286096213cff8d328e78273cffb04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a61f4adbcc6c4517bbec1c194a23b60ce05286096213cff8d328e78273cffb04", kill_on_drop: false }` [INFO] [stdout] a61f4adbcc6c4517bbec1c194a23b60ce05286096213cff8d328e78273cffb04