[INFO] cloning repository https://github.com/sacarro/rust-trend-report [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sacarro/rust-trend-report" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsacarro%2Frust-trend-report", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsacarro%2Frust-trend-report'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d656b5c95f4f1ff10bc436b864f7d87d78899f08 [INFO] testing sacarro/rust-trend-report against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsacarro%2Frust-trend-report" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sacarro/rust-trend-report on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sacarro/rust-trend-report [INFO] finished tweaking git repo https://github.com/sacarro/rust-trend-report [INFO] tweaked toml for git repo https://github.com/sacarro/rust-trend-report written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/sacarro/rust-trend-report already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecfb3339f57abacf3c032473f93d9f8be80a062d2eca05004adaacb81218b6d5 [INFO] running `Command { std: "docker" "start" "-a" "ecfb3339f57abacf3c032473f93d9f8be80a062d2eca05004adaacb81218b6d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecfb3339f57abacf3c032473f93d9f8be80a062d2eca05004adaacb81218b6d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecfb3339f57abacf3c032473f93d9f8be80a062d2eca05004adaacb81218b6d5", kill_on_drop: false }` [INFO] [stdout] ecfb3339f57abacf3c032473f93d9f8be80a062d2eca05004adaacb81218b6d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22c772f9f12b3dbeab7bb680337b80c02513120c86fdfc2472332df55f25b135 [INFO] running `Command { std: "docker" "start" "-a" "22c772f9f12b3dbeab7bb680337b80c02513120c86fdfc2472332df55f25b135", kill_on_drop: false }` [INFO] [stderr] Compiling run-trender v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `serialize` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::TcpListener`, `std::io::TcpStream` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ no `TcpStream` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `TcpListener` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::Acceptor`, `std::io::Listener` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Acceptor, Listener}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ no `Listener` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `Acceptor` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoError` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::IoError; [INFO] [stdout] | ^^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Error` [INFO] [stdout] | no `IoError` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::IoResult; [INFO] [stdout] | ^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Result` [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::Timer` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Timer; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Timer` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::FromStrRadix` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::num::FromStrRadix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `FromStrRadix` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `json` [INFO] [stdout] --> src/main.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | match json::from_str(full_body.trim().as_slice()) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParserError` [INFO] [stdout] --> src/main.rs:175:7 [INFO] [stdout] | [INFO] [stdout] 175 | ParserError::SyntaxError(code, line, col) => println!("Syntax Error: {} {}", line, col), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ParserError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParserError` [INFO] [stdout] --> src/main.rs:176:7 [INFO] [stdout] | [INFO] [stdout] 176 | ParserError::IoError(e_kind, msg) => println!("IO") [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ParserError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IoErrorKind` in `io` [INFO] [stdout] --> src/main.rs:194:64 [INFO] [stdout] | [INFO] [stdout] 194 | ... let mut data : IoResult = Err(IoError { kind: std::io::IoErrorKind::ConnectionFailed, desc: "Could not get run data", detail:... [INFO] [stdout] | ^^^^^^^^^^^ could not find `IoErrorKind` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `json` [INFO] [stdout] --> src/main.rs:339:24 [INFO] [stdout] | [INFO] [stdout] 339 | let mut obj_map : json::Object = BTreeMap::with_b(4); [INFO] [stdout] | ^^^^ use of undeclared crate or module `json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Json` [INFO] [stdout] --> src/main.rs:346:16 [INFO] [stdout] | [INFO] [stdout] 346 | ... None => Json::Null [INFO] [stdout] | ^^^^ use of undeclared type `Json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Json` [INFO] [stdout] --> src/main.rs:350:16 [INFO] [stdout] | [INFO] [stdout] 350 | ... None => Json::Null [INFO] [stdout] | ^^^^ use of undeclared type `Json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Json` [INFO] [stdout] --> src/main.rs:355:16 [INFO] [stdout] | [INFO] [stdout] 355 | ... None => Json::Null [INFO] [stdout] | ^^^^ use of undeclared type `Json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `json` [INFO] [stdout] --> src/main.rs:364:33 [INFO] [stdout] | [INFO] [stdout] 364 | let mut compound_rt_map : json::Object = BTreeMap::new(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `json` [INFO] [stdout] --> src/main.rs:377:40 [INFO] [stdout] | [INFO] [stdout] 377 | ... let mut compound_details_map : json::Object = BTreeMap::new(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Json` [INFO] [stdout] --> src/main.rs:380:18 [INFO] [stdout] | [INFO] [stdout] 380 | ... None => Json::Null [INFO] [stdout] | ^^^^ use of undeclared type `Json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Json` [INFO] [stdout] --> src/main.rs:384:18 [INFO] [stdout] | [INFO] [stdout] 384 | ... None => Json::Null [INFO] [stdout] | ^^^^ use of undeclared type `Json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Json` [INFO] [stdout] --> src/main.rs:388:18 [INFO] [stdout] | [INFO] [stdout] 388 | ... None => Json::Null [INFO] [stdout] | ^^^^ use of undeclared type `Json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Json` [INFO] [stdout] --> src/main.rs:393:48 [INFO] [stdout] | [INFO] [stdout] 393 | ... compound_rt_map.insert(rt.to_string(), Json::Object(compound_details_map)); [INFO] [stdout] | ^^^^ use of undeclared type `Json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Json` [INFO] [stdout] --> src/main.rs:401:54 [INFO] [stdout] | [INFO] [stdout] 401 | ... obj_map.insert(String::from_str("compounds"), Json::Object(compound_rt_map)); [INFO] [stdout] | ^^^^ use of undeclared type `Json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Json` [INFO] [stdout] --> src/main.rs:402:126 [INFO] [stdout] | [INFO] [stdout] 402 | ...clone(), self.request_id, "update", format!("{}", Json::Object(obj_map.clone())).as_slice()); [INFO] [stdout] | ^^^^ use of undeclared type `Json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> src/main.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 18 | struct ProcessedRun<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Json` [INFO] [stdout] ... [INFO] [stdout] 21 | compounds : Vec [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/main.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | www_dir : Path, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/main.rs:81:61 [INFO] [stdout] | [INFO] [stdout] 81 | fn return_file(&self, mut client_stream: TcpStream, path : Path) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> src/main.rs:138:78 [INFO] [stdout] | [INFO] [stdout] 31 | impl ClientRequest { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 138 | fn parse_json_body(&self, mut stream : TcpStream, chunked : bool) -> Result{ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> src/main.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 31 | impl ClientRequest { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 139 | let mut result : Result; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> src/main.rs:190:66 [INFO] [stdout] | [INFO] [stdout] 31 | impl ClientRequest { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 190 | fn get_run_data(&self, query_string : Option<&str>) -> IoResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> src/main.rs:194:27 [INFO] [stdout] | [INFO] [stdout] 31 | impl ClientRequest { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 194 | let mut data : IoResult = Err(IoError { kind: std::io::IoErrorKind::ConnectionFailed, desc: "Could not get run data", detai... [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> src/main.rs:257:98 [INFO] [stdout] | [INFO] [stdout] 257 | fn find_and_report_compounds(&self, mut client_stream : TcpStream, query_str : &str, mut list : Json){ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> src/main.rs:286:22 [INFO] [stdout] | [INFO] [stdout] 31 | impl ClientRequest { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 286 | let runs : Option<&Json> = match list.find("runs") { Some(t) => Some(t), None => None }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> src/main.rs:332:67 [INFO] [stdout] | [INFO] [stdout] 332 | fn process_runs(&self, mut client_stream : TcpStream, mut list : Json, start_time : f64, end_time : f64) -> u32 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> src/main.rs:334:22 [INFO] [stdout] | [INFO] [stdout] 31 | impl ClientRequest { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 334 | let runs : Option<&Json> = match list.find("runs") { Some(t) => Some(t), None => None }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> src/main.rs:359:23 [INFO] [stdout] | [INFO] [stdout] 31 | impl ClientRequest { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 359 | let peaks : Vec = match j_run.find_path(&["detectors","moduleA:tcd","analysis","peaks"]){ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getcwd` in module `os` [INFO] [stdout] --> src/main.rs:554:20 [INFO] [stdout] | [INFO] [stdout] 554 | let www_dir = os::getcwd().unwrap().join("www"); [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:290:7 [INFO] [stdout] | [INFO] [stdout] 290 | if(runs.is_array()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 290 - if(runs.is_array()){ [INFO] [stdout] 290 + if runs.is_array() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | if(run.is_object()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 298 - if(run.is_object()){ [INFO] [stdout] 298 + if run.is_object() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:338:7 [INFO] [stdout] | [INFO] [stdout] 338 | if(runs.is_array()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 338 - if(runs.is_array()){ [INFO] [stdout] 338 + if runs.is_array() { [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/main.rs:42:51 [INFO] [stdout] | [INFO] [stdout] 42 | let result = match client_stream.write_str(data.as_slice()) { Ok(r) => true, Err(e) => false }; [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/main.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | data.push_str(s.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/main.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | client_stream.write_str(data.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/main.rs:114:51 [INFO] [stdout] | [INFO] [stdout] 114 | let result = match client_stream.write_str(data.as_slice()) { Ok(r) => true, Err(e) => false }; [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/main.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 123 | data.push_str(format!("{}", id).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/main.rs:133:51 [INFO] [stdout] | [INFO] [stdout] 133 | let result = match client_stream.write_str(data.as_slice()) { Ok(r) => true, Err(e) => false }; [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | chunks.push_all(vals.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope [INFO] [stdout] --> src/main.rs:170:42 [INFO] [stdout] | [INFO] [stdout] 170 | match json::from_str(full_body.trim().as_slice()) { [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:214:51 [INFO] [stdout] | [INFO] [stdout] 214 | let request_result = stream.write_str(request.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope [INFO] [stdout] --> src/main.rs:225:26 [INFO] [stdout] | [INFO] [stdout] 225 | match header.trim().as_slice() { [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:263:34 [INFO] [stdout] | [INFO] [stdout] 263 | let mut query_string = String::from_str(query_str); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [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/main.rs:306:44 [INFO] [stdout] | [INFO] [stdout] 306 | ... match self.get_run_data(Some(query.as_slice())) { [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_b` found for struct `BTreeMap` in the current scope [INFO] [stdout] --> src/main.rs:339:49 [INFO] [stdout] | [INFO] [stdout] 339 | let mut obj_map : json::Object = BTreeMap::with_b(4); [INFO] [stdout] | ^^^^^^ function or associated item not found in `BTreeMap<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:344:30 [INFO] [stdout] | [INFO] [stdout] 344 | obj_map.insert(String::from_str("id"), match run.get("$id") { [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:348:30 [INFO] [stdout] | [INFO] [stdout] 348 | obj_map.insert(String::from_str("name"), match run.get("$displayName") { [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:353:30 [INFO] [stdout] | [INFO] [stdout] 353 | obj_map.insert(String::from_str("timestamp"), match run.get("runTimeStamp") { [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:378:45 [INFO] [stdout] | [INFO] [stdout] 378 | ... compound_details_map.insert(String::from_str("name"), match peak.find("label") { [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:382:45 [INFO] [stdout] | [INFO] [stdout] 382 | ... compound_details_map.insert(String::from_str("area"), match peak.find("area") { [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:386:45 [INFO] [stdout] | [INFO] [stdout] 386 | ... compound_details_map.insert(String::from_str("height"), match peak.find("height") { [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:401:31 [INFO] [stdout] | [INFO] [stdout] 401 | ... obj_map.insert(String::from_str("compounds"), Json::Object(compound_rt_map)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope [INFO] [stdout] --> src/main.rs:434:19 [INFO] [stdout] | [INFO] [stdout] 434 | match header.as_slice() { [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/main.rs:458:39 [INFO] [stdout] | [INFO] [stdout] 458 | let has_token = !self.trend_token.compare_and_swap(false, true, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `seconds` found for struct `Duration` in the current scope [INFO] [stdout] --> src/main.rs:469:29 [INFO] [stdout] | [INFO] [stdout] 469 | sleeper.sleep(Duration::seconds(1)); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `seconds` found for struct `Duration` in the current scope [INFO] [stdout] --> src/main.rs:489:31 [INFO] [stdout] | [INFO] [stdout] 489 | sleeper.sleep(Duration::seconds(1)); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/main.rs:495:22 [INFO] [stdout] | [INFO] [stdout] 495 | self.trend_token.compare_and_swap(true, false, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_str` found for reference `&str` in the current scope [INFO] [stdout] --> src/main.rs:511:20 [INFO] [stdout] | [INFO] [stdout] 511 | ss = request_uri.split_str("?"); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `split_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_from` found for reference `&str` in the current scope [INFO] [stdout] --> src/main.rs:534:19 [INFO] [stdout] | [INFO] [stdout] 534 | path = path.slice_from(1); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope [INFO] [stdout] --> src/main.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | Thread::spawn(move || { [INFO] [stdout] | ^^^^^ function or associated item not found in `Thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 63 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `run-trender` due to 64 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "22c772f9f12b3dbeab7bb680337b80c02513120c86fdfc2472332df55f25b135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22c772f9f12b3dbeab7bb680337b80c02513120c86fdfc2472332df55f25b135", kill_on_drop: false }` [INFO] [stdout] 22c772f9f12b3dbeab7bb680337b80c02513120c86fdfc2472332df55f25b135