[INFO] cloning repository https://github.com/rickmugridge/sicp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rickmugridge/sicp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickmugridge%2Fsicp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickmugridge%2Fsicp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a955f5e9f2a0159f17f1752911b0b5ea9e05828f [INFO] testing rickmugridge/sicp against 1.91.0 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickmugridge%2Fsicp" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rickmugridge/sicp [INFO] finished tweaking git repo https://github.com/rickmugridge/sicp [INFO] tweaked toml for git repo https://github.com/rickmugridge/sicp written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rickmugridge/sicp on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rickmugridge/sicp 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndk-glue v0.5.2 [INFO] [stderr] Downloaded wayland-egl v0.29.5 [INFO] [stderr] Downloaded crossbeam-deque v0.8.3 [INFO] [stderr] Downloaded ndk-macro v0.3.0 [INFO] [stderr] Downloaded xml-rs v0.8.4 [INFO] [stderr] Downloaded calloop v0.9.3 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.4 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded glutin v0.28.0 [INFO] [stderr] Downloaded rayon-core v1.11.0 [INFO] [stderr] Downloaded gimli v0.27.2 [INFO] [stderr] Downloaded xcursor v0.3.4 [INFO] [stderr] Downloaded bytemuck v1.13.1 [INFO] [stderr] Downloaded syn v2.0.10 [INFO] [stderr] Downloaded ndk v0.5.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.54 [INFO] [stderr] Downloaded crossbeam-channel v0.5.7 [INFO] [stderr] Downloaded winit v0.26.1 [INFO] [stderr] Downloaded toml_datetime v0.6.1 [INFO] [stderr] Downloaded speedy2d v1.12.0 [INFO] [stderr] Downloaded memmap2 v0.3.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.14 [INFO] [stderr] Downloaded slotmap v0.4.3 [INFO] [stderr] Downloaded winnow v0.4.1 [INFO] [stderr] Downloaded weezl v0.1.7 [INFO] [stderr] Downloaded cocoa-foundation v0.1.1 [INFO] [stderr] Downloaded object v0.30.3 [INFO] [stderr] Downloaded core-graphics-types v0.1.1 [INFO] [stderr] Downloaded dlib v0.5.0 [INFO] [stderr] Downloaded glow v0.7.2 [INFO] [stderr] Downloaded rustc-demangle v0.1.22 [INFO] [stderr] Downloaded toml_edit v0.19.8 [INFO] [stderr] Downloaded earcutr v0.2.0 [INFO] [stderr] Downloaded backtrace v0.3.67 [INFO] [stderr] Downloaded rayon v1.7.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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03c2973580596816d4d651168a8e217a3651b7c34363c2ad1f8697c5f492cec0 [INFO] running `Command { std: "docker" "start" "-a" "03c2973580596816d4d651168a8e217a3651b7c34363c2ad1f8697c5f492cec0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03c2973580596816d4d651168a8e217a3651b7c34363c2ad1f8697c5f492cec0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03c2973580596816d4d651168a8e217a3651b7c34363c2ad1f8697c5f492cec0", kill_on_drop: false }` [INFO] [stdout] 03c2973580596816d4d651168a8e217a3651b7c34363c2ad1f8697c5f492cec0 [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=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72d71ef71217950184b48df4a1dfb646b29a74851bdcbebdfdfb95721502db01 [INFO] running `Command { std: "docker" "start" "-a" "72d71ef71217950184b48df4a1dfb646b29a74851bdcbebdfdfb95721502db01", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling proc-macro2 v1.0.54 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling gimli v0.27.2 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling rustc-demangle v0.1.22 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling earcutr v0.2.0 [INFO] [stderr] Compiling glow v0.7.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling glutin v0.28.0 [INFO] [stderr] Compiling speedy2d v1.12.0 [INFO] [stderr] Compiling sicp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/sine.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `say_hello` is never used [INFO] [stdout] --> src/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn say_hello(s: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `change_string` is never used [INFO] [stdout] --> src/main.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn change_string(s: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sqrt` is never used [INFO] [stdout] --> src/sqrt.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn sqrt(guess: f32, x: f32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `good_enough` is never used [INFO] [stdout] --> src/sqrt.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn good_enough(guess: f32, x: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fib` is never used [INFO] [stdout] --> src/fibonacci.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn fib(n: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fib_recurse` is never used [INFO] [stdout] --> src/fibonacci.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn fib_recurse(n: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_fib_recurse` is never used [INFO] [stdout] --> src/fibonacci.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn fast_fib_recurse(n: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_fib_recurse2` is never used [INFO] [stdout] --> src/fibonacci.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn fast_fib_recurse2(a: usize, b: usize, p: usize, q: usize, count: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DENOMINATIONS` is never used [INFO] [stdout] --> src/counting_change.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | static DENOMINATIONS: [i32; 5] = [1, 5, 10, 25, 50]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `counting_change` is never used [INFO] [stdout] --> src/counting_change.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn counting_change(amount: i32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cc` is never used [INFO] [stdout] --> src/counting_change.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn cc(amount: i32, coin_kinds: usize) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pascal_triangle` is never used [INFO] [stdout] --> src/pascal_triangle.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn pascal_triangle(n: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `triangle` is never used [INFO] [stdout] --> src/pascal_triangle.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn triangle(n: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_row` is never used [INFO] [stdout] --> src/pascal_triangle.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn make_row(last_row: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine` is never used [INFO] [stdout] --> src/sine.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn sine(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `poly` is never used [INFO] [stdout] --> src/sine.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn poly(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rational` is never constructed [INFO] [stdout] --> src/rational.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Rational { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rational.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Rational { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 12 | fn new(numerator: isize, denominator: isize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> src/gcd.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn gcd(a: isize, b: isize) -> isize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `List` is never used [INFO] [stdout] --> src/cons_clone.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum List where T: Clone + Copy { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cons_clone.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl List where T: Clone + Copy { [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 12 | fn cons(t: T, tail: List) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn one(t: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn from_array(a: &[T]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn head(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn tail(&self) -> Option<&List> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn map(&self, f: &dyn Fn(T) -> U) -> List where U: Clone + Copy { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn filter(&self, f: &dyn Fn(T) -> bool) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn fold(&self, base: U, op: &dyn Fn(T, U) -> U) -> U { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn nth(&self, i: isize) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn length(&self) -> isize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn length_iter(&self) -> isize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn reverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn reverse_builder(&self, accum: List) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cons` is never constructed [INFO] [stdout] --> src/cons_clone.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | struct Cons where T: Clone + Copy { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cons_clone.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl Cons where T: Clone + Copy { [INFO] [stdout] | ------------------------------------- associated function in this implementation [INFO] [stdout] 122 | fn new(car: T, cdr: List) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `List` is never used [INFO] [stdout] --> src/cons.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum List<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cons.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a, T> List<'a, T> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 11 | fn cons(t: &'a T, tail: Self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn one(t: &'a T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn from_array<'b: 'a>(a: &'b [T]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn head(&self) -> Option<&'a T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn tail(&self) -> Option<&List<'a, T>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn filter(&self, f: &dyn Fn(&'a T) -> bool) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn fold(&self, base: U, op: &dyn Fn(&'a T, U) -> U) -> U { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn nth(&self, i: isize) -> Option<&'a T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn length(&self) -> isize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn length_iter(&self) -> isize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn reverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn reverse_builder(&self, accum: List<'a, T>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cons` is never constructed [INFO] [stdout] --> src/cons.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | struct Cons<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cons.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl<'a, T> Cons<'a, T> { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 122 | fn new(car: &'a T, cdr: List<'a, T>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryTree` is never constructed [INFO] [stdout] --> src/binary_tree_immutable.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct BinaryTree where T: Clone + Copy + PartialEq + PartialOrd { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeNode` is never constructed [INFO] [stdout] --> src/binary_tree_immutable.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct TreeNode where T: Clone + Copy + PartialEq + PartialOrd { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/binary_tree_immutable.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | / impl BinaryTree [INFO] [stdout] 18 | | where T: Clone + Copy + PartialEq + PartialOrd + Ord { [INFO] [stdout] | |________________________________________________________- associated items in this implementation [INFO] [stdout] 19 | fn new(tree: Option>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn count(&self) -> isize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn map(&self, f: &dyn Fn(T) -> U) -> BinaryTree [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn contains(&self, x: T) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn immutably_add(&self, x: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn to_vec(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn from_vec(elements: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn union(&self, other: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn intersection(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/binary_tree_immutable.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 107 | impl TreeNode where T: Clone + Copy + PartialEq + PartialOrd { [INFO] [stdout] | ------------------------------------------------------------------ associated items in this implementation [INFO] [stdout] 108 | fn new(value: T, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn empty(value: T) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn count(&self) -> isize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn map(&self, f: &dyn Fn(T) -> U) -> TreeNode where U: Clone + Copy + PartialEq + PartialOrd { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn contains(&self, x: T) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn to_vec(&self, elements: &mut Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | fn from_vec(elements: &[T]) -> Option>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `immutably_add` is never used [INFO] [stdout] --> src/binary_tree_immutable.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn immutably_add(node: Rc>, x: T) -> Rc> where T: Clone + Copy + PartialEq + PartialOrd { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cloned` is never used [INFO] [stdout] --> src/binary_tree_immutable.rs:208:4 [INFO] [stdout] | [INFO] [stdout] 208 | fn cloned(node: &Option>>) -> Option>> where T: Clone + Copy + PartialEq + PartialOrd { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MutableBinaryTree` is never constructed [INFO] [stdout] --> src/binary_tree_mutable.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct MutableBinaryTree where T: Clone + Copy + PartialEq + PartialOrd { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MutableTreeNode` is never constructed [INFO] [stdout] --> src/binary_tree_mutable.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct MutableTreeNode where T: Clone + Copy + PartialEq + PartialOrd { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/binary_tree_mutable.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl MutableBinaryTree where T: Clone + Copy + PartialEq + PartialOrd { [INFO] [stdout] | --------------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 21 | fn new(tree: Option>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn count(&self) -> isize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn map(&self, f: &dyn Fn(T) -> U) -> MutableBinaryTree where U: Clone + Copy + PartialEq + PartialOrd { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn contains(&self, x: T) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn insert(&mut self, x: T) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn to_vec(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn from_vec(elements: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn find_by_key(&self, key: K) -> Option [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Record` is never used [INFO] [stdout] --> src/binary_tree_mutable.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | trait Record { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/binary_tree_mutable.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 95 | impl MutableTreeNode where T: Clone + Copy + PartialEq + PartialOrd { [INFO] [stdout] | ------------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 96 | fn new(value: T, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn empty(value: T) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn count(&self) -> isize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn map(&self, f: &dyn Fn(T) -> U) -> MutableTreeNode where U: Clone + Copy + PartialEq + PartialOrd { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn contains(&self, x: T) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn to_vec(&self, elements: &mut Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn from_vec(elements: &[T]) -> Option>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn find_by_key(&self, key: K) -> Option where [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `a` is never used [INFO] [stdout] --> src/ackermann.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn a(x: isize, y: isize) -> isize { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f` is never used [INFO] [stdout] --> src/ex1_11.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn f(n: usize) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f_iter` is never used [INFO] [stdout] --> src/ex1_11.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn f_iter(n: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exponential` is never used [INFO] [stdout] --> src/exponential.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn exponential(base: usize, n: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exponential_iter` is never used [INFO] [stdout] --> src/exponential.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn exponential_iter(base: usize, n: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_exponentiation` is never used [INFO] [stdout] --> src/exponential.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn fast_exponentiation(base: usize, exponent: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_exponential_iter` is never used [INFO] [stdout] --> src/exponential.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn fast_exponential_iter(base_given: usize, exponent_given: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiply` is never used [INFO] [stdout] --> src/exponential.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn multiply(a: usize, b: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiply_iter` is never used [INFO] [stdout] --> src/exponential.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn multiply_iter(a: usize, b: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_multiply_iter` is never used [INFO] [stdout] --> src/exponential.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn fast_multiply_iter(a: usize, b: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prime_naive` is never used [INFO] [stdout] --> src/prime.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn prime_naive(n: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_divisor` is never used [INFO] [stdout] --> src/prime.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn find_divisor(n: usize, test_divisor: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prime_naive_iter` is never used [INFO] [stdout] --> src/prime.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn prime_naive_iter(n: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exp_mod` is never used [INFO] [stdout] --> src/prime.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn exp_mod(base: usize, exponent: usize, m: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fermat_test` is never used [INFO] [stdout] --> src/prime.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn fermat_test(n: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_prime` is never used [INFO] [stdout] --> src/prime.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn fast_prime(n: usize, times: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `time_search_for_primes` is never used [INFO] [stdout] --> src/prime.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn time_search_for_primes(from: usize, f: &dyn Fn(usize) -> bool, algorithm_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_for_primes` is never used [INFO] [stdout] --> src/prime.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn search_for_primes(from: usize, f: &dyn Fn(usize) -> bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum` is never used [INFO] [stdout] --> src/sum_higher_order.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn sum(map: &Map, from: S, to: S, next: &Next) -> T [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_iter` is never used [INFO] [stdout] --> src/sum_higher_order.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn sum_iter(map: &Map, from: S, to: S, next: &Next) -> T [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_range` is never used [INFO] [stdout] --> src/sum_higher_order.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn sum_range(map: &Map, range: Range, next: &Next) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `integral` is never used [INFO] [stdout] --> src/sum_higher_order.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn integral(map: &Map, from: f64, to: f64, dx: f64) -> f64 where Map: Fn(f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `product_range` is never used [INFO] [stdout] --> src/sum_higher_order.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn product_range(map: &Map, range: Range, next: &Next) -> f64 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `product_range_mul_one` is never used [INFO] [stdout] --> src/sum_higher_order.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn product_range_mul_one(map: &Map, range: Range, next: &Next) -> T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `product_range_mul_one_recursive` is never used [INFO] [stdout] --> src/sum_higher_order.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn product_range_mul_one_recursive(map: &Map, range: Range, next: &Next) -> T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `accumulate` is never used [INFO] [stdout] --> src/sum_higher_order.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn accumulate(initial: T, map: &Map, combine: &Combine, range: Range, next: &Next) -> T [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `accumulate_iterator` is never used [INFO] [stdout] --> src/sum_higher_order.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn accumulate_iterator(initial: T, combine: &Combine, next: &mut Next) -> T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search` is never used [INFO] [stdout] --> src/roots_of_equation.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn search(f: &Function, negative_point: f64, positive_point: f64) -> f64 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `average` is never used [INFO] [stdout] --> src/roots_of_equation.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn average(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `close_enough` is never used [INFO] [stdout] --> src/roots_of_equation.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn close_enough(x: f64, y: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `half_interval` is never used [INFO] [stdout] --> src/roots_of_equation.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn half_interval(f: &Function, a: f64, b: f64) -> f64 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fixed_point` is never used [INFO] [stdout] --> src/fixed_point.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn fixed_point(f: &Function, first_guess: f64) -> f64 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_fixed_point` is never used [INFO] [stdout] --> src/fixed_point.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn try_fixed_point(f: &Function, guess: f64) -> f64 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `close_enough` is never used [INFO] [stdout] --> src/fixed_point.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn close_enough(x: f64, y: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sqrt` is never used [INFO] [stdout] --> src/fixed_point.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn sqrt(x:f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DX` is never used [INFO] [stdout] --> src/newton.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const DX: f64 = 0.00001; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `derive` is never used [INFO] [stdout] --> src/newton.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn derive(g: &dyn Fn(f64) -> f64) -> Box f64 + '_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cube` is never used [INFO] [stdout] --> src/newton.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn cube(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Algebra` is never used [INFO] [stdout] --> src/derivative.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum Algebra { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_sum`, `new_product`, `new_power`, and `derive` are never used [INFO] [stdout] --> src/derivative.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Algebra { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 13 | fn new_sum(addend: Algebra, augend: Algebra) -> Algebra { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn new_product(multiplier: Algebra, multiplicand: Algebra) -> Algebra { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn new_power(base: Algebra, exponent: Algebra) -> Algebra { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn derive(&self, variable: &str) -> Algebra { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x_max`, `y_max`, and `transform` are never used [INFO] [stdout] --> src/picture_language/frame.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Frame { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn x_max(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn y_max(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn transform(&self, v: Vector) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_window` is never used [INFO] [stdout] --> src/picture_language/window.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn run_window() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyWindowHandler` is never constructed [INFO] [stdout] --> src/picture_language/window.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct MyWindowHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_vec2` is never used [INFO] [stdout] --> src/picture_language/window.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn to_vec2(vec: &Vector) -> Vec2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/picture_language/window_handler.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl PictureWindowHandler { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 45 | pub fn add(&mut self, shape: Shape) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PolyLine` is never constructed [INFO] [stdout] --> src/picture_language/shape.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Shape { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 7 | Line(Segment, f32, Color), [INFO] [stdout] 8 | PolyLine(Vec<(Vector, Vector)>, f32, Color), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shape` 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 function `new_poly_line` is never used [INFO] [stdout] --> src/picture_language/shape.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Shape { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new_poly_line(s: Vec, thickness: f32, colour: Color) -> Shape { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tessellate_to_right`, `tessellate_to_down`, `tessellate`, and `transform` are never used [INFO] [stdout] --> src/picture_language/painter.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Painter { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn tessellate_to_right(&self, count: usize) -> CompositePainter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn tessellate_to_down(&self, count: usize) -> CompositePainter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn tessellate(&self, _translate_initial: Vector, count: usize) -> CompositePainter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn transform(&self, v: Vector) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_right`, `to_below`, and `transform` are never used [INFO] [stdout] --> src/picture_language/composite_painter.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CompositePainter { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn to_right(&self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn to_below(&self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn transform(&self, v: Vector) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Huffman` is never used [INFO] [stdout] --> src/huffman.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum Huffman { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/huffman.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Huffman { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 12 | fn new_leaf(ch: char, weight: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn new_non_leaf(left: Huffman, right: Huffman, chars: HashSet, weight: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn contains(&self, ch: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn encode(&self, s: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn encode_char(&self, ch: char) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn decode(&self, s: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn decode_with<'a>(&self, bits: &'a [char]) -> (char, &'a [char]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn make(leaves: Vec<(char, usize)>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn build(given_leaves: Vec) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn build_from_pair(left: &Huffman, right: &Huffman) -> Huffman { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn weight(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn chars(&self) -> HashSet { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Complex` is never used [INFO] [stdout] --> src/complex.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum Complex { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/complex.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Complex { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 8 | fn new_rectangular(real: f32, imaginary: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn new_polar(magnitude: f32, angle: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn real(&self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn imaginary(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn magnitude(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn angle(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn plus(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn minus(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn times(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn divided_by(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `magnitude` and `angle` are never used [INFO] [stdout] --> src/complex_trait.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 1 | trait Complex { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn magnitude(&self) -> f32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | fn angle(&self) -> f32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RectangularComplex` is never constructed [INFO] [stdout] --> src/complex_trait.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct RectangularComplex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PolarComplex` is never constructed [INFO] [stdout] --> src/complex_trait.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct PolarComplex { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/complex_trait.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl dyn Complex { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 57 | pub fn add(&self, other: &Self) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/complex_trait.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn add(a: &impl Complex, b: &impl Complex) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Complex` is never used [INFO] [stdout] --> src/complex_messaging.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum Complex { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Field` is never used [INFO] [stdout] --> src/complex_messaging.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/complex_messaging.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Complex { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 15 | fn new_rectangular(real: f32, imaginary: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn new_polar(magnitude: f32, angle: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn dispatch(&self, field: Field) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn real(&self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn imaginary(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn magnitude(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn angle(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn plus(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn minus(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn times(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn divided_by(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 08s [INFO] running `Command { std: "docker" "inspect" "72d71ef71217950184b48df4a1dfb646b29a74851bdcbebdfdfb95721502db01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72d71ef71217950184b48df4a1dfb646b29a74851bdcbebdfdfb95721502db01", kill_on_drop: false }` [INFO] [stdout] 72d71ef71217950184b48df4a1dfb646b29a74851bdcbebdfdfb95721502db01 [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=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cf8fdc060deb8c785577c37c76a7370e55611b5ae66fcc1f1b59c65381c5aa4 [INFO] running `Command { std: "docker" "start" "-a" "7cf8fdc060deb8c785577c37c76a7370e55611b5ae66fcc1f1b59c65381c5aa4", kill_on_drop: false }` [INFO] [stderr] Compiling sicp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `say_hello` is never used [INFO] [stdout] --> src/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn say_hello(s: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `change_string` is never used [INFO] [stdout] --> src/main.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn change_string(s: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `immutably_add` is never used [INFO] [stdout] --> src/binary_tree_immutable.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 17 | / impl BinaryTree [INFO] [stdout] 18 | | where T: Clone + Copy + PartialEq + PartialOrd + Ord { [INFO] [stdout] | |________________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn immutably_add(&self, x: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/binary_tree_immutable.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 107 | impl TreeNode where T: Clone + Copy + PartialEq + PartialOrd { [INFO] [stdout] | ------------------------------------------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | fn empty(value: T) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `immutably_add` is never used [INFO] [stdout] --> src/binary_tree_immutable.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn immutably_add(node: Rc>, x: T) -> Rc> where T: Clone + Copy + PartialEq + PartialOrd { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cloned` is never used [INFO] [stdout] --> src/binary_tree_immutable.rs:208:4 [INFO] [stdout] | [INFO] [stdout] 208 | fn cloned(node: &Option>>) -> Option>> where T: Clone + Copy + PartialEq + PartialOrd { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/binary_tree_mutable.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 95 | impl MutableTreeNode where T: Clone + Copy + PartialEq + PartialOrd { [INFO] [stdout] | ------------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | fn empty(value: T) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x_max`, `y_max`, and `transform` are never used [INFO] [stdout] --> src/picture_language/frame.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Frame { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn x_max(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn y_max(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn transform(&self, v: Vector) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_window` is never used [INFO] [stdout] --> src/picture_language/window.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn run_window() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyWindowHandler` is never constructed [INFO] [stdout] --> src/picture_language/window.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct MyWindowHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_vec2` is never used [INFO] [stdout] --> src/picture_language/window.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn to_vec2(vec: &Vector) -> Vec2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/picture_language/window_handler.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl PictureWindowHandler { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 45 | pub fn add(&mut self, shape: Shape) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PolyLine` is never constructed [INFO] [stdout] --> src/picture_language/shape.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Shape { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 7 | Line(Segment, f32, Color), [INFO] [stdout] 8 | PolyLine(Vec<(Vector, Vector)>, f32, Color), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shape` 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 function `new_poly_line` is never used [INFO] [stdout] --> src/picture_language/shape.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Shape { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new_poly_line(s: Vec, thickness: f32, colour: Color) -> Shape { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tessellate_to_right`, `tessellate_to_down`, `tessellate`, and `transform` are never used [INFO] [stdout] --> src/picture_language/painter.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Painter { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn tessellate_to_right(&self, count: usize) -> CompositePainter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn tessellate_to_down(&self, count: usize) -> CompositePainter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn tessellate(&self, _translate_initial: Vector, count: usize) -> CompositePainter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn transform(&self, v: Vector) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_right`, `to_below`, and `transform` are never used [INFO] [stdout] --> src/picture_language/composite_painter.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CompositePainter { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn to_right(&self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn to_below(&self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn transform(&self, v: Vector) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `minus`, `times`, and `divided_by` are never used [INFO] [stdout] --> src/complex.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Complex { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | fn minus(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn times(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn divided_by(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/complex_trait.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl dyn Complex { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 57 | pub fn add(&self, other: &Self) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `minus`, `times`, and `divided_by` are never used [INFO] [stdout] --> src/complex_messaging.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Complex { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | fn minus(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn times(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn divided_by(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/binary_tree_mutable.rs:248:45 [INFO] [stdout] | [INFO] [stdout] 248 | Self::new(self.id, self.name.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.08s [INFO] running `Command { std: "docker" "inspect" "7cf8fdc060deb8c785577c37c76a7370e55611b5ae66fcc1f1b59c65381c5aa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cf8fdc060deb8c785577c37c76a7370e55611b5ae66fcc1f1b59c65381c5aa4", kill_on_drop: false }` [INFO] [stdout] 7cf8fdc060deb8c785577c37c76a7370e55611b5ae66fcc1f1b59c65381c5aa4 [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=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e24e476c8c397bede0e0eeb9985895f1ceea450bb8f1dd22460ac51aef5c9a9 [INFO] running `Command { std: "docker" "start" "-a" "8e24e476c8c397bede0e0eeb9985895f1ceea450bb8f1dd22460ac51aef5c9a9", kill_on_drop: false }` [INFO] [stderr] warning: function `say_hello` is never used [INFO] [stderr] --> src/main.rs:44:4 [INFO] [stderr] | [INFO] [stderr] 44 | fn say_hello(s: &str) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `change_string` is never used [INFO] [stderr] --> src/main.rs:48:4 [INFO] [stderr] | [INFO] [stderr] 48 | fn change_string(s: &mut String) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `immutably_add` is never used [INFO] [stderr] --> src/binary_tree_immutable.rs:51:8 [INFO] [stderr] | [INFO] [stderr] 17 | / impl BinaryTree [INFO] [stderr] 18 | | where T: Clone + Copy + PartialEq + PartialOrd + Ord { [INFO] [stderr] | |________________________________________________________- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 51 | fn immutably_add(&self, x: T) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `empty` is never used [INFO] [stderr] --> src/binary_tree_immutable.rs:114:8 [INFO] [stderr] | [INFO] [stderr] 107 | impl TreeNode where T: Clone + Copy + PartialEq + PartialOrd { [INFO] [stderr] | ------------------------------------------------------------------ associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 114 | fn empty(value: T) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `immutably_add` is never used [INFO] [stderr] --> src/binary_tree_immutable.rs:175:4 [INFO] [stderr] | [INFO] [stderr] 175 | fn immutably_add(node: Rc>, x: T) -> Rc> where T: Clone + Copy + PartialEq + PartialOrd { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `cloned` is never used [INFO] [stderr] --> src/binary_tree_immutable.rs:208:4 [INFO] [stderr] | [INFO] [stderr] 208 | fn cloned(node: &Option>>) -> Option>> where T: Clone + Copy + PartialEq + PartialOrd { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `empty` is never used [INFO] [stderr] --> src/binary_tree_mutable.rs:102:8 [INFO] [stderr] | [INFO] [stderr] 95 | impl MutableTreeNode where T: Clone + Copy + PartialEq + PartialOrd { [INFO] [stderr] | ------------------------------------------------------------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 102 | fn empty(value: T) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `x_max`, `y_max`, and `transform` are never used [INFO] [stderr] --> src/picture_language/frame.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl Frame { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 34 | pub fn x_max(&self) -> f32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn y_max(&self) -> f32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | pub fn transform(&self, v: Vector) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run_window` is never used [INFO] [stderr] --> src/picture_language/window.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn run_window() { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MyWindowHandler` is never constructed [INFO] [stderr] --> src/picture_language/window.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | struct MyWindowHandler { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `to_vec2` is never used [INFO] [stderr] --> src/picture_language/window.rs:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | fn to_vec2(vec: &Vector) -> Vec2 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `add` is never used [INFO] [stderr] --> src/picture_language/window_handler.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 44 | impl PictureWindowHandler { [INFO] [stderr] | ------------------------- method in this implementation [INFO] [stderr] 45 | pub fn add(&mut self, shape: Shape) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `PolyLine` is never constructed [INFO] [stderr] --> src/picture_language/shape.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub enum Shape { [INFO] [stderr] | ----- variant in this enum [INFO] [stderr] 7 | Line(Segment, f32, Color), [INFO] [stderr] 8 | PolyLine(Vec<(Vector, Vector)>, f32, Color), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Shape` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new_poly_line` is never used [INFO] [stderr] --> src/picture_language/shape.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl Shape { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 17 | pub fn new_poly_line(s: Vec, thickness: f32, colour: Color) -> Shape { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `tessellate_to_right`, `tessellate_to_down`, `tessellate`, and `transform` are never used [INFO] [stderr] --> src/picture_language/painter.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl Painter { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn tessellate_to_right(&self, count: usize) -> CompositePainter { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | pub fn tessellate_to_down(&self, count: usize) -> CompositePainter { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn tessellate(&self, _translate_initial: Vector, count: usize) -> CompositePainter { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 64 | fn transform(&self, v: Vector) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `to_right`, `to_below`, and `transform` are never used [INFO] [stderr] --> src/picture_language/composite_painter.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl CompositePainter { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 34 | pub fn to_right(&self) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn to_below(&self) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | fn transform(&self, v: Vector) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `minus`, `times`, and `divided_by` are never used [INFO] [stderr] --> src/complex.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 7 | impl Complex { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 49 | fn minus(&self, other: &Self) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | fn times(&self, other: &Self) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | fn divided_by(&self, other: &Self) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `add` is never used [INFO] [stderr] --> src/complex_trait.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 56 | impl dyn Complex { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] 57 | pub fn add(&self, other: &Self) -> Box { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `minus`, `times`, and `divided_by` are never used [INFO] [stderr] --> src/complex_messaging.rs:66:8 [INFO] [stderr] | [INFO] [stderr] 14 | impl Complex { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 66 | fn minus(&self, other: &Self) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | fn times(&self, other: &Self) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 76 | fn divided_by(&self, other: &Self) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/binary_tree_mutable.rs:248:45 [INFO] [stderr] | [INFO] [stderr] 248 | Self::new(self.id, self.name.clone()) [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `sicp` (bin "sicp" test) generated 20 warnings (run `cargo fix --bin "sicp" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sicp-1174ba1806ca2fbb) [INFO] [stdout] [INFO] [stdout] running 127 tests [INFO] [stdout] test ackermann::tests::a0 ... ok [INFO] [stdout] test ackermann::tests::egs ... ok [INFO] [stdout] test binary_tree_immutable::tests::count ... ok [INFO] [stdout] test binary_tree_immutable::tests::from_vec_empty ... ok [INFO] [stdout] test binary_tree_immutable::tests::from_vec ... ok [INFO] [stdout] test binary_tree_mutable::tests::contains ... ok [INFO] [stdout] test binary_tree_mutable::tests::count ... ok [INFO] [stdout] test binary_tree_immutable::tests::contains ... ok [INFO] [stdout] test binary_tree_mutable::tests::from_vec ... ok [INFO] [stdout] test binary_tree_mutable::tests::info_retrieval ... ok [INFO] [stdout] test binary_tree_immutable::tests::union ... ok [INFO] [stdout] test binary_tree_mutable::tests::insert ... ok [INFO] [stdout] test binary_tree_mutable::tests::map ... ok [INFO] [stdout] test complex::tests::polar ... ok [INFO] [stdout] test complex::tests::rectangular ... ok [INFO] [stdout] test complex_messaging::tests::plus ... ok [INFO] [stdout] test complex_trait::tests::rectangular ... ok [INFO] [stdout] test complex_messaging::tests::polar ... ok [INFO] [stdout] test complex_messaging::tests::rectangular ... ok [INFO] [stdout] test complex_trait::tests::plus2 ... ok [INFO] [stdout] test complex_trait::tests::polar ... ok [INFO] [stdout] test cons::tests::filter ... ok [INFO] [stdout] test cons::tests::fold ... ok [INFO] [stdout] test cons::tests::head ... ok [INFO] [stdout] test cons::tests::from_array ... ok [INFO] [stdout] test cons::tests::is_empty ... ok [INFO] [stdout] test cons::tests::nth ... ok [INFO] [stdout] test cons::tests::length ... ok [INFO] [stdout] test cons::tests::reverse ... ok [INFO] [stdout] test cons_clone::tests::filter ... ok [INFO] [stdout] test cons::tests::tail ... ok [INFO] [stdout] test cons_clone::tests::head ... ok [INFO] [stdout] test cons_clone::tests::map ... ok [INFO] [stdout] test cons_clone::tests::fold ... ok [INFO] [stdout] test cons_clone::tests::length_iter ... ok [INFO] [stdout] test cons_clone::tests::length ... ok [INFO] [stdout] test cons_clone::tests::is_empty ... ok [INFO] [stdout] test cons_clone::tests::nth ... ok [INFO] [stdout] test counting_change::tests::fib0 ... ok [INFO] [stdout] test cons_clone::tests::reverse ... ok [INFO] [stdout] test counting_change::tests::fib1 ... ok [INFO] [stdout] test cons_clone::tests::tail ... ok [INFO] [stdout] test counting_change::tests::fib11 ... ok [INFO] [stdout] test counting_change::tests::fib10 ... ok [INFO] [stdout] test counting_change::tests::fib5 ... ok [INFO] [stdout] test counting_change::tests::fib50 ... ok [INFO] [stdout] test derivative::tests::constant_derivative ... ok [INFO] [stdout] test derivative::tests::mixed ... ok [INFO] [stdout] test derivative::tests::power ... ok [INFO] [stdout] test derivative::tests::sum ... ok [INFO] [stdout] test binary_tree_mutable::tests::from_vec_empty ... ok [INFO] [stdout] test derivative::tests::variable_differs ... ok [INFO] [stdout] test derivative::tests::variable_same ... ok [INFO] [stdout] test ex1_11::tests::eg ... ok [INFO] [stdout] test exponential::tests::exponential_iter_ ... ok [INFO] [stdout] test exponential::tests::fast_exponential_ ... ok [INFO] [stdout] test exponential::tests::fast_multiply_iter_ ... ok [INFO] [stdout] test exponential::tests::fast_exponential_iter_ ... ok [INFO] [stdout] test exponential::tests::multiply_ ... ok [INFO] [stdout] test exponential::tests::multiply_iter_ ... ok [INFO] [stdout] test fibonacci::tests::fast_fib_recurse_ ... ok [INFO] [stdout] test complex_trait::tests::plus ... ok [INFO] [stdout] test complex::tests::plus ... ok [INFO] [stdout] test fibonacci::tests::fib0_recurse ... ok [INFO] [stdout] test fixed_point::tests::fixed_point_sqrt ... ok [INFO] [stdout] test gcd::tests::gcd0 ... ok [INFO] [stdout] test gcd::tests::remainder ... ok [INFO] [stdout] test huffman::tests::leaf ... ok [INFO] [stdout] test gcd::tests::gcd1 ... ok [INFO] [stdout] test huffman::tests::non_leaf ... ok [INFO] [stdout] test huffman::tests::make_encode_decode ... ok [INFO] [stdout] test pascal_triangle::tests::triangle1 ... ok [INFO] [stdout] test newton::tests::derivative_of_cube ... ok [INFO] [stdout] test pascal_triangle::tests::triangle2 ... ok [INFO] [stdout] test pascal_triangle::tests::triangle3 ... ok [INFO] [stdout] test pascal_triangle::tests::triangle4 ... ok [INFO] [stdout] test picture_language::frame::tests::map_from_origin ... ok [INFO] [stdout] test pascal_triangle::tests::triangle5 ... ok [INFO] [stdout] test picture_language::frame::tests::map_off_origin ... ok [INFO] [stdout] test picture_language::vector::tests::scale ... ok [INFO] [stdout] test picture_language::vector::tests::add ... ok [INFO] [stdout] test picture_language::vector::tests::subtract ... ok [INFO] [stdout] test picture_language::segment::tests::add ... ok [INFO] [stdout] test prime::tests::ex_1_21 ... ok [INFO] [stdout] test prime::tests::ex_1_22 ... ok [INFO] [stdout] test prime::tests::prime_false ... ok [INFO] [stdout] test rational::tests::add ... ok [INFO] [stdout] test prime::tests::prime_true ... ok [INFO] [stdout] test rational::tests::make ... ok [INFO] [stdout] test rational::tests::make_gcd ... ok [INFO] [stdout] test rational::tests::subtract ... ok [INFO] [stdout] test roots_of_equation::tests::half_interval_poly ... ok [INFO] [stdout] test roots_of_equation::tests::half_interval_sine ... ok [INFO] [stdout] test sine::tests::half ... ok [INFO] [stdout] test sine::tests::pi ... ok [INFO] [stdout] test sine::tests::small_enough ... ok [INFO] [stdout] test roots_of_equation::tests::average_ ... ok [INFO] [stdout] test sine::tests::one ... ok [INFO] [stdout] test sine::tests::zero ... ok [INFO] [stdout] test sqrt::tests::sqrt_1 ... ok [INFO] [stdout] test binary_tree_immutable::tests::map ... ok [INFO] [stdout] test binary_tree_immutable::tests::intersection ... ok [INFO] [stdout] test sqrt::tests::sqrt_9 ... ok [INFO] [stdout] test sum_higher_order::tests::accumulate_sum_of_integers ... ok [INFO] [stdout] test sum_higher_order::tests::factorial_with_product ... ok [INFO] [stdout] test sum_higher_order::tests::accumulate_product_of_integers ... ok [INFO] [stdout] test sum_higher_order::tests::integral_ ... ok [INFO] [stdout] test sum_higher_order::tests::pi_with_product ... ok [INFO] [stdout] test sum_higher_order::tests::product_of_integers ... ok [INFO] [stdout] test sum_higher_order::tests::sum_of_cubes ... ok [INFO] [stdout] test sum_higher_order::tests::sum_of_integers ... ok [INFO] [stdout] test tests::t ... ok [INFO] [stdout] test ackermann::tests::a1 ... ok [INFO] [stdout] test derivative::tests::power2 ... ok [INFO] [stdout] test cons::tests::length_iter ... ok [INFO] [stdout] test cons_clone::tests::from_array ... ok [INFO] [stdout] test ex1_11::tests::eg_iter ... ok [INFO] [stdout] test exponential::tests::exponential_ ... ok [INFO] [stdout] test fibonacci::tests::fib0 ... ok [INFO] [stdout] test sine::tests::two ... ok [INFO] [stdout] test derivative::tests::product ... ok [INFO] [stdout] test ackermann::tests::a2 ... ok [INFO] [stdout] test sine::tests::third ... ok [INFO] [stdout] test sqrt::tests::sqrt_2 ... ok [INFO] [stdout] test sum_higher_order::tests::pi_sum ... ok [INFO] [stdout] test fixed_point::tests::fixed_point_cos ... ok [INFO] [stdout] test fixed_point::tests::fixed_point_trig_eqn ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- fixed_point::tests::fixed_point_trig_eqn stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'fixed_point::tests::fixed_point_trig_eqn' (101) panicked at src/fixed_point.rs:35:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 1.2586974741689443 [INFO] [stdout] right: 1.2586974741689445 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x602ca4f6f552 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x602ca4f6f552 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x602ca4f6f552 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x602ca4f6f552 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x602ca4f8152f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x602ca4f8152f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x602ca4f3caa1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x602ca4f3caa1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x602ca4f48b72 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x602ca4f4d6bf - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x602ca4f4d551 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x602ca4eca0de - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x602ca4eca0de - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x602ca4f4dd7f - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x602ca4f4dd7f - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x602ca4f4dbda - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x602ca4f48ca9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x602ca4f310dd - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x602ca4f89470 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x602ca4f89273 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x602ca4ea631f - core::panicking::assert_failed::h903255666ab73086 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x602ca4e90133 - sicp::fixed_point::tests::fixed_point_trig_eqn::h2bec7d980e435800 [INFO] [stdout] at /opt/rustwide/workdir/src/fixed_point.rs:35:9 [INFO] [stdout] 22: 0x602ca4e90197 - sicp::fixed_point::tests::fixed_point_trig_eqn::{{closure}}::hec67149fb6e219a8 [INFO] [stdout] at /opt/rustwide/workdir/src/fixed_point.rs:33:30 [INFO] [stdout] 23: 0x602ca4e89e16 - core::ops::function::FnOnce::call_once::h8e2088ccfdbe8ca3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x602ca4ec9ebb - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x602ca4ec9ebb - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x602ca4edfaf5 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x602ca4edfaf5 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x602ca4edfaf5 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x602ca4edfaf5 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x602ca4edfaf5 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x602ca4edfaf5 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x602ca4edfaf5 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x602ca4eb62f4 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x602ca4eb62f4 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x602ca4eb9c9a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x602ca4eb9c9a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x602ca4eb9c9a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x602ca4eb9c9a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x602ca4eb9c9a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x602ca4eb9c9a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x602ca4eb9c9a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x602ca4f43e9f - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x602ca4f43e9f - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x772449499aa4 - [INFO] [stdout] 45: 0x772449526a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] fixed_point::tests::fixed_point_trig_eqn [INFO] [stdout] [INFO] [stdout] test result: FAILED. 126 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin sicp` [INFO] running `Command { std: "docker" "inspect" "8e24e476c8c397bede0e0eeb9985895f1ceea450bb8f1dd22460ac51aef5c9a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e24e476c8c397bede0e0eeb9985895f1ceea450bb8f1dd22460ac51aef5c9a9", kill_on_drop: false }` [INFO] [stdout] 8e24e476c8c397bede0e0eeb9985895f1ceea450bb8f1dd22460ac51aef5c9a9