[INFO] cloning repository https://github.com/wojciechmurimi/weso [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wojciechmurimi/weso" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwojciechmurimi%2Fweso", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwojciechmurimi%2Fweso'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 57a790c101e0ff93ad52d60fbfe2b98241dc3d3a [INFO] testing wojciechmurimi/weso against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwojciechmurimi%2Fweso" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wojciechmurimi/weso on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wojciechmurimi/weso [INFO] finished tweaking git repo https://github.com/wojciechmurimi/weso [INFO] tweaked toml for git repo https://github.com/wojciechmurimi/weso written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wojciechmurimi/weso 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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 223de91d9f188355e28a46d51c253e502ab8b51670aac4a8c5830828a916dd4c [INFO] running `Command { std: "docker" "start" "-a" "223de91d9f188355e28a46d51c253e502ab8b51670aac4a8c5830828a916dd4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "223de91d9f188355e28a46d51c253e502ab8b51670aac4a8c5830828a916dd4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "223de91d9f188355e28a46d51c253e502ab8b51670aac4a8c5830828a916dd4c", kill_on_drop: false }` [INFO] [stdout] 223de91d9f188355e28a46d51c253e502ab8b51670aac4a8c5830828a916dd4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0c130171bf808e60808aa4aa80fead4707683a1d06a11ef812fe3fec4c89399 [INFO] running `Command { std: "docker" "start" "-a" "c0c130171bf808e60808aa4aa80fead4707683a1d06a11ef812fe3fec4c89399", kill_on_drop: false }` [INFO] [stderr] Compiling weso v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `out_index` is assigned to, but never used [INFO] [stdout] --> src/base64.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut out_index = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_out_index` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `temp` is never read [INFO] [stdout] --> src/sha1.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let mut temp = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `out_index` is assigned to, but never used [INFO] [stdout] --> src/base64.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut out_index = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_out_index` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode` is never used [INFO] [stdout] --> src/base64.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn encode(input: &[u8]) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_u8` is never used [INFO] [stdout] --> src/frame.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Opcode { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 32 | fn into_u8(self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_final` and `opcode` are never read [INFO] [stdout] --> src/frame.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Frame { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 47 | pub is_final: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | pub opcode: Opcode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `to_blob`, and `read_frame` are never used [INFO] [stdout] --> src/frame.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Frame { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 54 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn to_blob(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn read_frame(mut stream: &TcpStream) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Sha1` is never used [INFO] [stdout] --> src/sha1.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum Sha1 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/stream.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl WsStream { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(stream: TcpStream) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn sext(&mut self, message: &str, isfinal: bool, mask: Option<[u8; 4]>) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn bin(&mut self, message: Vec, isfinal: bool, mask: Option<[u8; 4]>) -> Result<(), Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn text_fragment(&mut self, message: &str, mask: Option<[u8; 4]>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn text(&mut self, message: &str, mask: Option<[u8; 4]>) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn binary_fragment(&mut self, message: Vec, mask: Option<[u8; 4]>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn binary(&mut self, message: Vec, mask: Option<[u8; 4]>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn close(&mut self, mask: Option<[u8; 4]>, status: u16) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn bye(&mut self, mask: Option<[u8; 4]>) -> Result<(), Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn ping(&mut self, message: &str, mask: Option<[u8; 4]>) ->Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn pong(&mut self, mask: Option<[u8; 4]>) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn peer_addr(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn read_frame(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn opcode(&self)-> Opcode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn write_frame(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `temp` is never read [INFO] [stdout] --> src/sha1.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let mut temp = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/base64.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn decode(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIMEOUT` is never used [INFO] [stdout] --> src/mux.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const TIMEOUT: isize = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Sha1` is never used [INFO] [stdout] --> src/sha1.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum Sha1 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bin`, `text_fragment`, `binary_fragment`, `binary`, `close`, and `ping` are never used [INFO] [stdout] --> src/stream.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl WsStream { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn bin(&mut self, message: Vec, isfinal: bool, mask: Option<[u8; 4]>) -> Result<(), Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn text_fragment(&mut self, message: &str, mask: Option<[u8; 4]>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn binary_fragment(&mut self, message: Vec, mask: Option<[u8; 4]>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn binary(&mut self, message: Vec, mask: Option<[u8; 4]>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn close(&mut self, mask: Option<[u8; 4]>, status: u16) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn ping(&mut self, message: &str, mask: Option<[u8; 4]>) ->Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/server.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | ... stream.pong(None); [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] 67 | let _ = stream.pong(None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/9e136a30a965bf4e63f03095c57df7257bf96fd6/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/9e136a30a965bf4e63f03095c57df7257bf96fd6/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcjynIot/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/9e136a30a965bf4e63f03095c57df7257bf96fd6/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c961c021679cb080.rlib,libpanic_unwind-cf53e161ed1cff61.rlib,libobject-cb648d8066e1f446.rlib,libmemchr-c5d4f358058ea4b7.rlib,libaddr2line-c3d71356250e6616.rlib,libgimli-f87b04c9c9484f11.rlib,librustc_demangle-bcb6f2ec634b4b7c.rlib,libstd_detect-7c9c37927c8e6d84.rlib,libhashbrown-c2c9b281c2c2a277.rlib,librustc_std_workspace_alloc-436fb8ec294074ae.rlib,libminiz_oxide-8d1606a7c3a02301.rlib,libadler-b9d368accc529045.rlib,libunwind-8fa2d9148abc4bd4.rlib,libcfg_if-04c8eb04b1ca0e2e.rlib,liblibc-ac32c271036f683f.rlib,liballoc-954db56effadca87.rlib,librustc_std_workspace_core-395a38b8e0851c9b.rlib,libcore-d453bab70303062c.rlib,libcompiler_builtins-d643a4794e0b0ebc.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/9e136a30a965bf4e63f03095c57df7257bf96fd6/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/9e136a30a965bf4e63f03095c57df7257bf96fd6/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/server-3076153c6da4d6a2" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `weso` (bin "server") due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c0c130171bf808e60808aa4aa80fead4707683a1d06a11ef812fe3fec4c89399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0c130171bf808e60808aa4aa80fead4707683a1d06a11ef812fe3fec4c89399", kill_on_drop: false }` [INFO] [stdout] c0c130171bf808e60808aa4aa80fead4707683a1d06a11ef812fe3fec4c89399