[INFO] cloning repository https://github.com/ac999/round_robin_loadbalancer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ac999/round_robin_loadbalancer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fac999%2Fround_robin_loadbalancer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fac999%2Fround_robin_loadbalancer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d8f5e98321031b090052f0597fda4a8a641fafb [INFO] testing ac999/round_robin_loadbalancer against master#1ddedbaa5919b7b3e70d984660e21e844c615c97 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fac999%2Fround_robin_loadbalancer" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ac999/round_robin_loadbalancer on toolchain 1ddedbaa5919b7b3e70d984660e21e844c615c97 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ac999/round_robin_loadbalancer [INFO] finished tweaking git repo https://github.com/ac999/round_robin_loadbalancer [INFO] tweaked toml for git repo https://github.com/ac999/round_robin_loadbalancer written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ac999/round_robin_loadbalancer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rlua v0.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e19d8cb6c2c98877ce2909ba01d27a188effeecd52b628319873bd9358a4bfcb [INFO] running `Command { std: "docker" "start" "-a" "e19d8cb6c2c98877ce2909ba01d27a188effeecd52b628319873bd9358a4bfcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e19d8cb6c2c98877ce2909ba01d27a188effeecd52b628319873bd9358a4bfcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e19d8cb6c2c98877ce2909ba01d27a188effeecd52b628319873bd9358a4bfcb", kill_on_drop: false }` [INFO] [stdout] e19d8cb6c2c98877ce2909ba01d27a188effeecd52b628319873bd9358a4bfcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e4c911544ffced55a1011cbfe070b7be38da5ddfbd1956e48ea717937af1604 [INFO] running `Command { std: "docker" "start" "-a" "1e4c911544ffced55a1011cbfe070b7be38da5ddfbd1956e48ea717937af1604", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling rlua v0.17.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bitflags v1.3.1 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling multithreadluaexec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::sync::mpsc::Sender` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::sync::mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/load_balancer.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut worker = &self.pool[worker_nr]; [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: unused variable: `i` [INFO] [stdout] --> src/load_balancer.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | for i in 0..num { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let lua: Lua = Lua::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/main.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | let (tx, mut rx) = mpsc::channel(100); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let (tx, mut rx) = mpsc::channel(100); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `int_result` and `string_result` are never read [INFO] [stdout] --> src/types.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LuaResult { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 12 | pub int_result: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub string_result: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `server` is never read [INFO] [stdout] --> src/types.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 17 | pub sender: Sender<(LuaCode, Sender)>, [INFO] [stdout] 18 | pub server: JoinHandle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/worker.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | / ... res.clone() [INFO] [stdout] 21 | | ... .send(LuaResult { int_result: Some(0), string_result: Some("0".to_string()) }) [INFO] [stdout] 22 | | ... .await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 20 | let _ = res.clone() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/worker.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | self.sender.clone().send(res).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = self.sender.clone().send(res).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.93s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rlua v0.17.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1e4c911544ffced55a1011cbfe070b7be38da5ddfbd1956e48ea717937af1604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e4c911544ffced55a1011cbfe070b7be38da5ddfbd1956e48ea717937af1604", kill_on_drop: false }` [INFO] [stdout] 1e4c911544ffced55a1011cbfe070b7be38da5ddfbd1956e48ea717937af1604 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57f243522a527bb40356ae7f4f240acac0d3c0dc95bc6da54410128bce63ffa4 [INFO] running `Command { std: "docker" "start" "-a" "57f243522a527bb40356ae7f4f240acac0d3c0dc95bc6da54410128bce63ffa4", kill_on_drop: false }` [INFO] [stderr] Compiling multithreadluaexec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::sync::mpsc::Sender` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::sync::mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/load_balancer.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut worker = &self.pool[worker_nr]; [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: unused variable: `i` [INFO] [stdout] --> src/load_balancer.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | for i in 0..num { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let lua: Lua = Lua::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/main.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | let (tx, mut rx) = mpsc::channel(100); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let (tx, mut rx) = mpsc::channel(100); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `int_result` and `string_result` are never read [INFO] [stdout] --> src/types.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LuaResult { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 12 | pub int_result: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub string_result: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `server` is never read [INFO] [stdout] --> src/types.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 17 | pub sender: Sender<(LuaCode, Sender)>, [INFO] [stdout] 18 | pub server: JoinHandle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/worker.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | / ... res.clone() [INFO] [stdout] 21 | | ... .send(LuaResult { int_result: Some(0), string_result: Some("0".to_string()) }) [INFO] [stdout] 22 | | ... .await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 20 | let _ = res.clone() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/worker.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | self.sender.clone().send(res).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = self.sender.clone().send(res).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rlua v0.17.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "57f243522a527bb40356ae7f4f240acac0d3c0dc95bc6da54410128bce63ffa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57f243522a527bb40356ae7f4f240acac0d3c0dc95bc6da54410128bce63ffa4", kill_on_drop: false }` [INFO] [stdout] 57f243522a527bb40356ae7f4f240acac0d3c0dc95bc6da54410128bce63ffa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 85912f17d44bbdc9b9964dfcc4753862704db2ef769352c5b148876c6bb8337a [INFO] running `Command { std: "docker" "start" "-a" "85912f17d44bbdc9b9964dfcc4753862704db2ef769352c5b148876c6bb8337a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `tokio::sync::mpsc::Sender` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use tokio::sync::mpsc::Sender; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/load_balancer.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | let mut worker = &self.pool[worker_nr]; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/load_balancer.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | for i in 0..num { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lua` [INFO] [stderr] --> src/main.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | let lua: Lua = Lua::new(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rx` [INFO] [stderr] --> src/main.rs:33:22 [INFO] [stderr] | [INFO] [stderr] 33 | let (tx, mut rx) = mpsc::channel(100); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:33:18 [INFO] [stderr] | [INFO] [stderr] 33 | let (tx, mut rx) = mpsc::channel(100); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: fields `int_result` and `string_result` are never read [INFO] [stderr] --> src/types.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct LuaResult { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 12 | pub int_result: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 13 | pub string_result: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `server` is never read [INFO] [stderr] --> src/types.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct Worker { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 17 | pub sender: Sender<(LuaCode, Sender)>, [INFO] [stderr] 18 | pub server: JoinHandle, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/worker.rs:20:29 [INFO] [stderr] | [INFO] [stderr] 20 | / ... res.clone() [INFO] [stderr] 21 | | ... .send(LuaResult { int_result: Some(0), string_result: Some("0".to_string()) }) [INFO] [stderr] 22 | | ... .await; [INFO] [stderr] | |________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 20 | let _ = res.clone() [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/worker.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | self.sender.clone().send(res).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 32 | let _ = self.sender.clone().send(res).await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `multithreadluaexec` (bin "multithreadluaexec" test) generated 10 warnings (run `cargo fix --bin "multithreadluaexec" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rlua v0.17.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/multithreadluaexec-48d9ea771d0ca642) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "85912f17d44bbdc9b9964dfcc4753862704db2ef769352c5b148876c6bb8337a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85912f17d44bbdc9b9964dfcc4753862704db2ef769352c5b148876c6bb8337a", kill_on_drop: false }` [INFO] [stdout] 85912f17d44bbdc9b9964dfcc4753862704db2ef769352c5b148876c6bb8337a [INFO] testing ac999/round_robin_loadbalancer against try#33f1d8bb92813a1bfc23c093c9f443ab09290307 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fac999%2Fround_robin_loadbalancer" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ac999/round_robin_loadbalancer on toolchain 33f1d8bb92813a1bfc23c093c9f443ab09290307 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ac999/round_robin_loadbalancer [INFO] finished tweaking git repo https://github.com/ac999/round_robin_loadbalancer [INFO] tweaked toml for git repo https://github.com/ac999/round_robin_loadbalancer written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ac999/round_robin_loadbalancer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 574a426dcb4073b73603bbb5e145cb0ba28378cfca3117a2c8847949e9fec818 [INFO] running `Command { std: "docker" "start" "-a" "574a426dcb4073b73603bbb5e145cb0ba28378cfca3117a2c8847949e9fec818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "574a426dcb4073b73603bbb5e145cb0ba28378cfca3117a2c8847949e9fec818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "574a426dcb4073b73603bbb5e145cb0ba28378cfca3117a2c8847949e9fec818", kill_on_drop: false }` [INFO] [stdout] 574a426dcb4073b73603bbb5e145cb0ba28378cfca3117a2c8847949e9fec818 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe97843c0a851d957882b7945cdc8c19d2993a4221f7d8477d757854ece89af9 [INFO] running `Command { std: "docker" "start" "-a" "fe97843c0a851d957882b7945cdc8c19d2993a4221f7d8477d757854ece89af9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling rlua v0.17.0 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bitflags v1.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] error: could not compile `tokio` (lib) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmetadtg8Qc" [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serde` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "fe97843c0a851d957882b7945cdc8c19d2993a4221f7d8477d757854ece89af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe97843c0a851d957882b7945cdc8c19d2993a4221f7d8477d757854ece89af9", kill_on_drop: false }` [INFO] [stdout] fe97843c0a851d957882b7945cdc8c19d2993a4221f7d8477d757854ece89af9