[INFO] cloning repository https://github.com/seanlth/boltzmann [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seanlth/boltzmann" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanlth%2Fboltzmann", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanlth%2Fboltzmann'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75234d82d82666c389f86188ecd7318b8cced74a [INFO] testing seanlth/boltzmann against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanlth%2Fboltzmann" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seanlth/boltzmann on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/seanlth/boltzmann [INFO] finished tweaking git repo https://github.com/seanlth/boltzmann [INFO] tweaked toml for git repo https://github.com/seanlth/boltzmann written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/seanlth/boltzmann already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c6c0f24913bd1d6dcf83fcdd008897b7901ea82b587216586bca5df3ffaf768 [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" "2c6c0f24913bd1d6dcf83fcdd008897b7901ea82b587216586bca5df3ffaf768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c6c0f24913bd1d6dcf83fcdd008897b7901ea82b587216586bca5df3ffaf768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c6c0f24913bd1d6dcf83fcdd008897b7901ea82b587216586bca5df3ffaf768", kill_on_drop: false }` [INFO] [stdout] 2c6c0f24913bd1d6dcf83fcdd008897b7901ea82b587216586bca5df3ffaf768 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", 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] e3917cf4d044c67c388cda84c60232aa1fa5582c3442e7ad4a025a175a36db16 [INFO] running `Command { std: "docker" "start" "-a" "e3917cf4d044c67c388cda84c60232aa1fa5582c3442e7ad4a025a175a36db16", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.17 [INFO] [stderr] Compiling phf_shared v0.7.20 [INFO] [stderr] Compiling serde v0.8.20 [INFO] [stderr] Compiling gcc v0.3.42 [INFO] [stderr] Compiling rustc-demangle v0.1.3 [INFO] [stderr] Compiling variance v0.1.3 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling scopeguard v0.1.2 [INFO] [stderr] Compiling xml-rs v0.3.5 [INFO] [stderr] Compiling x11-dl v2.11.0 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling phf v0.7.20 [INFO] [stderr] Compiling scoped-pool v1.0.0 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling shared_library v0.1.5 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-scanner v0.7.6 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling phf_generator v0.7.20 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling phf_codegen v0.7.20 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling wayland-client v0.7.6 [INFO] [stderr] Compiling serde_json v0.8.4 [INFO] [stderr] Compiling glutin v0.7.2 [INFO] [stderr] Compiling glium v0.16.0 [INFO] [stderr] Compiling libloading v0.3.1 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.7.6 [INFO] [stderr] Compiling wayland-window v0.4.3 [INFO] [stderr] Compiling wayland-kbd v0.6.2 [INFO] [stderr] Compiling winit v0.5.7 [INFO] [stderr] Compiling boltzmann v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/config.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(deprecated)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/config.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scope` [INFO] [stdout] --> src/spatial_hash.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use scoped_pool::{Pool, Scope}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scope` [INFO] [stdout] --> src/quadtree.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use scoped_pool::{Pool, Scope}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulator.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Probability = Fn() -> f64; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> f64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulator.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | attributes: Vec>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Attribute` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulator.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn attribute(&self, id: usize) -> &Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Attribute` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/attribute.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | fn collision_update(&mut self, usize, usize, _: &Particle, _: &Particle) { } [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/attribute.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | fn collision_update(&mut self, usize, usize, _: &Particle, _: &Particle) { } [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/attribute.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | fn update(&mut self, usize, _: &Particle) { } [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `virus_attr` should have an upper camel case name [INFO] [stdout] --> src/attribute.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | impl_collision_attribute! { virus_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `VirusAttr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `density_attr` should have an upper camel case name [INFO] [stdout] --> src/attribute.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | impl_collision_attribute! { density_attr, self, i, j, p1, p2, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DensityAttr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `tag_attr` should have an upper camel case name [INFO] [stdout] --> src/attribute.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | impl_collision_attribute! { tag_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `TagAttr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `visted_attr` should have an upper camel case name [INFO] [stdout] --> src/attribute.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | impl_collision_attribute! { visted_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `VistedAttr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `range_attr` should have an upper camel case name [INFO] [stdout] --> src/attribute.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | impl_collision_attribute! { range_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `RangeAttr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `speed_attr` should have an upper camel case name [INFO] [stdout] --> src/attribute.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | impl_attribute! { speed_attr, self, i, p, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `SpeedAttr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::uniforms::Uniforms` [INFO] [stdout] --> src/drawing.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glium::uniforms::Uniforms; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::uniforms::EmptyUniforms` [INFO] [stdout] --> src/drawing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use glium::uniforms::EmptyUniforms; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/attribute.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let max = self.t[i].max(self.t[j]); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/attribute.rs:79:53 [INFO] [stdout] | [INFO] [stdout] 79 | impl_collision_attribute! { virus_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/attribute.rs:79:57 [INFO] [stdout] | [INFO] [stdout] 79 | impl_collision_attribute! { virus_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/attribute.rs:98:55 [INFO] [stdout] | [INFO] [stdout] 98 | impl_collision_attribute! { density_attr, self, i, j, p1, p2, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/attribute.rs:98:59 [INFO] [stdout] | [INFO] [stdout] 98 | impl_collision_attribute! { density_attr, self, i, j, p1, p2, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/attribute.rs:105:51 [INFO] [stdout] | [INFO] [stdout] 105 | impl_collision_attribute! { tag_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/attribute.rs:105:55 [INFO] [stdout] | [INFO] [stdout] 105 | impl_collision_attribute! { tag_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/attribute.rs:113:54 [INFO] [stdout] | [INFO] [stdout] 113 | impl_collision_attribute! { visted_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/attribute.rs:113:58 [INFO] [stdout] | [INFO] [stdout] 113 | impl_collision_attribute! { visted_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/attribute.rs:122:53 [INFO] [stdout] | [INFO] [stdout] 122 | impl_collision_attribute! { range_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/attribute.rs:122:57 [INFO] [stdout] | [INFO] [stdout] 122 | impl_collision_attribute! { range_attr, self, i, j, p1, p2, 0.0, 1.0, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/drawing.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | for (i, &(v, (r, g, b))) in self.data.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/drawing.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let len = data.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulator.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | for (i, mut p) in &mut self.particles.iter_mut().enumerate() { [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: function is never used: `naive_collision_check` [INFO] [stdout] --> src/collision.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn naive_collision_check(radius: f64, particles: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/quadtree.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | self.empty == true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quad` [INFO] [stdout] --> src/main.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | let quad = Quadtree::new(width as f64, height as f64, radius); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_quad` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `histogram_2d` [INFO] [stdout] --> src/main.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn histogram_2d(data: Vec, max_x: f64, max_y: f64, number_of_rows: usize, number_of_columns: usize) -> (f64, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/boltzmann-7b734afc2bf8ed7d.boltzmann.c13831ff-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/boltzmann-7b734afc2bf8ed7d.boltzmann.c13831ff-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/boltzmann-7b734afc2bf8ed7d.boltzmann.c13831ff-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/boltzmann-7b734afc2bf8ed7d.boltzmann.c13831ff-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/boltzmann-7b734afc2bf8ed7d.boltzmann.c13831ff-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/boltzmann-7b734afc2bf8ed7d.boltzmann.c13831ff-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/boltzmann-7b734afc2bf8ed7d.boltzmann.c13831ff-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/boltzmann-7b734afc2bf8ed7d.boltzmann.c13831ff-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/boltzmann-7b734afc2bf8ed7d.boltzmann.c13831ff-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/boltzmann-7b734afc2bf8ed7d.boltzmann.c13831ff-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/boltzmann-7b734afc2bf8ed7d.boltzmann.c13831ff-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/boltzmann-7b734afc2bf8ed7d.boltzmann.c13831ff-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/boltzmann-7b734afc2bf8ed7d.boltzmann.c13831ff-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/boltzmann-7b734afc2bf8ed7d.boltzmann.c13831ff-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/boltzmann-7b734afc2bf8ed7d.boltzmann.c13831ff-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/boltzmann-7b734afc2bf8ed7d.boltzmann.c13831ff-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/boltzmann-7b734afc2bf8ed7d.18v5591jc3bk1c0s.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libboltzmann-762dced2ba8003ba.rlib" "/opt/rustwide/target/debug/deps/libtoml-7da35692f15f0561.rlib" "/opt/rustwide/target/debug/deps/libscoped_pool-a511181eb46e1145.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-8acce24d9a5ea3f2.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-c627f0ff48c21f11.rlib" "/opt/rustwide/target/debug/deps/libvariance-d9f47ae64a8716ec.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-0e10216c64e454b4.rlib" "/opt/rustwide/target/debug/deps/libglium-109a1f123a1e188f.rlib" "/opt/rustwide/target/debug/deps/libglutin-0027aba27db9e992.rlib" "/opt/rustwide/target/debug/deps/libosmesa_sys-dd7e5f1b4269ba43.rlib" "/opt/rustwide/target/debug/deps/libwinit-e291a6bff1f8a007.rlib" "/opt/rustwide/target/debug/deps/libwayland_window-2a17157bcfe43ed4.rlib" "/opt/rustwide/target/debug/deps/libtempfile-7bad07de5380d752.rlib" "/opt/rustwide/target/debug/deps/librand-78cad4b4126fd6b4.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-dee9f612019fe116.rlib" "/opt/rustwide/target/debug/deps/libwayland_kbd-52d5be102e3e3e75.rlib" "/opt/rustwide/target/debug/deps/libmemmap-2962481c9cd6e114.rlib" "/opt/rustwide/target/debug/deps/libwayland_client-3ff8df937bc9d8c8.rlib" "/opt/rustwide/target/debug/deps/libwayland_sys-8a663e9c835af55d.rlib" "/opt/rustwide/target/debug/deps/libdlib-e3483d787dc3161c.rlib" "/opt/rustwide/target/debug/deps/liblibloading-6d16262a9ce46406.rlib" "/opt/rustwide/target/debug/deps/libbitflags-b22133e6ab819f70.rlib" "/opt/rustwide/target/debug/deps/libx11_dl-a3e676756fc8d3e0.rlib" "/opt/rustwide/target/debug/deps/libshared_library-09d21f2faf097ebe.rlib" "/opt/rustwide/target/debug/deps/libfnv-8b8c3e78b68a9be8.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-9f03f23545b118d8.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-02ba60dfe0568caa.rlib" "/opt/rustwide/target/debug/deps/libbacktrace_sys-ae4e01553318f8a0.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-05b07151452f007a.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-33d6be977058b36c.rlib" "/opt/rustwide/target/debug/deps/libdbghelp-a84ca1bc5e51cf01.rlib" "/opt/rustwide/target/debug/deps/libwinapi-91b2b0ae1989e851.rlib" "/opt/rustwide/target/debug/deps/libkernel32-22de4dded38eac93.rlib" "/opt/rustwide/target/debug/deps/liblibc-ab0fba7db4b7ab7d.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-d35d41b8217d9572.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/boltzmann-7b734afc2bf8ed7d" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libbacktrace-02ba60dfe0568caa.rlib(backtrace-02ba60dfe0568caa.backtrace.11d3ff77-cgu.11.rcgu.o): in function `backtrace::symbolize::libbacktrace::init_state::{{closure}}': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/backtrace-0.2.3/src/symbolize/libbacktrace.rs:150: undefined reference to `backtrace_create_state' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libbacktrace-02ba60dfe0568caa.rlib(backtrace-02ba60dfe0568caa.backtrace.11d3ff77-cgu.11.rcgu.o): in function `backtrace::symbolize::libbacktrace::resolve': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/backtrace-0.2.3/src/symbolize/libbacktrace.rs:167: undefined reference to `backtrace_pcinfo' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/backtrace-0.2.3/src/symbolize/libbacktrace.rs:171: undefined reference to `backtrace_syminfo' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `boltzmann` due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e3917cf4d044c67c388cda84c60232aa1fa5582c3442e7ad4a025a175a36db16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3917cf4d044c67c388cda84c60232aa1fa5582c3442e7ad4a025a175a36db16", kill_on_drop: false }` [INFO] [stdout] e3917cf4d044c67c388cda84c60232aa1fa5582c3442e7ad4a025a175a36db16