[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#ab26b175979ee7b2cb3302dce204b99df96f7efb for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferduotong%2FRustyCalc" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/erduotong/RustyCalc on toolchain ab26b175979ee7b2cb3302dce204b99df96f7efb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "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" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9dbc64e00a6687e2406702baef883370d1e9cf439318fee564fabad286cf5b00
[INFO] running `Command { std: "docker" "start" "9dbc64e00a6687e2406702baef883370d1e9cf439318fee564fabad286cf5b00", 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" "9dbc64e00a6687e2406702baef883370d1e9cf439318fee564fabad286cf5b00" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9dbc64e00a6687e2406702baef883370d1e9cf439318fee564fabad286cf5b00", 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" "9dbc64e00a6687e2406702baef883370d1e9cf439318fee564fabad286cf5b00" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "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<String, Types>,
[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<Calculator> {
[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<String> = 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] [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<String, Types>,
[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<Calculator> {
[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<String> = 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] [stderr] error: could not compile `rusty_calc` (bin "rusty_calc") 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" test) due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "9dbc64e00a6687e2406702baef883370d1e9cf439318fee564fabad286cf5b00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9dbc64e00a6687e2406702baef883370d1e9cf439318fee564fabad286cf5b00", kill_on_drop: false }`
[INFO] [stdout] 9dbc64e00a6687e2406702baef883370d1e9cf439318fee564fabad286cf5b00
