[INFO] updating cached repository https://github.com/mlchua/oxide [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 44f30dc86933d68eb75b4f651e16dd287497585b [INFO] checking mlchua/oxide against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlchua%2Foxide" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mlchua/oxide on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/mlchua/oxide [INFO] finished tweaking git repo https://github.com/mlchua/oxide [INFO] tweaked toml for git repo https://github.com/mlchua/oxide written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/mlchua/oxide already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 63c128c45f269fd098bb0b518c79668c82d05d0c75aad2d3b5966df3718d0a0c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "63c128c45f269fd098bb0b518c79668c82d05d0c75aad2d3b5966df3718d0a0c"` [INFO] [stderr] Checking oxide v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `std::num::Int` [INFO] [stderr] --> src/http/request.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::num::Int; [INFO] [stderr] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/http/request.rs:70:37 [INFO] [stderr] | [INFO] [stderr] 70 | let (method, target, version) = try!(parse_request_start(start.as_ref())); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/http/request.rs:157:28 [INFO] [stderr] | [INFO] [stderr] 157 | let (key, value) = try!(parse_header(line.as_ref())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/http/request.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / macro_rules! slice { [INFO] [stderr] 13 | | ($st:ident) => { [INFO] [stderr] 14 | | { let str_ref: &str = $st.as_ref(); str_ref } [INFO] [stderr] 15 | | }; [INFO] [stderr] 16 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/http/request.rs:204:13 [INFO] [stderr] | [INFO] [stderr] 204 | '0' ... '9' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/http/request.rs:205:13 [INFO] [stderr] | [INFO] [stderr] 205 | 'a' ... 'z' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/http/request.rs:206:13 [INFO] [stderr] | [INFO] [stderr] 206 | 'A' ... 'Z' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::Int` [INFO] [stderr] --> src/http/request.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::num::Int; [INFO] [stderr] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/http/request.rs:70:37 [INFO] [stderr] | [INFO] [stderr] 70 | let (method, target, version) = try!(parse_request_start(start.as_ref())); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/http/request.rs:157:28 [INFO] [stderr] | [INFO] [stderr] 157 | let (key, value) = try!(parse_header(line.as_ref())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/http/request.rs:204:13 [INFO] [stderr] | [INFO] [stderr] 204 | '0' ... '9' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/http/request.rs:205:13 [INFO] [stderr] | [INFO] [stderr] 205 | 'a' ... 'z' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/http/request.rs:206:13 [INFO] [stderr] | [INFO] [stderr] 206 | 'A' ... 'Z' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/http/request.rs:128:26 [INFO] [stderr] | [INFO] [stderr] 128 | let target = String::from_str(req_parts[1]); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/http/request.rs:128:26 [INFO] [stderr] | [INFO] [stderr] 128 | let target = String::from_str(req_parts[1]); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/http/request.rs:195:17 [INFO] [stderr] | [INFO] [stderr] 195 | Ok((String::from_str(name), String::from_str(value))) [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/http/request.rs:195:17 [INFO] [stderr] | [INFO] [stderr] 195 | Ok((String::from_str(name), String::from_str(value))) [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/http/request.rs:195:41 [INFO] [stderr] | [INFO] [stderr] 195 | Ok((String::from_str(name), String::from_str(value))) [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/http/request.rs:195:41 [INFO] [stderr] | [INFO] [stderr] 195 | Ok((String::from_str(name), String::from_str(value))) [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/http/request.rs:219:30 [INFO] [stderr] | [INFO] [stderr] 219 | let len_header = String::from_str(CONTENT_LENGTH); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/http/request.rs:220:31 [INFO] [stderr] | [INFO] [stderr] 220 | let mut message = String::from_str(EMPTY_MESSAGE); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/http/request.rs:219:30 [INFO] [stderr] | [INFO] [stderr] 219 | let len_header = String::from_str(CONTENT_LENGTH); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/http/request.rs:220:31 [INFO] [stderr] | [INFO] [stderr] 220 | let mut message = String::from_str(EMPTY_MESSAGE); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0689]: can't call method `pow` on ambiguous numeric type `{integer}` [INFO] [stderr] --> src/http/request.rs:238:46 [INFO] [stderr] | [INFO] [stderr] 238 | running_sum += hex_to_uint(hex) * 16.pow(index as u32); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stderr] | [INFO] [stderr] 238 | running_sum += hex_to_uint(hex) * 16_i32.pow(index as u32); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0689]: can't call method `pow` on ambiguous numeric type `{integer}` [INFO] [stderr] --> src/http/request.rs:238:46 [INFO] [stderr] | [INFO] [stderr] 238 | running_sum += hex_to_uint(hex) * 16.pow(index as u32); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stderr] | [INFO] [stderr] 238 | running_sum += hex_to_uint(hex) * 16_i32.pow(index as u32); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/http/response.rs:25:30 [INFO] [stderr] | [INFO] [stderr] 25 | message: String::from_str(""), [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/http/response.rs:45:37 [INFO] [stderr] | [INFO] [stderr] 45 | self.headers.insert(String::from_str("Content-Length"), [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors; 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599, E0689. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `oxide`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/http/request.rs:394:39 [INFO] [stderr] | [INFO] [stderr] 394 | let mut long_target = String::from_str(long_target_phrase); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/http/response.rs:25:30 [INFO] [stderr] | [INFO] [stderr] 25 | message: String::from_str(""), [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/http/response.rs:45:37 [INFO] [stderr] | [INFO] [stderr] 45 | self.headers.insert(String::from_str("Content-Length"), [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599, E0689. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `oxide`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "63c128c45f269fd098bb0b518c79668c82d05d0c75aad2d3b5966df3718d0a0c"` [INFO] running `"docker" "rm" "-f" "63c128c45f269fd098bb0b518c79668c82d05d0c75aad2d3b5966df3718d0a0c"` [INFO] [stdout] 63c128c45f269fd098bb0b518c79668c82d05d0c75aad2d3b5966df3718d0a0c