[INFO] cloning repository https://github.com/Eson-Jia/huffman
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Eson-Jia/huffman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEson-Jia%2Fhuffman", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEson-Jia%2Fhuffman'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b572356670f40e129dd93d40ba11d008b7ab4127
[INFO] checking Eson-Jia/huffman against master#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEson-Jia%2Fhuffman" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Eson-Jia/huffman
[INFO] finished tweaking git repo https://github.com/Eson-Jia/huffman
[INFO] tweaked toml for git repo https://github.com/Eson-Jia/huffman written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Eson-Jia/huffman on toolchain 8f21a5c92ea55c348c275a1bc4fedbdf181e0d64
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Eson-Jia/huffman 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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9026fdc4158ea0b6a3e95ead4ddbd75fad31e303bf4cfc5a3c2fa4d1d0f99fe0
[INFO] running `Command { std: "docker" "start" "-a" "9026fdc4158ea0b6a3e95ead4ddbd75fad31e303bf4cfc5a3c2fa4d1d0f99fe0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9026fdc4158ea0b6a3e95ead4ddbd75fad31e303bf4cfc5a3c2fa4d1d0f99fe0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9026fdc4158ea0b6a3e95ead4ddbd75fad31e303bf4cfc5a3c2fa4d1d0f99fe0", kill_on_drop: false }`
[INFO] [stdout] 9026fdc4158ea0b6a3e95ead4ddbd75fad31e303bf4cfc5a3c2fa4d1d0f99fe0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3390b123fb75dfba9ab9b9c7e34cf9b56a4ec30dd94c529c6218f4e0f11a9e03
[INFO] running `Command { std: "docker" "start" "-a" "3390b123fb75dfba9ab9b9c7e34cf9b56a4ec30dd94c529c6218f4e0f11a9e03", kill_on_drop: false }`
[INFO] [stderr]     Checking huffman v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `slice_fill` has been stable since 1.50.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/bin/memory_test.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(slice_fill)]
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `slice_fill` has been stable since 1.50.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/bin/memory_test.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(slice_fill)]
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inputfile`
[INFO] [stdout]   --> src/bin/rwbinary.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let inputfile=param.next();
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputfile`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `outputfile`
[INFO] [stdout]   --> src/bin/rwbinary.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let outputfile=param.next();
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inputfile`
[INFO] [stdout]   --> src/bin/rwbinary.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let inputfile=param.next();
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputfile`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `outputfile`
[INFO] [stdout]   --> src/bin/rwbinary.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let outputfile=param.next();
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/bin/rwbinary.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 _outputfile.write(&mut buffer[..len]);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 let _ = _outputfile.write(&mut buffer[..len]);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/bin/rwbinary.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 _outputfile.write(&mut buffer[..len]);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 let _ = _outputfile.write(&mut buffer[..len]);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `1`
[INFO] [stdout]  --> src/bin/leetcode.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 |         let theSet = u32{1,21}
[INFO] [stdout]   |                      --- ^ expected identifier
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `21`
[INFO] [stdout]  --> src/bin/leetcode.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 |         let theSet = u32{1,21}
[INFO] [stdout]   |                      ---   ^^ expected identifier
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `for`
[INFO] [stdout]  --> src/bin/leetcode.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 |         let theSet = u32{1,21}
[INFO] [stdout]   |                               ^ help: add `;` here
[INFO] [stdout] 4 |         for i in 0..s.len() {
[INFO] [stdout]   |         --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `close` and `flush` are never used
[INFO] [stdout]    --> src/bin/list.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 135 | impl BinaryWriter {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 175 |     fn close(& mut self){
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn flush(& mut self){
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `1`
[INFO] [stdout]  --> src/bin/leetcode.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 |         let theSet = u32{1,21}
[INFO] [stdout]   |                      --- ^ expected identifier
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `21`
[INFO] [stdout]  --> src/bin/leetcode.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 |         let theSet = u32{1,21}
[INFO] [stdout]   |                      ---   ^^ expected identifier
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `for`
[INFO] [stdout]  --> src/bin/leetcode.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 |         let theSet = u32{1,21}
[INFO] [stdout]   |                               ^ help: add `;` here
[INFO] [stdout] 4 |         for i in 0..s.len() {
[INFO] [stdout]   |         --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `close` and `flush` are never used
[INFO] [stdout]    --> src/bin/list.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 135 | impl BinaryWriter {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 175 |     fn close(& mut self){
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn flush(& mut self){
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope
[INFO] [stdout]  --> src/bin/leetcode.rs:1:6
[INFO] [stdout]   |
[INFO] [stdout] 1 | impl Solution {
[INFO] [stdout]   |      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0574]: expected struct, variant or union type, found builtin type `u32`
[INFO] [stdout]  --> src/bin/leetcode.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 |         let theSet = u32{1,21}
[INFO] [stdout]   |                      ^^^ not a struct, variant or union type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `String`
[INFO] [stdout]  --> src/bin/leetcode.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 |             if String[i]=="?"{
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout]  --> /rustc/8f21a5c92ea55c348c275a1bc4fedbdf181e0d64/library/alloc/src/string.rs:360:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: `String` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope
[INFO] [stdout]  --> src/bin/leetcode.rs:1:6
[INFO] [stdout]   |
[INFO] [stdout] 1 | impl Solution {
[INFO] [stdout]   |      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0574]: expected struct, variant or union type, found builtin type `u32`
[INFO] [stdout]  --> src/bin/leetcode.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 |         let theSet = u32{1,21}
[INFO] [stdout]   |                      ^^^ not a struct, variant or union type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `String`
[INFO] [stdout]  --> src/bin/leetcode.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 |             if String[i]=="?"{
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout]  --> /rustc/8f21a5c92ea55c348c275a1bc4fedbdf181e0d64/library/alloc/src/string.rs:360:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: `String` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/bin/leetcode.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     pub fn modify_string(s: String) -> String {
[INFO] [stdout]   |                                        ------ expected `String` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 9 |         ""
[INFO] [stdout]   |         ^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |         |
[INFO] [stdout]   |         expected `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/bin/leetcode.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     pub fn modify_string(s: String) -> String {
[INFO] [stdout]   |                                        ------ expected `String` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 9 |         ""
[INFO] [stdout]   |         ^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]   |         |
[INFO] [stdout]   |         expected `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0423, E0574.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0423, E0574.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `huffman` (bin "leetcode") due to 7 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `huffman` (bin "leetcode" test) due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "3390b123fb75dfba9ab9b9c7e34cf9b56a4ec30dd94c529c6218f4e0f11a9e03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3390b123fb75dfba9ab9b9c7e34cf9b56a4ec30dd94c529c6218f4e0f11a9e03", kill_on_drop: false }`
[INFO] [stdout] 3390b123fb75dfba9ab9b9c7e34cf9b56a4ec30dd94c529c6218f4e0f11a9e03
