[INFO] cloning repository https://github.com/1egoman/rust-timeseries [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1egoman/rust-timeseries" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1egoman%2Frust-timeseries", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1egoman%2Frust-timeseries'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 464e5860cc059b8cc5d0a1da4548be185406b733 [INFO] checking 1egoman/rust-timeseries against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1egoman%2Frust-timeseries" "/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/1egoman/rust-timeseries on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/1egoman/rust-timeseries [INFO] finished tweaking git repo https://github.com/1egoman/rust-timeseries [INFO] tweaked toml for git repo https://github.com/1egoman/rust-timeseries written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/1egoman/rust-timeseries already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple_logger v0.5.0 [INFO] [stderr] Downloaded chrono v0.4.3 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c146ef959e21f539b221bff74cee75c7086a360496b2be228bd801ea5e03cfd [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" "7c146ef959e21f539b221bff74cee75c7086a360496b2be228bd801ea5e03cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c146ef959e21f539b221bff74cee75c7086a360496b2be228bd801ea5e03cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c146ef959e21f539b221bff74cee75c7086a360496b2be228bd801ea5e03cfd", kill_on_drop: false }` [INFO] [stdout] 7c146ef959e21f539b221bff74cee75c7086a360496b2be228bd801ea5e03cfd [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=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff205d48273a94587b3a4c5ef481b55a195ed24c23370707e58e6ef10267c6bc [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" "ff205d48273a94587b3a4c5ef481b55a195ed24c23370707e58e6ef10267c6bc", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Checking log v0.4.2 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking simple_logger v0.5.0 [INFO] [stderr] Checking chrono v0.4.3 [INFO] [stderr] Checking timeseries v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chart` [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut chart = Chart { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chart` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection` [INFO] [stdout] --> src/chart/chart_index.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | let (node_less, projection) = self.project_index_node(node_less_index, projection); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection` [INFO] [stdout] --> src/chart/chart_index.rs:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | let (node_more, projection) = self.project_index_node(node_more_index, projection); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection` [INFO] [stdout] --> src/chart/projection.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | projection: &Projection, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/chart/projection.rs:191:76 [INFO] [stdout] | [INFO] [stdout] 191 | ProjectionOperationResult { action: "REPLACE", index: Some(index)} => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut chart = Chart { [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: `linear_interpolation` [INFO] [stdout] --> src/chart/chart.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn linear_interpolation(starting_value: f64, ending_value: f64, percentage: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_value_vec` [INFO] [stdout] --> src/chart/chart.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_value_vec(&self, timestamp: DateTime) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `interpolate_between_points` [INFO] [stdout] --> src/chart/chart.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn interpolate_between_points(&self, timestamp: DateTime, point_before: &Point, point_after: &Point) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rebalance_index_node` [INFO] [stdout] --> src/chart/chart_index.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn rebalance_index_node(&mut self, node_index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_index` [INFO] [stdout] --> src/chart/chart_index.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn build_index(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_value_projection` [INFO] [stdout] --> src/chart/chart_index.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn get_value_projection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_value` [INFO] [stdout] --> src/chart/chart_index.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn get_value(&self, timestamp: DateTime) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lookup_in_index` [INFO] [stdout] --> src/chart/chart_index.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn lookup_in_index(&self, timestamp: DateTime) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_node_less_than` [INFO] [stdout] --> src/chart/chart_index.rs:236:6 [INFO] [stdout] | [INFO] [stdout] 236 | fn get_node_less_than(&self, node_index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_node_more_than` [INFO] [stdout] --> src/chart/chart_index.rs:263:6 [INFO] [stdout] | [INFO] [stdout] 263 | fn get_node_more_than(&self, node_index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_indexes` [INFO] [stdout] --> src/chart/chart_index.rs:291:10 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn print_indexes(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_default_value` [INFO] [stdout] --> src/chart/point_index.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new_default_value() -> PointIndex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ProjectionDisposable` [INFO] [stdout] --> src/chart/projection.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ProjectionDisposable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chart/projection.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn new() -> ProjectionDisposable { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/chart/projection.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn add(&mut self, point: PointIndex) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/chart/projection.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn get(&self, index: usize) -> &PointIndex { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ProjectionOperationResult` [INFO] [stdout] --> src/chart/projection.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ProjectionOperationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `keep` [INFO] [stdout] --> src/chart/projection.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | fn keep() -> ProjectionOperationResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace` [INFO] [stdout] --> src/chart/projection.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | fn replace(index: usize) -> ProjectionOperationResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/chart/projection.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 54 | fn delete() -> ProjectionOperationResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ProjectionOperationNode` [INFO] [stdout] --> src/chart/projection.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct ProjectionOperationNode<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chart/projection.rs:65:6 [INFO] [stdout] | [INFO] [stdout] 65 | fn new(point_index: &'a PointIndex) -> ProjectionOperationNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_index` [INFO] [stdout] --> src/chart/projection.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | fn update_index(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/chart/projection.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | fn value(&'a self, disposable: &'a ProjectionDisposable) -> &PointIndex { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ProjectionOperation` [INFO] [stdout] --> src/chart/projection.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct ProjectionOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply` [INFO] [stdout] --> src/chart/projection.rs:92:6 [INFO] [stdout] | [INFO] [stdout] 92 | fn apply( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Projection` [INFO] [stdout] --> src/chart/projection.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct Projection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chart/projection.rs:137:6 [INFO] [stdout] | [INFO] [stdout] 137 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `project_index_node` [INFO] [stdout] --> src/chart/projection.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn project_index_node<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_projection` found for struct `Chart` in the current scope [INFO] [stdout] --> src/chart/chart_index.rs:419:28 [INFO] [stdout] | [INFO] [stdout] 419 | let projection = chart.new_projection( [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Chart` [INFO] [stdout] | [INFO] [stdout] ::: src/chart/chart.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Chart { [INFO] [stdout] | ---------------- method `new_projection` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart/chart_index.rs:426:88 [INFO] [stdout] | [INFO] [stdout] 426 | let value = chart.get_value_projection(Utc.ymd(2018, 1, 1).and_hms(9, 14, 0), Some(&projection)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected tuple, found reference [INFO] [stdout] | help: consider removing the borrow: `projection` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(&Projection, &mut ProjectionDisposable)` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart/chart_index.rs:430:87 [INFO] [stdout] | [INFO] [stdout] 430 | let value = chart.get_value_projection(Utc.ymd(2018, 1, 1).and_hms(9, 0, 0), Some(&projection)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected tuple, found reference [INFO] [stdout] | help: consider removing the borrow: `projection` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(&Projection, &mut ProjectionDisposable)` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `timeseries` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "ff205d48273a94587b3a4c5ef481b55a195ed24c23370707e58e6ef10267c6bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff205d48273a94587b3a4c5ef481b55a195ed24c23370707e58e6ef10267c6bc", kill_on_drop: false }` [INFO] [stdout] ff205d48273a94587b3a4c5ef481b55a195ed24c23370707e58e6ef10267c6bc