[INFO] fetching crate hs100api 0.1.1... [INFO] checking hs100api-0.1.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate hs100api 0.1.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate hs100api 0.1.1 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 crates.io crate hs100api 0.1.1 [INFO] finished tweaking crates.io crate hs100api 0.1.1 [INFO] tweaked toml for crates.io crate hs100api 0.1.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] f301075e4564d268617747d3c23ff3bc3765b066aa737dffe0333c73cd3a314d [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" "f301075e4564d268617747d3c23ff3bc3765b066aa737dffe0333c73cd3a314d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f301075e4564d268617747d3c23ff3bc3765b066aa737dffe0333c73cd3a314d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f301075e4564d268617747d3c23ff3bc3765b066aa737dffe0333c73cd3a314d", kill_on_drop: false }` [INFO] [stdout] f301075e4564d268617747d3c23ff3bc3765b066aa737dffe0333c73cd3a314d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] b02af0323b88dceb3e27fe6c24b380d570dd7e146f899df93631703352ec7a28 [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" "b02af0323b88dceb3e27fe6c24b380d570dd7e146f899df93631703352ec7a28", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking hs100api v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | let msg = try!(encrypt(msg)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | let mut resp = try!(send(self.ip, &msg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | let resp = try!(serde_json::from_str(&data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | try!(cipher.write_u32::(len as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | try!(cipher.write_u8(*i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | let mut stream = try!(TcpStream::connect(ip)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | try!(stream.set_read_timeout(Some(Duration::new(5, 0)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | try!(stream.write_all(payload)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | try!(stream.read_to_end(&mut resp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | let msg = try!(encrypt(msg)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | let mut resp = try!(send(self.ip, &msg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | let resp = try!(serde_json::from_str(&data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | try!(cipher.write_u32::(len as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | try!(cipher.write_u8(*i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | let mut stream = try!(TcpStream::connect(ip)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | try!(stream.set_read_timeout(Some(Duration::new(5, 0)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | try!(stream.write_all(payload)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | try!(stream.read_to_end(&mut resp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_off` found for enum `Result, error::Error>` in the current scope [INFO] [stdout] --> src/lib.rs:136:38 [INFO] [stdout] | [INFO] [stdout] 136 | let resp = decrypt(&mut data.split_off(4)); [INFO] [stdout] | ^^^^^^^^^ method not found in `Result, error::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hs100api` [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b02af0323b88dceb3e27fe6c24b380d570dd7e146f899df93631703352ec7a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b02af0323b88dceb3e27fe6c24b380d570dd7e146f899df93631703352ec7a28", kill_on_drop: false }` [INFO] [stdout] b02af0323b88dceb3e27fe6c24b380d570dd7e146f899df93631703352ec7a28