[INFO] cloning repository https://github.com/infinityb/rust-irc-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/infinityb/rust-irc-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfinityb%2Frust-irc-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfinityb%2Frust-irc-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 388e66984b6bb603cd83a8132e3bd43e37bd1f07 [INFO] checking infinityb/rust-irc-client against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfinityb%2Frust-irc-client" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/infinityb/rust-irc-client on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/infinityb/rust-irc-client [INFO] finished tweaking git repo https://github.com/infinityb/rust-irc-client [INFO] tweaked toml for git repo https://github.com/infinityb/rust-irc-client written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/infinityb/rust-irc-client already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/infinityb/rust-irc` [INFO] [stderr] Updating git repository `https://github.com/shaleh/rust-readline.git` [INFO] [stderr] error: the lock file /workspace/builds/worker-14/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/infinityb/rust-irc` [INFO] [stderr] Updating git repository `https://github.com/shaleh/rust-readline.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d736dda639f21005c045a219f725ab2a2cbca572016a810f65979563200ddcd [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" "1d736dda639f21005c045a219f725ab2a2cbca572016a810f65979563200ddcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d736dda639f21005c045a219f725ab2a2cbca572016a810f65979563200ddcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d736dda639f21005c045a219f725ab2a2cbca572016a810f65979563200ddcd", kill_on_drop: false }` [INFO] [stdout] 1d736dda639f21005c045a219f725ab2a2cbca572016a810f65979563200ddcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c84e30497ea43edaed4b479c2cb50194a7981e39c4683130dc811f5712908b18 [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" "c84e30497ea43edaed4b479c2cb50194a7981e39c4683130dc811f5712908b18", 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] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling readline v0.2.0 (https://github.com/shaleh/rust-readline.git#4223e676) [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking irc v0.5.0 (https://github.com/infinityb/rust-irc#4d8bfd9f) [INFO] [stderr] Checking irc-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `return` [INFO] [stdout] --> src/irc_client.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 156 | println!("nick-read failed, exit") [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] 157 | return; [INFO] [stdout] | ^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> src/irc_client.rs:161:45 [INFO] [stdout] | [INFO] [stdout] 161 | match self.connection.register(nick[].trim_chars('\n')) { [INFO] [stdout] | ----- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing this match expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> src/irc_client.rs:185:33 [INFO] [stdout] | [INFO] [stdout] 185 | let line_cleaned = line[].trim_chars('\n'); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> src/irc_client.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | let line_cleaned = line[].trim_chars('\n'); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `return` [INFO] [stdout] --> src/irc_client.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 156 | println!("nick-read failed, exit") [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] 157 | return; [INFO] [stdout] | ^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> src/irc_client.rs:161:45 [INFO] [stdout] | [INFO] [stdout] 161 | match self.connection.register(nick[].trim_chars('\n')) { [INFO] [stdout] | ----- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing this match expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> src/irc_client.rs:185:33 [INFO] [stdout] | [INFO] [stdout] 185 | let line_cleaned = line[].trim_chars('\n'); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> src/irc_client.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | let line_cleaned = line[].trim_chars('\n'); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `Ok` [INFO] [stdout] --> src/irc_client.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 230 | try!(stdout_w.flush()) [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] 231 | Ok(()) [INFO] [stdout] | ^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> src/irc_client.rs:226:22 [INFO] [stdout] | [INFO] [stdout] 226 | spawn(proc() { [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `Ok` [INFO] [stdout] --> src/irc_client.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 230 | try!(stdout_w.flush()) [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] 231 | Ok(()) [INFO] [stdout] | ^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> src/irc_client.rs:226:22 [INFO] [stdout] | [INFO] [stdout] 226 | spawn(proc() { [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `debug` [INFO] [stdout] --> src/irc_client.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `debug` [INFO] [stdout] --> src/irc_client.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `irc-client` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c84e30497ea43edaed4b479c2cb50194a7981e39c4683130dc811f5712908b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c84e30497ea43edaed4b479c2cb50194a7981e39c4683130dc811f5712908b18", kill_on_drop: false }` [INFO] [stdout] c84e30497ea43edaed4b479c2cb50194a7981e39c4683130dc811f5712908b18