[INFO] updating cached repository https://github.com/Eros/Heart [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] 6675149ed54e800f26b1dad73220af0ad7866db5 [INFO] testing Eros/Heart against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEros%2FHeart" "/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/Eros/Heart 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/Eros/Heart [INFO] finished tweaking git repo https://github.com/Eros/Heart [INFO] tweaked toml for git repo https://github.com/Eros/Heart written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/Eros/Heart 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] 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" "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] efd086f5b155f13a65ec63aa4b9863efd4d5bae462b5f43eb6c2c70c94ce9f03 [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" "efd086f5b155f13a65ec63aa4b9863efd4d5bae462b5f43eb6c2c70c94ce9f03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efd086f5b155f13a65ec63aa4b9863efd4d5bae462b5f43eb6c2c70c94ce9f03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efd086f5b155f13a65ec63aa4b9863efd4d5bae462b5f43eb6c2c70c94ce9f03", kill_on_drop: false }` [INFO] [stdout] efd086f5b155f13a65ec63aa4b9863efd4d5bae462b5f43eb6c2c70c94ce9f03 [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" "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] fde3a6438568cdefe2e03cfb072bf51678d5a264c65a842e36c6c3c7003a45f3 [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" "fde3a6438568cdefe2e03cfb072bf51678d5a264c65a842e36c6c3c7003a45f3", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling sha1 v0.1.1 [INFO] [stderr] Compiling mio v0.6.16 (https://github.com/carllerche/mio#50c4af5c) [INFO] [stderr] Compiling http-muncher v0.2.5 [INFO] [stderr] Compiling Heart v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unknown character escape: [INFO] [stdout] --> src/main.rs:78:87 [INFO] [stdout] | [INFO] [stdout] 78 | let response = fmt::format(format_args!("HTTP/1.1 101 Switching Protocols\r\n\ Connection: Upgrade\r\n\ [INFO] [stdout] | ^ unknown character escape [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown character escape: [INFO] [stdout] --> src/main.rs:79:82 [INFO] [stdout] | [INFO] [stdout] 79 | ... Sec-WebSocket-Accept: {}\r\n\ Upgrade: websocket\r\n\r\n", response_key)); [INFO] [stdout] | ^ unknown character escape [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `#` [INFO] [stdout] --> src/main.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[#deprive] [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `;` [INFO] [stdout] --> src/main.rs:55:79 [INFO] [stdout] | [INFO] [stdout] 54 | Err(e) => [INFO] [stdout] | -- while parsing the `match` arm starting here [INFO] [stdout] 55 | println!("Error while attempting to read socket! {:?}", e); [INFO] [stdout] | ^ expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `=>` [INFO] [stdout] --> src/main.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | Ok(None) => break; [INFO] [stdout] | ^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `=`, `@`, or `|`, found `=>` [INFO] [stdout] --> src/main.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 99 | SERVER_TOKEN => [INFO] [stdout] | -- while parsing the `match` arm starting here [INFO] [stdout] 100 | let client_socket => match self::socket::accept()| [INFO] [stdout] | ^^ expected one of `=`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/main.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | }, [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/main.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 93 | impl Handler for WebSocketServer { [INFO] [stdout] | - item list starts here [INFO] [stdout] ... [INFO] [stdout] 114 | }; [INFO] [stdout] | ^ non-item starts here [INFO] [stdout] ... [INFO] [stdout] 119 | } [INFO] [stdout] | - item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `fmt` [INFO] [stdout] --> src/main.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | let response = fmt::format(format_args!("HTTP/1.1 101 Switching Protocols\r\n\ Connection: Upgrade\r\n\ [INFO] [stdout] | ^^^ use of undeclared type or module `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ClientState` [INFO] [stdout] --> src/main.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | self.state = ClientState::Connected; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `ClientState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/main.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | self.interest.remove(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/main.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | self.interest.insert(EventSet::readable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop` [INFO] [stdout] --> src/main.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 137 | let mut event_loop = EventLoop::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `EventLoop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/main.rs:141:51 [INFO] [stdout] | [INFO] [stdout] 141 | event_loop.register(&server_socket, Token(0), EventSet::readable(), PollOpt::edge()).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `u` in this scope [INFO] [stdout] --> src/main.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | fn on_header_field(&mut self, s: u) -> bool { [INFO] [stdout] | ^ help: a builtin type with a similar name exists: `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `u` in this scope [INFO] [stdout] --> src/main.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | fn on_header_value(&mut self, s: u) -> bool { [INFO] [stdout] | ^ help: a builtin type with a similar name exists: `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `HttpParser` [INFO] [stdout] --> src/main.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 22 | / struct HttpParser { [INFO] [stdout] 23 | | current_key: Option, [INFO] [stdout] 24 | | #[#deprive] [INFO] [stdout] 25 | | headers: Rc>>, [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- `HttpParser` defined here [INFO] [stdout] ... [INFO] [stdout] 71 | http_parser: Parser::Request(HttpParser) [INFO] [stdout] | ^^^^^^^^^^ did you mean `HttpParser { /* fields */ }`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> src/main.rs:93:6 [INFO] [stdout] | [INFO] [stdout] 93 | impl Handler for WebSocketServer { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 6 | use mio::deprecated::Handler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/main.rs:97:42 [INFO] [stdout] | [INFO] [stdout] 97 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: EventSet){ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use mio::deprecated::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/main.rs:97:92 [INFO] [stdout] | [INFO] [stdout] 97 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: EventSet){ [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `Evented` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/mio-e79f285e2377d154/50c4af5/src/event_imp.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait Evented { [INFO] [stdout] | ----------------- similarly named trait `Evented` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `WebSocketServer` [INFO] [stdout] --> src/main.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 87 | / struct WebSocketServer{ [INFO] [stdout] 88 | | socket: TcpListener, [INFO] [stdout] 89 | | clients: HashMap, [INFO] [stdout] 90 | | token_counter: usize [INFO] [stdout] 91 | | } [INFO] [stdout] | |_- `WebSocketServer` defined here [INFO] [stdout] ... [INFO] [stdout] 138 | let mut handler = WebSocketServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^ did you mean `WebSocketServer { /* fields */ }`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0423, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Heart`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "fde3a6438568cdefe2e03cfb072bf51678d5a264c65a842e36c6c3c7003a45f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fde3a6438568cdefe2e03cfb072bf51678d5a264c65a842e36c6c3c7003a45f3", kill_on_drop: false }` [INFO] [stdout] fde3a6438568cdefe2e03cfb072bf51678d5a264c65a842e36c6c3c7003a45f3