[INFO] cloning repository https://github.com/redox-os/netutils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/redox-os/netutils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredox-os%2Fnetutils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredox-os%2Fnetutils'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85c159fdd8bbdc562afb5041ae40dde566bed538 [INFO] testing redox-os/netutils against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredox-os%2Fnetutils" "/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/redox-os/netutils 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/redox-os/netutils [INFO] finished tweaking git repo https://github.com/redox-os/netutils [INFO] tweaked toml for git repo https://github.com/redox-os/netutils written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/redox-os/netutils 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] Updating git repository `https://gitlab.redox-os.org/redox-os/arg-parser.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/mio` [INFO] [stderr] Updating git repository `https://github.com/willem66745/ntpclient-rust` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/tokio` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/mio-uds` [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" "+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] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/arg-parser.git` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/libextra.git` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/mio` [INFO] [stderr] Updating git repository `https://github.com/willem66745/ntpclient-rust` [INFO] [stderr] Updating git repository `https://github.com/a8m/pb` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/event.git` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/tokio` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/mio-uds` [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] 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" "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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ae0b643455768f527ba03cc31598a061080d9749dacaa82b794fa528d33316f9 [INFO] running `Command { std: "docker" "start" "-a" "ae0b643455768f527ba03cc31598a061080d9749dacaa82b794fa528d33316f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae0b643455768f527ba03cc31598a061080d9749dacaa82b794fa528d33316f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae0b643455768f527ba03cc31598a061080d9749dacaa82b794fa528d33316f9", kill_on_drop: false }` [INFO] [stdout] ae0b643455768f527ba03cc31598a061080d9749dacaa82b794fa528d33316f9 [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" "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] b9a04c14dc1fe61e4d6e88799c44f2613b7c8271467878827b56d6fc7807d292 [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" "b9a04c14dc1fe61e4d6e88799c44f2613b7c8271467878827b56d6fc7807d292", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling redox_syscall v0.1.57 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling arg_parser v0.1.0 (https://gitlab.redox-os.org/redox-os/arg-parser.git#1c434b55) [INFO] [stderr] Compiling extra v0.1.0 (https://gitlab.redox-os.org/redox-os/libextra.git#0b50f3f2) [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling redox_event v0.1.0 (https://gitlab.redox-os.org/redox-os/event.git#c31e3d3d) [INFO] [stderr] Compiling redox_termios v0.1.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling termion v1.5.5 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling tokio-executor v0.1.5 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Compiling mio v0.6.16 (https://gitlab.redox-os.org/redox-os/mio#439a559b) [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling ntpclient v0.0.1 (https://github.com/willem66745/ntpclient-rust#7e3bdf60) [INFO] [stderr] Compiling tokio-current-thread v0.1.4 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Compiling tokio-timer v0.2.8 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Compiling tokio-io v0.1.10 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling pbr v1.0.3 (https://github.com/a8m/pb#591917e9) [INFO] [stderr] Compiling tokio-codec v0.1.1 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Compiling mio-uds v0.6.7 (https://gitlab.redox-os.org/redox-os/mio-uds#22580ca3) [INFO] [stderr] Compiling tokio-threadpool v0.1.9 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.7 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Compiling tokio-fs v0.1.4 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Compiling tokio-uds v0.2.4 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Compiling tokio-tcp v0.1.2 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Compiling tokio-udp v0.1.3 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Compiling tokio v0.1.13 (https://gitlab.redox-os.org/redox-os/tokio#6c1f7a23) [INFO] [stderr] Compiling webpki v0.18.1 [INFO] [stderr] Compiling sct v0.4.0 [INFO] [stderr] Compiling rustls v0.13.1 [INFO] [stderr] Compiling webpki-roots v0.15.0 [INFO] [stderr] Compiling hyper-rustls v0.6.2 [INFO] [stderr] Compiling netutils v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `str` [INFO] [stdout] --> src/httpd/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{env, str}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:43:76 [INFO] [stdout] | [INFO] [stdout] 43 | format!("failed to parse '{}', {}", port_string, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/httpd/main.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | full_path.push(path.trim_left_matches('/')); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/irc/main.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | let file = try!(TcpStream::connect(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | let stream_read = try!(TcpStream::connect(host) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | let stream_write = try!(stream_read.try_clone() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | let listener = try!(TcpListener::bind(host) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | let (stream_read, socketaddr) = try!(listener.accept() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | let stream_write = try!(stream_read.try_clone() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | let socket = try!(UdpSocket::bind("localhost:30000") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | try!(socket.connect(host) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/nc/modes.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | let socket = try!(UdpSocket::bind(host) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/httpd/main.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | write!(res.start().unwrap(), "{}", err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:68:65 [INFO] [stdout] | [INFO] [stdout] 68 | format!("Can't send to {}, {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:108:47 [INFO] [stdout] | [INFO] [stdout] 108 | ... e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:118:75 [INFO] [stdout] | [INFO] [stdout] 118 | ... format!("Can't read from {}, {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/whois/main.rs:128:70 [INFO] [stdout] | [INFO] [stdout] 128 | format!("Failed to connect to '{}', {}", host, e.description()).as_str(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/telnetd/main.rs:166:51 [INFO] [stdout] | [INFO] [stdout] 166 | let _ = term_stderr.write(err.description().as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/telnetd/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `netutils`. [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/dhcpd/main.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | for (s, mut d) in [53, 1, 1, 255].iter().zip(discover.options.iter_mut()) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dhcpd/main.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | for (s, mut d) in [ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/main.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | ... let mut channels_lock = channels.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/main.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | ... let mut channels_lock = channels.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `channels_lock` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/irc/main.rs:210:57 [INFO] [stdout] | [INFO] [stdout] 210 | ... channels_lock.1 %= Wrapping(channels_lock.0.len()); [INFO] [stdout] | ----------------------------^^^^^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `channels_lock` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/irc/main.rs:219:57 [INFO] [stdout] | [INFO] [stdout] 219 | ... channels_lock.1 %= Wrapping(channels_lock.0.len()); [INFO] [stdout] | ----------------------------^^^^^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `channels_lock` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/irc/main.rs:239:69 [INFO] [stdout] | [INFO] [stdout] 239 | ... channels_lock.1 %= Wrapping(channels_lock.0.len()); [INFO] [stdout] | ----------------------------^^^^^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `channels_lock` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/irc/main.rs:314:65 [INFO] [stdout] | [INFO] [stdout] 314 | ... channels_lock.1 %= Wrapping(channels_lock.0.len()); [INFO] [stdout] | ----------------------------^^^^^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/main.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | let mut channel: Option<&mut Channel> = channels_lock.0.get_mut(channel_number); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/main.rs:557:17 [INFO] [stdout] | [INFO] [stdout] 557 | let mut channel: &mut Channel = channel.unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b9a04c14dc1fe61e4d6e88799c44f2613b7c8271467878827b56d6fc7807d292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9a04c14dc1fe61e4d6e88799c44f2613b7c8271467878827b56d6fc7807d292", kill_on_drop: false }` [INFO] [stdout] b9a04c14dc1fe61e4d6e88799c44f2613b7c8271467878827b56d6fc7807d292