[INFO] cloning repository https://github.com/erduotong/RustyCalc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erduotong/RustyCalc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferduotong%2FRustyCalc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferduotong%2FRustyCalc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8537f1346f8b619f15282586ff68913959626f95 [INFO] checking erduotong/RustyCalc against master#6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd for pr-153721 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferduotong%2FRustyCalc" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/erduotong/RustyCalc [INFO] finished tweaking git repo https://github.com/erduotong/RustyCalc [INFO] tweaked toml for git repo https://github.com/erduotong/RustyCalc written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/erduotong/RustyCalc on toolchain 6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/erduotong/RustyCalc 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" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 4bc2397cfa412fc227b1ff325bada7e48c2bd4e585ddd36f55fbda1abd9a3a4e [INFO] running `Command { std: "docker" "start" "4bc2397cfa412fc227b1ff325bada7e48c2bd4e585ddd36f55fbda1abd9a3a4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4bc2397cfa412fc227b1ff325bada7e48c2bd4e585ddd36f55fbda1abd9a3a4e" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bc2397cfa412fc227b1ff325bada7e48c2bd4e585ddd36f55fbda1abd9a3a4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4bc2397cfa412fc227b1ff325bada7e48c2bd4e585ddd36f55fbda1abd9a3a4e" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking rusty_calc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0573]: expected type, found variant `String` [INFO] [stdout] --> src/main.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 1 + use std::string::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `String` [INFO] [stdout] --> src/main.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | variables: HashMap, [INFO] [stdout] | ^^^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 1 + use std::string::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `String` [INFO] [stdout] --> src/main.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | fn new(name: String) -> Box { [INFO] [stdout] | ^^^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 1 + use std::string::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `String` [INFO] [stdout] --> src/main.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | fn calculate(&mut self, input: &String) {} [INFO] [stdout] | ^^^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 1 + use std::string::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `String` [INFO] [stdout] --> src/main.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let args: Vec = env::args().collect(); [INFO] [stdout] | ^^^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 1 + use std::string::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module `String` in this scope [INFO] [stdout] --> src/main.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let input = String::from("1+2"); [INFO] [stdout] | ^^^^^^ `String` is a variant, not a module [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::string::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `String` [INFO] [stdout] --> src/main.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 1 + use std::string::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `String` [INFO] [stdout] --> src/main.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | variables: HashMap, [INFO] [stdout] | ^^^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 1 + use std::string::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `String` [INFO] [stdout] --> src/main.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | fn new(name: String) -> Box { [INFO] [stdout] | ^^^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 1 + use std::string::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `String` [INFO] [stdout] --> src/main.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | fn calculate(&mut self, input: &String) {} [INFO] [stdout] | ^^^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 1 + use std::string::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `String` [INFO] [stdout] --> src/main.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let args: Vec = env::args().collect(); [INFO] [stdout] | ^^^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 1 + use std::string::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module `String` in this scope [INFO] [stdout] --> src/main.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let input = String::from("1+2"); [INFO] [stdout] | ^^^^^^ `String` is a variant, not a module [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::string::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0573. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_calc` (bin "rusty_calc" test) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0433, E0573. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_calc` (bin "rusty_calc") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "4bc2397cfa412fc227b1ff325bada7e48c2bd4e585ddd36f55fbda1abd9a3a4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bc2397cfa412fc227b1ff325bada7e48c2bd4e585ddd36f55fbda1abd9a3a4e", kill_on_drop: false }` [INFO] [stdout] 4bc2397cfa412fc227b1ff325bada7e48c2bd4e585ddd36f55fbda1abd9a3a4e