[INFO] cloning repository https://github.com/Manishearth/kuramoto-simulations [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManishearth%2Fkuramoto-simulations'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4072807923696bfa17d2099b6deeae7aae85e90 [INFO] checking Manishearth/kuramoto-simulations/c4072807923696bfa17d2099b6deeae7aae85e90 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManishearth%2Fkuramoto-simulations" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Manishearth/kuramoto-simulations on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Manishearth/kuramoto-simulations already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27437bbd6e6d1997fca05c5135e32d4f1b4c2d209bf3c56a49a9efa482e177d3 [INFO] running `Command { std: "docker" "start" "-a" "27437bbd6e6d1997fca05c5135e32d4f1b4c2d209bf3c56a49a9efa482e177d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27437bbd6e6d1997fca05c5135e32d4f1b4c2d209bf3c56a49a9efa482e177d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27437bbd6e6d1997fca05c5135e32d4f1b4c2d209bf3c56a49a9efa482e177d3", kill_on_drop: false }` [INFO] [stdout] 27437bbd6e6d1997fca05c5135e32d4f1b4c2d209bf3c56a49a9efa482e177d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7ff9d130eec82df8e85c6b003319857498aef3d6107007e133a223bda543ce7 [INFO] running `Command { std: "docker" "start" "-a" "b7ff9d130eec82df8e85c6b003319857498aef3d6107007e133a223bda543ce7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking kuramoto-simulations v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `serialize` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serialize` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/sim.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/sim.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stdout] --> src/sim.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use std::old_io::fs::File; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::path::posix` [INFO] [stdout] --> src/sim.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::posix::Path; [INFO] [stdout] | ^^^^^ could not find `posix` in `path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stdout] --> src/sim.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use std::old_io::fs::File; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::path::posix` [INFO] [stdout] --> src/sim.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::posix::Path; [INFO] [stdout] | ^^^^^ could not find `posix` in `path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/sim.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::old_io::{ReadWrite, Truncate, Open}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/sim.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::old_io::{ReadWrite, Truncate, Open}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/sim.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use std::old_io::Reader; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/sim.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use std::old_io::Reader; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/sim.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/sim.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Decodable` in this scope [INFO] [stdout] --> src/sim.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Decodable` in this scope [INFO] [stdout] --> src/sim.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/sim.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/sim.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Decodable` in this scope [INFO] [stdout] --> src/sim.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Decodable` in this scope [INFO] [stdout] --> src/sim.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/sim.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/sim.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Encodable, Decodable, Clone, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sim.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | sum -= 360f64*((sum/360.0) as uint as f64); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sim.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn run(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sim.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn run(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sim.rs:77:43 [INFO] [stdout] | [INFO] [stdout] 77 | sum -= 360f64*((sum/360.0) as uint as f64); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sim.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn run_star(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sim.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | sum -= 360f64*((sum/360.0) as uint as f64); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sim.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn run_star(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sim.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn run(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sim.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn run(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sim.rs:77:43 [INFO] [stdout] | [INFO] [stdout] 77 | sum -= 360f64*((sum/360.0) as uint as f64); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/sim.rs:121:52 [INFO] [stdout] | [INFO] [stdout] 121 | j.phase -= 360f64*((newphase/360.0) as int as f64); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sim.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn run_star(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sim.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn run_star(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/sim.rs:121:52 [INFO] [stdout] | [INFO] [stdout] 121 | j.phase -= 360f64*((newphase/360.0) as int as f64); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/sim.rs:132:39 [INFO] [stdout] | [INFO] [stdout] 132 | sum -= 360f64*((sum/360.0) as int as f64); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/sim.rs:132:39 [INFO] [stdout] | [INFO] [stdout] 132 | sum -= 360f64*((sum/360.0) as int as f64); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sim.rs:151:74 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn run_star_stateful(init: Option<(Vec, Oscillator)>, n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec src/sim.rs:151:74 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn run_star_stateful(init: Option<(Vec, Oscillator)>, n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec src/sim.rs:151:95 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn run_star_stateful(init: Option<(Vec, Oscillator)>, n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec src/sim.rs:151:95 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn run_star_stateful(init: Option<(Vec, Oscillator)>, n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec src/sim.rs:181:52 [INFO] [stdout] | [INFO] [stdout] 181 | j.phase -= 360f64*((newphase/360.0) as int as f64); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/sim.rs:181:52 [INFO] [stdout] | [INFO] [stdout] 181 | j.phase -= 360f64*((newphase/360.0) as int as f64); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/sim.rs:192:39 [INFO] [stdout] | [INFO] [stdout] 192 | sum -= 360f64*((sum/360.0) as int as f64); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/sim.rs:192:39 [INFO] [stdout] | [INFO] [stdout] 192 | sum -= 360f64*((sum/360.0) as int as f64); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | fn unwrap_arg(index: uint, def:T) -> T { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | fn unwrap_arg(index: uint, def:T) -> T { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `std::os` [INFO] [stdout] --> src/main.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | let arg: Result = (std::os::args()[index].as_slice()).parse(); [INFO] [stdout] | ^^^^ not found in `std::os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 9 - let arg: Result = (std::os::args()[index].as_slice()).parse(); [INFO] [stdout] 9 + let arg: Result = (args()[index].as_slice()).parse(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `std::os` [INFO] [stdout] --> src/main.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | let arg: Result = (std::os::args()[index].as_slice()).parse(); [INFO] [stdout] | ^^^^ not found in `std::os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 9 - let arg: Result = (std::os::args()[index].as_slice()).parse(); [INFO] [stdout] 9 + let arg: Result = (args()[index].as_slice()).parse(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `std::os` [INFO] [stdout] --> src/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let args = std::os::args(); [INFO] [stdout] | ^^^^ not found in `std::os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - let args = std::os::args(); [INFO] [stdout] 13 + let args = args(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `std::os` [INFO] [stdout] --> src/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let args = std::os::args(); [INFO] [stdout] | ^^^^ not found in `std::os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - let args = std::os::args(); [INFO] [stdout] 13 + let args = args(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/sim.rs:50:71 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn run(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - pub fn run(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stdout] 50 + pub fn run(n: uint, omega: f64, t: uint, K: f64, filename: String) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/sim.rs:96:76 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn run_star(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - pub fn run_star(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stdout] 96 + pub fn run_star(n: uint, omega: f64, t: uint, K: f64, filename: String) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/sim.rs:50:71 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn run(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - pub fn run(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stdout] 50 + pub fn run(n: uint, omega: f64, t: uint, K: f64, filename: String) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/sim.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let mut i = 30u; [INFO] [stdout] | ^^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/sim.rs:96:76 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn run_star(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - pub fn run_star(n: uint, omega: f64, t: uint, K: f64, filename: String) -> (Vec) { [INFO] [stdout] 96 + pub fn run_star(n: uint, omega: f64, t: uint, K: f64, filename: String) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/sim.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let mut i = 30u; [INFO] [stdout] | ^^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `int_uint` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(int_uint)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `int_uint` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(int_uint)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/sim.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | let path = Path::new(filename.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/sim.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | let path = Path::new(filename.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/sim.rs:103:35 [INFO] [stdout] | [INFO] [stdout] 103 | let path = Path::new(filename.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/sim.rs:103:35 [INFO] [stdout] | [INFO] [stdout] 103 | let path = Path::new(filename.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/sim.rs:161:43 [INFO] [stdout] | [INFO] [stdout] 161 | let path = Path::new(filename.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/sim.rs:161:43 [INFO] [stdout] | [INFO] [stdout] 161 | let path = Path::new(filename.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_from` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | let v = buf.slice_from(10000); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `clone_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 23 | let v = buf.clone_from(10000); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_from` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | let v = buf.slice_from(10000); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `clone_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 23 | let v = buf.clone_from(10000); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_from` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | let v = buf.slice_from(10000); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `clone_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 36 | let v = buf.clone_from(10000); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_from` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | let v = buf.slice_from(10000); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `clone_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 36 | let v = buf.clone_from(10000); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0463, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0463, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kuramoto-simulations` (bin "Kuramoto-Sumulations") due to 34 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `kuramoto-simulations` (bin "Kuramoto-Sumulations" test) due to 34 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b7ff9d130eec82df8e85c6b003319857498aef3d6107007e133a223bda543ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7ff9d130eec82df8e85c6b003319857498aef3d6107007e133a223bda543ce7", kill_on_drop: false }` [INFO] [stdout] b7ff9d130eec82df8e85c6b003319857498aef3d6107007e133a223bda543ce7