[INFO] fetching crate pxl 0.0.9... [INFO] checking pxl-0.0.9 against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] extracting crate pxl 0.0.9 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate pxl 0.0.9 on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pxl 0.0.9 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate pxl 0.0.9 [INFO] tweaked toml for crates.io crate pxl 0.0.9 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 35a6a20f053da2565b61678044330d6bd704508b2b17c2edf84cdca5223bc1d3 [INFO] running `Command { std: "docker" "start" "-a" "35a6a20f053da2565b61678044330d6bd704508b2b17c2edf84cdca5223bc1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35a6a20f053da2565b61678044330d6bd704508b2b17c2edf84cdca5223bc1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35a6a20f053da2565b61678044330d6bd704508b2b17c2edf84cdca5223bc1d3", kill_on_drop: false }` [INFO] [stdout] 35a6a20f053da2565b61678044330d6bd704508b2b17c2edf84cdca5223bc1d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4c2e3c12814e0e2242711ed528877c9289f6a4095081b2ca686396a95d091b4 [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" "c4c2e3c12814e0e2242711ed528877c9289f6a4095081b2ca686396a95d091b4", kill_on_drop: false }` [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking libloading v0.6.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking wayland-sys v0.20.12 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking wayland-commons v0.20.12 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking parking_lot v0.5.5 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling glutin v0.16.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Checking smithay-client-toolkit v0.2.6 [INFO] [stderr] Checking winit v0.15.1 [INFO] [stderr] Checking pxl v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runtime/speaker.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | synthesizer: Arc>, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Synthesizer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runtime/speaker.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(synthesizer: Arc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Synthesizer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runtime/mod.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | program: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runtime/mod.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(program: Box) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:233:45 [INFO] [stdout] | [INFO] [stdout] 233 | fn synthesizer(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Synthesizer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runtime/speaker.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | synthesizer: Arc>, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Synthesizer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runtime/speaker.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(synthesizer: Arc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Synthesizer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runtime/mod.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | program: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runtime/mod.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(program: Box) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:233:45 [INFO] [stdout] | [INFO] [stdout] 233 | fn synthesizer(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Synthesizer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/runtime/display.rs:93:84 [INFO] [stdout] | [INFO] [stdout] 93 | gl::BindFragDataLocation(shader_program, 0, CString::new("color").unwrap().as_ptr()); [INFO] [stdout] | ------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/runtime/display.rs:96:82 [INFO] [stdout] | [INFO] [stdout] 96 | gl::GetUniformLocation(shader_program, CString::new("pixels").unwrap().as_ptr()); [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/runtime/display.rs:100:83 [INFO] [stdout] | [INFO] [stdout] 100 | gl::GetAttribLocation(shader_program, CString::new("position").unwrap().as_ptr()); [INFO] [stdout] | --------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/runtime/mod.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | mem::replace(&mut self.events, events); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/runtime/display.rs:93:84 [INFO] [stdout] | [INFO] [stdout] 93 | gl::BindFragDataLocation(shader_program, 0, CString::new("color").unwrap().as_ptr()); [INFO] [stdout] | ------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/runtime/display.rs:96:82 [INFO] [stdout] | [INFO] [stdout] 96 | gl::GetUniformLocation(shader_program, CString::new("pixels").unwrap().as_ptr()); [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/runtime/display.rs:100:83 [INFO] [stdout] | [INFO] [stdout] 100 | gl::GetAttribLocation(shader_program, CString::new("position").unwrap().as_ptr()); [INFO] [stdout] | --------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/runtime/mod.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | mem::replace(&mut self.events, events); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/life.rs:177:45 [INFO] [stdout] | [INFO] [stdout] 177 | fn synthesizer(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Synthesizer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.67s [INFO] running `Command { std: "docker" "inspect" "c4c2e3c12814e0e2242711ed528877c9289f6a4095081b2ca686396a95d091b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4c2e3c12814e0e2242711ed528877c9289f6a4095081b2ca686396a95d091b4", kill_on_drop: false }` [INFO] [stdout] c4c2e3c12814e0e2242711ed528877c9289f6a4095081b2ca686396a95d091b4