[INFO] fetching crate bowtie 0.2.2... [INFO] testing bowtie-0.2.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate bowtie 0.2.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate bowtie 0.2.2 [INFO] finished tweaking crates.io crate bowtie 0.2.2 [INFO] tweaked toml for crates.io crate bowtie 0.2.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bowtie 0.2.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 32 packages to latest compatible versions [INFO] [stderr] Adding png v0.14.1 (available: v0.18.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded png v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df375d4f0ad4b03fbd9e7ed333a7c4451bc195efcc1ac0cb047385cb537590ca [INFO] running `Command { std: "docker" "start" "-a" "df375d4f0ad4b03fbd9e7ed333a7c4451bc195efcc1ac0cb047385cb537590ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df375d4f0ad4b03fbd9e7ed333a7c4451bc195efcc1ac0cb047385cb537590ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df375d4f0ad4b03fbd9e7ed333a7c4451bc195efcc1ac0cb047385cb537590ca", kill_on_drop: false }` [INFO] [stdout] df375d4f0ad4b03fbd9e7ed333a7c4451bc195efcc1ac0cb047385cb537590ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10c69223e9ff127f1e5876e1c72cf57357aa6e3e670eb4783f4818dc5d333d22 [INFO] running `Command { std: "docker" "start" "-a" "10c69223e9ff127f1e5876e1c72cf57357aa6e3e670eb4783f4818dc5d333d22", kill_on_drop: false }` [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bowtie v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/gl_utils/gl_translation.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fmt::Display, mem}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToGl` [INFO] [stdout] --> src/gl_utils/uniform.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use super::gl_translation::{DataType, ToGl}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/components/collide.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | .collect::)>>(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - .collect::)>>(); [INFO] [stdout] 138 + .collect::>>(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SettableUniform` [INFO] [stdout] --> src/gl_utils/gl_texture.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use super::uniform::{SettableUniform, UniformInteger}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `elements` is never read [INFO] [stdout] --> src/gl_utils/element_array_buffer.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ElementArrayBuffer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 6 | pub data_type: DataType, [INFO] [stdout] 7 | elements: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> src/gl_utils/element_array_buffer.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl ElementArrayBuffer { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn draw(&self, mode: DrawingMode) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pull_errors` is never used [INFO] [stdout] --> src/gl_utils/gl_error_reader.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn pull_errors() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_message_callback` is never used [INFO] [stdout] --> src/gl_utils/gl_error_reader.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | extern "system" fn debug_message_callback( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_debug_callback` is never used [INFO] [stdout] --> src/gl_utils/gl_error_reader.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn init_debug_callback() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UniformFloatVector` is never constructed [INFO] [stdout] --> src/gl_utils/uniform.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UniformFloatVector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gl_utils/uniform.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 17 | impl UniformFloatVector { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(name: &str, count: i8, values: Vec) -> UniformFloatVector { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_type` is never read [INFO] [stdout] --> src/gl_utils/uniform.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct UniformInteger { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | data_type: DataType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UniformMatrixFloat` is never constructed [INFO] [stdout] --> src/gl_utils/uniform.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct UniformMatrixFloat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gl_utils/uniform.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 88 | impl UniformMatrixFloat { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 89 | pub fn new(name: &str, value: Matrix) -> UniformMatrixFloat { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_type` and `vertices` are never read [INFO] [stdout] --> src/gl_utils/vertex_array_buffer.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VertexArrayBuffer { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 6 | id: u32, [INFO] [stdout] 7 | data_type: DataType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | vertices: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_vertices_len` and `draw` are never used [INFO] [stdout] --> src/gl_utils/vertex_array_buffer.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl VertexArrayBuffer { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_vertices_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn draw(&self, drawing_mode: DrawingMode) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventComponent` is never constructed [INFO] [stdout] --> src/components/event.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EventComponent<'s> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push_message` are never used [INFO] [stdout] --> src/components/event.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'s> EventComponent<'s> { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> EventComponent<'s> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn push_message(&mut self, entity: *mut dyn Entity<'s>, message: Message) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/bowtie/controller.rs:107:65 [INFO] [stdout] | [INFO] [stdout] 107 | let pos_option = self.entities.iter().position(|entity_ref| entity_ref.to_owned() == entity.to_owned()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 107 - let pos_option = self.entities.iter().position(|entity_ref| entity_ref.to_owned() == entity.to_owned()); [INFO] [stdout] 107 + let pos_option = self.entities.iter().position(|entity_ref| std::ptr::addr_eq(entity_ref.to_owned(), entity.to_owned())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/components/collide.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | if other_entity.as_ref().unwrap() as *const _ [INFO] [stdout] | __________^ [INFO] [stdout] 144 | | == entity.as_ref().unwrap() as *const _ [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 143 - if other_entity.as_ref().unwrap() as *const _ [INFO] [stdout] 143 + if std::ptr::addr_eq(other_entity.as_ref().unwrap() as *const _, entity.as_ref().unwrap() as *const _) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/components/collide.rs:175:45 [INFO] [stdout] | [INFO] [stdout] 175 | .position(|(ex_collided_entity, _)| *ex_collided_entity == other_entity); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 175 - .position(|(ex_collided_entity, _)| *ex_collided_entity == other_entity); [INFO] [stdout] 175 + .position(|(ex_collided_entity, _)| std::ptr::addr_eq(*ex_collided_entity, other_entity)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.88s [INFO] running `Command { std: "docker" "inspect" "10c69223e9ff127f1e5876e1c72cf57357aa6e3e670eb4783f4818dc5d333d22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10c69223e9ff127f1e5876e1c72cf57357aa6e3e670eb4783f4818dc5d333d22", kill_on_drop: false }` [INFO] [stdout] 10c69223e9ff127f1e5876e1c72cf57357aa6e3e670eb4783f4818dc5d333d22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7c502c6ca17122060bd7fea4743bcc7467868f6866a8aeb8c9f22906c88da0d [INFO] running `Command { std: "docker" "start" "-a" "f7c502c6ca17122060bd7fea4743bcc7467868f6866a8aeb8c9f22906c88da0d", kill_on_drop: false }` [INFO] [stderr] error: failed to download `inflate v0.4.5` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] unable to get packages from source [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to unpack package `inflate v0.4.5` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to create directory `/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inflate-0.4.5` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] Read-only file system (os error 30) [INFO] running `Command { std: "docker" "inspect" "f7c502c6ca17122060bd7fea4743bcc7467868f6866a8aeb8c9f22906c88da0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7c502c6ca17122060bd7fea4743bcc7467868f6866a8aeb8c9f22906c88da0d", kill_on_drop: false }` [INFO] [stdout] f7c502c6ca17122060bd7fea4743bcc7467868f6866a8aeb8c9f22906c88da0d