[INFO] updating cached repository Manishearth/kuramoto-simulations [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Manishearth/kuramoto-simulations [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Manishearth/kuramoto-simulations" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/Manishearth/kuramoto-simulations"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/Manishearth/kuramoto-simulations'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Manishearth/kuramoto-simulations" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/Manishearth/kuramoto-simulations"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/Manishearth/kuramoto-simulations'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c4072807923696bfa17d2099b6deeae7aae85e90 [INFO] sha for GitHub repo Manishearth/kuramoto-simulations: c4072807923696bfa17d2099b6deeae7aae85e90 [INFO] validating manifest of Manishearth/kuramoto-simulations on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Manishearth/kuramoto-simulations on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Manishearth/kuramoto-simulations [INFO] finished frobbing Manishearth/kuramoto-simulations [INFO] frobbed toml for Manishearth/kuramoto-simulations written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/Manishearth/kuramoto-simulations/Cargo.toml [INFO] started frobbing Manishearth/kuramoto-simulations [INFO] finished frobbing Manishearth/kuramoto-simulations [INFO] frobbed toml for Manishearth/kuramoto-simulations written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/Manishearth/kuramoto-simulations/Cargo.toml [INFO] crate Manishearth/kuramoto-simulations already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking Manishearth/kuramoto-simulations against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-4/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/Manishearth/kuramoto-simulations:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] cfde081de2867f58e36ef87d34cee710c1660f7972dc450a34f19b0bf04f5a3e [INFO] running `"docker" "start" "-a" "cfde081de2867f58e36ef87d34cee710c1660f7972dc450a34f19b0bf04f5a3e"` [INFO] [stderr] Checking kuramoto-simulations v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/sim.rs:35:17 [INFO] [stderr] | [INFO] [stderr] 35 | let mut i = 30u; [INFO] [stderr] | ^^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/sim.rs:35:17 [INFO] [stderr] | [INFO] [stderr] 35 | let mut i = 30u; [INFO] [stderr] | ^^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/sim.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::rand; [INFO] [stderr] | ^^^^^^^^^ no `rand` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stderr] --> src/sim.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | use std::old_io::fs::File; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::path::posix` [INFO] [stderr] --> src/sim.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | use std::path::posix::Path; [INFO] [stderr] | ^^^^^ could not find `posix` in `path` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::old_io` [INFO] [stderr] --> src/sim.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | use std::old_io::{ReadWrite, Truncate, Open}; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::old_io` [INFO] [stderr] --> src/sim.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | use std::old_io::Reader; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::Float` [INFO] [stderr] --> src/sim.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::num::Float; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Encodable` in this scope [INFO] [stderr] --> src/sim.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Decodable` in this scope [INFO] [stderr] --> src/sim.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Show` in this scope [INFO] [stderr] --> src/sim.rs:10:39 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Encodable` in this scope [INFO] [stderr] --> src/sim.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Decodable` in this scope [INFO] [stderr] --> src/sim.rs:24:21 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Show` in this scope [INFO] [stderr] --> src/sim.rs:24:39 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stderr] --> src/sim.rs:32:20 [INFO] [stderr] | [INFO] [stderr] 32 | let mut file = File::open_mode(&path, Truncate, ReadWrite).unwrap(); [INFO] [stderr] | ^^^^ use of undeclared type or module `File` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/sim.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::rand; [INFO] [stderr] | ^^^^^^^^^ no `rand` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stderr] --> src/sim.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | use std::old_io::fs::File; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::path::posix` [INFO] [stderr] --> src/sim.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | use std::path::posix::Path; [INFO] [stderr] | ^^^^^ could not find `posix` in `path` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::old_io` [INFO] [stderr] --> src/sim.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | use std::old_io::{ReadWrite, Truncate, Open}; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::old_io` [INFO] [stderr] --> src/sim.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | use std::old_io::Reader; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::Float` [INFO] [stderr] --> src/sim.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::num::Float; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Encodable` in this scope [INFO] [stderr] --> src/sim.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Decodable` in this scope [INFO] [stderr] --> src/sim.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Show` in this scope [INFO] [stderr] --> src/sim.rs:10:39 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Encodable` in this scope [INFO] [stderr] --> src/sim.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Decodable` in this scope [INFO] [stderr] --> src/sim.rs:24:21 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Show` in this scope [INFO] [stderr] --> src/sim.rs:24:39 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stderr] --> src/sim.rs:32:20 [INFO] [stderr] | [INFO] [stderr] 32 | let mut file = File::open_mode(&path, Truncate, ReadWrite).unwrap(); [INFO] [stderr] | ^^^^ use of undeclared type or module `File` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stderr] --> src/sim.rs:59:20 [INFO] [stderr] | [INFO] [stderr] 59 | let mut file = File::open_mode(&path, Open, ReadWrite).unwrap(); [INFO] [stderr] | ^^^^ use of undeclared type or module `File` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stderr] --> src/sim.rs:59:20 [INFO] [stderr] | [INFO] [stderr] 59 | let mut file = File::open_mode(&path, Open, ReadWrite).unwrap(); [INFO] [stderr] | ^^^^ use of undeclared type or module `File` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stderr] --> src/sim.rs:104:20 [INFO] [stderr] | [INFO] [stderr] 104 | let mut file = File::open_mode(&path, Open, ReadWrite).unwrap(); [INFO] [stderr] | ^^^^ use of undeclared type or module `File` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stderr] --> src/sim.rs:104:20 [INFO] [stderr] | [INFO] [stderr] 104 | let mut file = File::open_mode(&path, Open, ReadWrite).unwrap(); [INFO] [stderr] | ^^^^ use of undeclared type or module `File` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stderr] --> src/sim.rs:162:28 [INFO] [stderr] | [INFO] [stderr] 162 | let mut file = File::open_mode(&path, Open, ReadWrite).unwrap(); [INFO] [stderr] | ^^^^ use of undeclared type or module `File` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stderr] --> src/sim.rs:162:28 [INFO] [stderr] | [INFO] [stderr] 162 | let mut file = File::open_mode(&path, Open, ReadWrite).unwrap(); [INFO] [stderr] | ^^^^ use of undeclared type or module `File` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sim.rs:39:39 [INFO] [stderr] | [INFO] [stderr] 39 | sum -= 360f64*((sum/360.0) as uint as f64); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sim.rs:50:15 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn run(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sim.rs:50:36 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn run(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sim.rs:77:43 [INFO] [stderr] | [INFO] [stderr] 77 | sum -= 360f64*((sum/360.0) as uint as f64); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sim.rs:96:20 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn run_star(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sim.rs:96:41 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn run_star(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sim.rs:121:52 [INFO] [stderr] | [INFO] [stderr] 121 | j.phase -= 360f64*((newphase/360.0) as int as f64); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sim.rs:132:39 [INFO] [stderr] | [INFO] [stderr] 132 | sum -= 360f64*((sum/360.0) as int as f64); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sim.rs:151:74 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn run_star_stateful(init: Option<(Vec, Oscillator)>, n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec, (Vec, Oscillator)) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sim.rs:151:95 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn run_star_stateful(init: Option<(Vec, Oscillator)>, n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec, (Vec, Oscillator)) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sim.rs:181:52 [INFO] [stderr] | [INFO] [stderr] 181 | j.phase -= 360f64*((newphase/360.0) as int as f64); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sim.rs:192:39 [INFO] [stderr] | [INFO] [stderr] 192 | sum -= 360f64*((sum/360.0) as int as f64); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:8:46 [INFO] [stderr] | [INFO] [stderr] 8 | fn unwrap_arg(index: uint, def:T) -> T { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `std::os` [INFO] [stderr] --> src/main.rs:9:37 [INFO] [stderr] | [INFO] [stderr] 9 | let arg: Result = (std::os::args()[index].as_slice()).parse(); [INFO] [stderr] | ^^^^ not found in `std::os` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 6 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `std::os` [INFO] [stderr] --> src/main.rs:13:22 [INFO] [stderr] | [INFO] [stderr] 13 | let args = std::os::args(); [INFO] [stderr] | ^^^^ not found in `std::os` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 6 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::old_io::fs::File` [INFO] [stderr] --> src/sim.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::old_io::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serialize::Encodable` [INFO] [stderr] --> src/sim.rs:6:6 [INFO] [stderr] | [INFO] [stderr] 6 | use serialize::Encodable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | extern crate serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/sim.rs:2:23 [INFO] [stderr] | [INFO] [stderr] 2 | use serialize::json::{decode, encode}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/sim.rs:2:31 [INFO] [stderr] | [INFO] [stderr] 2 | use serialize::json::{decode, encode}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/sim.rs:6:6 [INFO] [stderr] | [INFO] [stderr] 6 | use serialize::Encodable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/sim.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | let s = encode(&arr); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/sim.rs:60:11 [INFO] [stderr] | [INFO] [stderr] 60 | arr = decode(file.read_to_string().unwrap().as_slice()).unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/sim.rs:91:18 [INFO] [stderr] | [INFO] [stderr] 91 | println!("{:?}", encode(&Ret{zero: arr0.clone(), all: ser})); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/sim.rs:105:40 [INFO] [stderr] | [INFO] [stderr] 105 | let arr_unsplit :Vec = decode(file.read_to_string().unwrap().as_slice()).unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/sim.rs:146:18 [INFO] [stderr] | [INFO] [stderr] 146 | println!("{:?}", encode(&Ret{zero: arr0.clone(), all: ser})); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/sim.rs:163:48 [INFO] [stderr] | [INFO] [stderr] 163 | let arr_unsplit :Vec = decode(file.read_to_string().unwrap().as_slice()).unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sim.rs:39:39 [INFO] [stderr] | [INFO] [stderr] 39 | sum -= 360f64*((sum/360.0) as uint as f64); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sim.rs:50:15 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn run(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sim.rs:50:36 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn run(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sim.rs:77:43 [INFO] [stderr] | [INFO] [stderr] 77 | sum -= 360f64*((sum/360.0) as uint as f64); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sim.rs:96:20 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn run_star(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sim.rs:96:41 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn run_star(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sim.rs:121:52 [INFO] [stderr] | [INFO] [stderr] 121 | j.phase -= 360f64*((newphase/360.0) as int as f64); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sim.rs:132:39 [INFO] [stderr] | [INFO] [stderr] 132 | sum -= 360f64*((sum/360.0) as int as f64); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sim.rs:151:74 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn run_star_stateful(init: Option<(Vec, Oscillator)>, n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec, (Vec, Oscillator)) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sim.rs:151:95 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn run_star_stateful(init: Option<(Vec, Oscillator)>, n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec, (Vec, Oscillator)) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sim.rs:181:52 [INFO] [stderr] | [INFO] [stderr] 181 | j.phase -= 360f64*((newphase/360.0) as int as f64); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/sim.rs:192:39 [INFO] [stderr] | [INFO] [stderr] 192 | sum -= 360f64*((sum/360.0) as int as f64); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:8:46 [INFO] [stderr] | [INFO] [stderr] 8 | fn unwrap_arg(index: uint, def:T) -> T { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `std::os` [INFO] [stderr] --> src/main.rs:9:37 [INFO] [stderr] | [INFO] [stderr] 9 | let arg: Result = (std::os::args()[index].as_slice()).parse(); [INFO] [stderr] | ^^^^ not found in `std::os` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 6 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `std::os` [INFO] [stderr] --> src/main.rs:13:22 [INFO] [stderr] | [INFO] [stderr] 13 | let args = std::os::args(); [INFO] [stderr] | ^^^^ not found in `std::os` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 6 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::old_io::fs::File` [INFO] [stderr] --> src/sim.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::old_io::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serialize::Encodable` [INFO] [stderr] --> src/sim.rs:6:6 [INFO] [stderr] | [INFO] [stderr] 6 | use serialize::Encodable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | extern crate serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/sim.rs:2:23 [INFO] [stderr] | [INFO] [stderr] 2 | use serialize::json::{decode, encode}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/sim.rs:2:31 [INFO] [stderr] | [INFO] [stderr] 2 | use serialize::json::{decode, encode}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/sim.rs:6:6 [INFO] [stderr] | [INFO] [stderr] 6 | use serialize::Encodable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/sim.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | let s = encode(&arr); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/sim.rs:60:11 [INFO] [stderr] | [INFO] [stderr] 60 | arr = decode(file.read_to_string().unwrap().as_slice()).unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/sim.rs:91:18 [INFO] [stderr] | [INFO] [stderr] 91 | println!("{:?}", encode(&Ret{zero: arr0.clone(), all: ser})); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/sim.rs:105:40 [INFO] [stderr] | [INFO] [stderr] 105 | let arr_unsplit :Vec = decode(file.read_to_string().unwrap().as_slice()).unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/sim.rs:146:18 [INFO] [stderr] | [INFO] [stderr] 146 | println!("{:?}", encode(&Ret{zero: arr0.clone(), all: ser})); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/sim.rs:163:48 [INFO] [stderr] | [INFO] [stderr] 163 | let arr_unsplit :Vec = decode(file.read_to_string().unwrap().as_slice()).unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_from` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:23:15 [INFO] [stderr] | [INFO] [stderr] 23 | let v = buf.slice_from(10000); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_from` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:36:15 [INFO] [stderr] | [INFO] [stderr] 36 | let v = buf.slice_from(10000); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::vec::Vec: serialize::Encodable` is not satisfied [INFO] [stderr] --> src/sim.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | let s = encode(&arr); [INFO] [stderr] | ^^^^^^ the trait `serialize::Encodable` is not implemented for `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as serialize::Encodable> [INFO] [stderr] = note: required by `serialize::json::encode` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_from` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:23:15 [INFO] [stderr] | [INFO] [stderr] 23 | let v = buf.slice_from(10000); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/sim.rs:47:31 [INFO] [stderr] | [INFO] [stderr] 47 | file.write_str(s.unwrap().as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_from` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:36:15 [INFO] [stderr] | [INFO] [stderr] 36 | let v = buf.slice_from(10000); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/sim.rs:58:35 [INFO] [stderr] | [INFO] [stderr] 58 | let path = Path::new(filename.as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::vec::Vec: serialize::Decodable` is not satisfied [INFO] [stderr] --> src/sim.rs:60:11 [INFO] [stderr] | [INFO] [stderr] 60 | arr = decode(file.read_to_string().unwrap().as_slice()).unwrap(); [INFO] [stderr] | ^^^^^^ the trait `serialize::Decodable` is not implemented for `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as serialize::Decodable> [INFO] [stderr] = note: required by `serialize::json::decode` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `sim::Ret: serialize::UseSpecializedEncodable` is not satisfied [INFO] [stderr] --> src/sim.rs:91:18 [INFO] [stderr] | [INFO] [stderr] 91 | println!("{:?}", encode(&Ret{zero: arr0.clone(), all: ser})); [INFO] [stderr] | ^^^^^^ the trait `serialize::UseSpecializedEncodable` is not implemented for `sim::Ret` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serialize::Encodable` for `sim::Ret` [INFO] [stderr] = note: required by `serialize::json::encode` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/sim.rs:103:35 [INFO] [stderr] | [INFO] [stderr] 103 | let path = Path::new(filename.as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/sim.rs:106:31 [INFO] [stderr] | [INFO] [stderr] 106 | let mut arr = arr_unsplit.tail().to_vec(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::vec::Vec: serialize::Decodable` is not satisfied [INFO] [stderr] --> src/sim.rs:105:40 [INFO] [stderr] | [INFO] [stderr] 105 | let arr_unsplit :Vec = decode(file.read_to_string().unwrap().as_slice()).unwrap(); [INFO] [stderr] | ^^^^^^ the trait `serialize::Decodable` is not implemented for `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as serialize::Decodable> [INFO] [stderr] = note: required by `serialize::json::decode` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::vec::Vec: serialize::Encodable` is not satisfied [INFO] [stderr] --> src/sim.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | let s = encode(&arr); [INFO] [stderr] | ^^^^^^ the trait `serialize::Encodable` is not implemented for `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as serialize::Encodable> [INFO] [stderr] = note: required by `serialize::json::encode` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/sim.rs:47:31 [INFO] [stderr] | [INFO] [stderr] 47 | file.write_str(s.unwrap().as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/sim.rs:58:35 [INFO] [stderr] | [INFO] [stderr] 58 | let path = Path::new(filename.as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sqrt` found for type `{float}` in the current scope [INFO] [stderr] --> src/sim.rs:141:30 [INFO] [stderr] | [INFO] [stderr] 141 | ret.push((s*s + c*c).sqrt()/(n as f64 - 1f64) as f64); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `sim::Ret: serialize::UseSpecializedEncodable` is not satisfied [INFO] [stderr] --> src/sim.rs:146:18 [INFO] [stderr] | [INFO] [stderr] 146 | println!("{:?}", encode(&Ret{zero: arr0.clone(), all: ser})); [INFO] [stderr] | ^^^^^^ the trait `serialize::UseSpecializedEncodable` is not implemented for `sim::Ret` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serialize::Encodable` for `sim::Ret` [INFO] [stderr] = note: required by `serialize::json::encode` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::vec::Vec: serialize::Decodable` is not satisfied [INFO] [stderr] --> src/sim.rs:60:11 [INFO] [stderr] | [INFO] [stderr] 60 | arr = decode(file.read_to_string().unwrap().as_slice()).unwrap(); [INFO] [stderr] | ^^^^^^ the trait `serialize::Decodable` is not implemented for `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as serialize::Decodable> [INFO] [stderr] = note: required by `serialize::json::decode` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/sim.rs:161:43 [INFO] [stderr] | [INFO] [stderr] 161 | let path = Path::new(filename.as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/sim.rs:164:39 [INFO] [stderr] | [INFO] [stderr] 164 | let mut arr = arr_unsplit.tail().to_vec(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::vec::Vec: serialize::Decodable` is not satisfied [INFO] [stderr] --> src/sim.rs:163:48 [INFO] [stderr] | [INFO] [stderr] 163 | let arr_unsplit :Vec = decode(file.read_to_string().unwrap().as_slice()).unwrap(); [INFO] [stderr] | ^^^^^^ the trait `serialize::Decodable` is not implemented for `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as serialize::Decodable> [INFO] [stderr] = note: required by `serialize::json::decode` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `sim::Ret: serialize::UseSpecializedEncodable` is not satisfied [INFO] [stderr] --> src/sim.rs:91:18 [INFO] [stderr] | [INFO] [stderr] 91 | println!("{:?}", encode(&Ret{zero: arr0.clone(), all: ser})); [INFO] [stderr] | ^^^^^^ the trait `serialize::UseSpecializedEncodable` is not implemented for `sim::Ret` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serialize::Encodable` for `sim::Ret` [INFO] [stderr] = note: required by `serialize::json::encode` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] error[E0599]: no method named `sqrt` found for type `{float}` in the current scope [INFO] [stderr] --> src/sim.rs:201:30 [INFO] [stderr] | [INFO] [stderr] 201 | ret.push((s*s + c*c).sqrt()/(n as f64 - 1f64) as f64); [INFO] [stderr] | ^^^^ [INFO] [stderr] --> src/sim.rs:103:35 [INFO] [stderr] | [INFO] [stderr] 103 | let path = Path::new(filename.as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to 58 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/sim.rs:106:31 [INFO] [stderr] | [INFO] [stderr] 106 | let mut arr = arr_unsplit.tail().to_vec(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::vec::Vec: serialize::Decodable` is not satisfied [INFO] [stderr] --> src/sim.rs:105:40 [INFO] [stderr] | [INFO] [stderr] 105 | let arr_unsplit :Vec = decode(file.read_to_string().unwrap().as_slice()).unwrap(); [INFO] [stderr] | ^^^^^^ the trait `serialize::Decodable` is not implemented for `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as serialize::Decodable> [INFO] [stderr] = note: required by `serialize::json::decode` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sqrt` found for type `{float}` in the current scope [INFO] [stderr] --> src/sim.rs:141:30 [INFO] [stderr] | [INFO] [stderr] 141 | ret.push((s*s + c*c).sqrt()/(n as f64 - 1f64) as f64); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: Could not compile `kuramoto-simulations`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: the trait bound `sim::Ret: serialize::UseSpecializedEncodable` is not satisfied [INFO] [stderr] --> src/sim.rs:146:18 [INFO] [stderr] | [INFO] [stderr] 146 | println!("{:?}", encode(&Ret{zero: arr0.clone(), all: ser})); [INFO] [stderr] | ^^^^^^ the trait `serialize::UseSpecializedEncodable` is not implemented for `sim::Ret` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serialize::Encodable` for `sim::Ret` [INFO] [stderr] = note: required by `serialize::json::encode` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/sim.rs:161:43 [INFO] [stderr] | [INFO] [stderr] 161 | let path = Path::new(filename.as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/sim.rs:164:39 [INFO] [stderr] | [INFO] [stderr] 164 | let mut arr = arr_unsplit.tail().to_vec(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::vec::Vec: serialize::Decodable` is not satisfied [INFO] [stderr] --> src/sim.rs:163:48 [INFO] [stderr] | [INFO] [stderr] 163 | let arr_unsplit :Vec = decode(file.read_to_string().unwrap().as_slice()).unwrap(); [INFO] [stderr] | ^^^^^^ the trait `serialize::Decodable` is not implemented for `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as serialize::Decodable> [INFO] [stderr] = note: required by `serialize::json::decode` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sqrt` found for type `{float}` in the current scope [INFO] [stderr] --> src/sim.rs:201:30 [INFO] [stderr] | [INFO] [stderr] 201 | ret.push((s*s + c*c).sqrt()/(n as f64 - 1f64) as f64); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 58 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `kuramoto-simulations`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "cfde081de2867f58e36ef87d34cee710c1660f7972dc450a34f19b0bf04f5a3e"` [INFO] running `"docker" "rm" "-f" "cfde081de2867f58e36ef87d34cee710c1660f7972dc450a34f19b0bf04f5a3e"` [INFO] [stdout] cfde081de2867f58e36ef87d34cee710c1660f7972dc450a34f19b0bf04f5a3e