[INFO] cloning repository https://github.com/Manishearth/kuramoto-simulations [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Manishearth/kuramoto-simulations" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManishearth%2Fkuramoto-simulations"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManishearth%2Fkuramoto-simulations'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c4072807923696bfa17d2099b6deeae7aae85e90 [INFO] checking Manishearth/kuramoto-simulations against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManishearth%2Fkuramoto-simulations" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 89% (44/49) Checking out files: 91% (45/49) Checking out files: 93% (46/49) Checking out files: 95% (47/49) Checking out files: 97% (48/49) Checking out files: 100% (49/49) Checking out files: 100% (49/49), done. [INFO] validating manifest of git repo https://github.com/Manishearth/kuramoto-simulations on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Manishearth/kuramoto-simulations [INFO] finished tweaking git repo https://github.com/Manishearth/kuramoto-simulations [INFO] tweaked toml for git repo https://github.com/Manishearth/kuramoto-simulations written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/Manishearth/kuramoto-simulations already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 806969b1d326fcc1bd88944335d67ffc0f9774489e4d0da5c4e338af6f87a734 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "806969b1d326fcc1bd88944335d67ffc0f9774489e4d0da5c4e338af6f87a734"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking kuramoto-simulations v0.0.1 (/opt/rustwide/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[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: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: `serialize::Encodable` [INFO] [stderr] --> src/sim.rs:6:6 [INFO] [stderr] | [INFO] [stderr] 6 | use serialize::Encodable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [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[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: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[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: `serialize::Encodable` [INFO] [stderr] --> src/sim.rs:6:6 [INFO] [stderr] | [INFO] [stderr] 6 | use serialize::Encodable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [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] | ^^^^^^^^^^ method not found in `std::vec::Vec` [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] | ^^^^^^^^^^ method not found in `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::vec::Vec: serialize::Encodable` is not satisfied [INFO] [stderr] --> src/sim.rs:46:20 [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] [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] | ^^^^^^^^ method not found in `std::string::String` [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] | ^^^^^^^^ method not found in `std::string::String` [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] [INFO] [stderr] error[E0277]: the trait bound `sim::Ret: serialize::UseSpecializedEncodable` is not satisfied [INFO] [stderr] --> src/sim.rs:91:25 [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] [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] | ^^^^^^^^ method not found in `std::string::String` [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] | ^^^^ method not found in `std::vec::Vec` [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] [INFO] [stderr] error[E0277]: the trait bound `sim::Ret: serialize::UseSpecializedEncodable` is not satisfied [INFO] [stderr] --> src/sim.rs:146:25 [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] [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] | ^^^^^^^^ method not found in `std::string::String` [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] | ^^^^ method not found in `std::vec::Vec` [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] [INFO] [stderr] error: aborting due to 56 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] warning: build failed, waiting for other jobs to finish... [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] | ^^^^^^^^^^ method not found in `std::vec::Vec` [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] | ^^^^^^^^^^ method not found in `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::vec::Vec: serialize::Encodable` is not satisfied [INFO] [stderr] --> src/sim.rs:46:20 [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] [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] | ^^^^^^^^ method not found in `std::string::String` [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] | ^^^^^^^^ method not found in `std::string::String` [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] [INFO] [stderr] error[E0277]: the trait bound `sim::Ret: serialize::UseSpecializedEncodable` is not satisfied [INFO] [stderr] --> src/sim.rs:91:25 [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] [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] | ^^^^^^^^ method not found in `std::string::String` [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] | ^^^^ method not found in `std::vec::Vec` [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] [INFO] [stderr] error[E0277]: the trait bound `sim::Ret: serialize::UseSpecializedEncodable` is not satisfied [INFO] [stderr] --> src/sim.rs:146:25 [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] [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] | ^^^^^^^^ method not found in `std::string::String` [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] | ^^^^ method not found in `std::vec::Vec` [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] [INFO] [stderr] error: aborting due to 56 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" "806969b1d326fcc1bd88944335d67ffc0f9774489e4d0da5c4e338af6f87a734"` [INFO] running `"docker" "rm" "-f" "806969b1d326fcc1bd88944335d67ffc0f9774489e4d0da5c4e338af6f87a734"` [INFO] [stdout] 806969b1d326fcc1bd88944335d67ffc0f9774489e4d0da5c4e338af6f87a734