[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] checking sacarro/rust-trend-report against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsacarro%2Frust-trend-report" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sacarro/rust-trend-report on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d71f091163f9a327eb24fb8fee165cda1bbaf3c2df84f2e4c506cbbc4a1bab63 [INFO] running `Command { std: "docker" "start" "-a" "d71f091163f9a327eb24fb8fee165cda1bbaf3c2df84f2e4c506cbbc4a1bab63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d71f091163f9a327eb24fb8fee165cda1bbaf3c2df84f2e4c506cbbc4a1bab63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d71f091163f9a327eb24fb8fee165cda1bbaf3c2df84f2e4c506cbbc4a1bab63", kill_on_drop: false }` [INFO] [stdout] d71f091163f9a327eb24fb8fee165cda1bbaf3c2df84f2e4c506cbbc4a1bab63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 169b49c5dd1f8f478514c7bb700619b3e3efbe99b47e6d1f27041d458fc5d9c0 [INFO] running `Command { std: "docker" "start" "-a" "169b49c5dd1f8f478514c7bb700619b3e3efbe99b47e6d1f27041d458fc5d9c0", kill_on_drop: false }` [INFO] [stderr] Checking 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[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] = help: consider importing this struct instead: [INFO] [stdout] std::net::TcpListener [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::net::TcpStream [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] = help: consider importing this struct instead: [INFO] [stdout] std::net::TcpListener [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::net::TcpStream [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 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] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::File; [INFO] [stdout] | ~~~~~~~~~~~~~ [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] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::File; [INFO] [stdout] | ~~~~~~~~~~~~~ [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::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::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::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[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: 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] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | could not find `IoErrorKind` in `io` [INFO] [stdout] | help: an enum with a similar name exists: `ErrorKind` [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] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | could not find `IoErrorKind` in `io` [INFO] [stdout] | help: an enum with a similar name exists: `ErrorKind` [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: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 `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[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] 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] 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: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: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: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: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: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 `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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 152 | chunks.push(vals.as_slice()); [INFO] [stdout] | ~~~~ [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 152 | chunks.push(vals.as_slice()); [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: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 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 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 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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 263 | let mut query_string = String::from(query_str); [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: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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 263 | let mut query_string = String::from(query_str); [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 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] note: if you're trying to build a new `BTreeMap<_, _, _>` consider using one of the following associated functions: [INFO] [stdout] BTreeMap::::new [INFO] [stdout] BTreeMap::::new_in [INFO] [stdout] BTreeMap::::bulk_build_from_sorted_iter [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/collections/btree/map.rs:629:5 [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] note: if you're trying to build a new `BTreeMap<_, _, _>` consider using one of the following associated functions: [INFO] [stdout] BTreeMap::::new [INFO] [stdout] BTreeMap::::new_in [INFO] [stdout] BTreeMap::::bulk_build_from_sorted_iter [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/collections/btree/map.rs:629:5 [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 344 | obj_map.insert(String::from("id"), match run.get("$id") { [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: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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 344 | obj_map.insert(String::from("id"), match run.get("$id") { [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 348 | obj_map.insert(String::from("name"), match run.get("$displayName") { [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 348 | obj_map.insert(String::from("name"), match run.get("$displayName") { [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 353 | obj_map.insert(String::from("timestamp"), match run.get("runTimeStamp") { [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 353 | obj_map.insert(String::from("timestamp"), match run.get("runTimeStamp") { [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 378 | compound_details_map.insert(String::from("name"), match peak.find("label") { [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 378 | compound_details_map.insert(String::from("name"), match peak.find("label") { [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 382 | compound_details_map.insert(String::from("area"), match peak.find("area") { [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 382 | compound_details_map.insert(String::from("area"), match peak.find("area") { [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 386 | compound_details_map.insert(String::from("height"), match peak.find("height") { [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 386 | compound_details_map.insert(String::from("height"), match peak.find("height") { [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 401 | obj_map.insert(String::from("compounds"), Json::Object(compound_rt_map)); [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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 401 | obj_map.insert(String::from("compounds"), Json::Object(compound_rt_map)); [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:402:157 [INFO] [stdout] | [INFO] [stdout] 402 | ...", format!("{}", Json::Object(obj_map.clone())).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:402:157 [INFO] [stdout] | [INFO] [stdout] 402 | ...", format!("{}", Json::Object(obj_map.clone())).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:434:19 [INFO] [stdout] | [INFO] [stdout] 434 | match header.as_slice() { [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [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] 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] note: if you're trying to build a new `Duration` consider using one of the following associated functions: [INFO] [stdout] Duration::new [INFO] [stdout] Duration::from_secs [INFO] [stdout] Duration::from_millis [INFO] [stdout] Duration::from_micros [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/time.rs:211:5 [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] note: if you're trying to build a new `Duration` consider using one of the following associated functions: [INFO] [stdout] Duration::new [INFO] [stdout] Duration::from_secs [INFO] [stdout] Duration::from_millis [INFO] [stdout] Duration::from_micros [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/time.rs:211:5 [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] note: if you're trying to build a new `Duration` consider using one of the following associated functions: [INFO] [stdout] Duration::new [INFO] [stdout] Duration::from_secs [INFO] [stdout] Duration::from_millis [INFO] [stdout] Duration::from_micros [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/time.rs:211:5 [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] note: if you're trying to build a new `Duration` consider using one of the following associated functions: [INFO] [stdout] Duration::new [INFO] [stdout] Duration::from_secs [INFO] [stdout] Duration::from_millis [INFO] [stdout] Duration::from_micros [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/time.rs:211:5 [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `split` with a similar name [INFO] [stdout] | [INFO] [stdout] 511 | ss = request_uri.split("?"); [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `split` with a similar name [INFO] [stdout] | [INFO] [stdout] 511 | ss = request_uri.split("?"); [INFO] [stdout] | ~~~~~ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `clone_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 534 | path = path.clone_from(1); [INFO] [stdout] | ~~~~~~~~~~ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `clone_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 534 | path = path.clone_from(1); [INFO] [stdout] | ~~~~~~~~~~ [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] note: if you're trying to build a new `Thread` consider using one of the following associated functions: [INFO] [stdout] Thread::new [INFO] [stdout] Thread::new_unnamed [INFO] [stdout] Thread::new_main [INFO] [stdout] Thread::new_inner [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/thread/mod.rs:1321:5 [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] note: if you're trying to build a new `Thread` consider using one of the following associated functions: [INFO] [stdout] Thread::new [INFO] [stdout] Thread::new_unnamed [INFO] [stdout] Thread::new_main [INFO] [stdout] Thread::new_inner [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/thread/mod.rs:1321:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors [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] [stdout] error: aborting due to 39 previous errors [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` (bin "run-trender") due to 40 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `run-trender` (bin "run-trender" test) due to 40 previous errors [INFO] running `Command { std: "docker" "inspect" "169b49c5dd1f8f478514c7bb700619b3e3efbe99b47e6d1f27041d458fc5d9c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "169b49c5dd1f8f478514c7bb700619b3e3efbe99b47e6d1f27041d458fc5d9c0", kill_on_drop: false }` [INFO] [stdout] 169b49c5dd1f8f478514c7bb700619b3e3efbe99b47e6d1f27041d458fc5d9c0