[INFO] cloning repository https://github.com/YanLong-111/RustLearning-RustScopes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YanLong-111/RustLearning-RustScopes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYanLong-111%2FRustLearning-RustScopes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYanLong-111%2FRustLearning-RustScopes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6d786425ec071a2a55367d3aade7d36907e31fb4
[INFO] checking YanLong-111/RustLearning-RustScopes against try#e983148bd5f0f0db270bfb72149f5e892e68b67f for pr-150322
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYanLong-111%2FRustLearning-RustScopes" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/YanLong-111/RustLearning-RustScopes
[INFO] finished tweaking git repo https://github.com/YanLong-111/RustLearning-RustScopes
[INFO] tweaked toml for git repo https://github.com/YanLong-111/RustLearning-RustScopes written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/YanLong-111/RustLearning-RustScopes on toolchain e983148bd5f0f0db270bfb72149f5e892e68b67f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/YanLong-111/RustLearning-RustScopes 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" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking YanLong-111/RustLearning-RustScopes against try#e983148bd5f0f0db270bfb72149f5e892e68b67f for pr-150322
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYanLong-111%2FRustLearning-RustScopes" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/YanLong-111/RustLearning-RustScopes
[INFO] finished tweaking git repo https://github.com/YanLong-111/RustLearning-RustScopes
[INFO] tweaked toml for git repo https://github.com/YanLong-111/RustLearning-RustScopes written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/YanLong-111/RustLearning-RustScopes on toolchain e983148bd5f0f0db270bfb72149f5e892e68b67f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/YanLong-111/RustLearning-RustScopes 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" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b770c4dbebabd82995efdbc6f43ebeab3ebfc8d16c1c7f74a7587b0cfa0aed14
[INFO] running `Command { std: "docker" "start" "-a" "b770c4dbebabd82995efdbc6f43ebeab3ebfc8d16c1c7f74a7587b0cfa0aed14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b770c4dbebabd82995efdbc6f43ebeab3ebfc8d16c1c7f74a7587b0cfa0aed14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b770c4dbebabd82995efdbc6f43ebeab3ebfc8d16c1c7f74a7587b0cfa0aed14", kill_on_drop: false }`
[INFO] [stdout] b770c4dbebabd82995efdbc6f43ebeab3ebfc8d16c1c7f74a7587b0cfa0aed14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e57aaa4448e1d04bb0b08ca755ff1c733855d251c7a76c7dad0f34b138f60c02
[INFO] running `Command { std: "docker" "start" "-a" "e57aaa4448e1d04bb0b08ca755ff1c733855d251c7a76c7dad0f34b138f60c02", kill_on_drop: false }`
[INFO] [stderr]     Checking Scpoes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]    --> src/main.rs:123:16
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn dangle() -> &String { // 此处将会报错！！！
[INFO] [stdout]     |                ^ expected named lifetime parameter
[INFO] [stdout]     |
[INFO] [stdout]     = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
[INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static`
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn dangle() -> &'static String { // 此处将会报错！！！
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] help: instead, you are more likely to want to return an owned value
[INFO] [stdout]     |
[INFO] [stdout] 123 - fn dangle() -> &String { // 此处将会报错！！！
[INFO] [stdout] 123 + fn dangle() -> String { // 此处将会报错！！！
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]    --> src/main.rs:123:16
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn dangle() -> &String { // 此处将会报错！！！
[INFO] [stdout]     |                ^ expected named lifetime parameter
[INFO] [stdout]     |
[INFO] [stdout]     = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
[INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static`
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn dangle() -> &'static String { // 此处将会报错！！！
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] help: instead, you are more likely to want to return an owned value
[INFO] [stdout]     |
[INFO] [stdout] 123 - fn dangle() -> &String { // 此处将会报错！！！
[INFO] [stdout] 123 + fn dangle() -> String { // 此处将会报错！！！
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `foem` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:45:21
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let h = String::foem("hello");//h进入作用域
[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 9 others
[INFO] [stdout]   --> /rustc/e983148bd5f0f0db270bfb72149f5e892e68b67f/library/alloc/src/string.rs:437:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `foem` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:45:21
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let h = String::foem("hello");//h进入作用域
[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 9 others
[INFO] [stdout]   --> /rustc/e983148bd5f0f0db270bfb72149f5e892e68b67f/library/alloc/src/string.rs:437:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `foem` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:55:25
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let mut j = String::foem("hello");//j进入作用域
[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 9 others
[INFO] [stdout]   --> /rustc/e983148bd5f0f0db270bfb72149f5e892e68b67f/library/alloc/src/string.rs:437:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `foem` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:55:25
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let mut j = String::foem("hello");//j进入作用域
[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 9 others
[INFO] [stdout]   --> /rustc/e983148bd5f0f0db270bfb72149f5e892e68b67f/library/alloc/src/string.rs:437:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `len` on type `String`
[INFO] [stdout]    --> src/main.rs:104:20
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let length = s.len;//获取到传入字符串的长度
[INFO] [stdout]     |                    ^^^ method, not a field
[INFO] [stdout]     |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let length = s.len();//获取到传入字符串的长度
[INFO] [stdout]     |                       ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `len` on type `String`
[INFO] [stdout]    --> src/main.rs:104:20
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let length = s.len;//获取到传入字符串的长度
[INFO] [stdout]     |                    ^^^ method, not a field
[INFO] [stdout]     |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let length = s.len();//获取到传入字符串的长度
[INFO] [stdout]     |                       ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0599, E0615.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0599, E0615.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Scpoes` (bin "Scpoes" test) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `Scpoes` (bin "Scpoes") due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "e57aaa4448e1d04bb0b08ca755ff1c733855d251c7a76c7dad0f34b138f60c02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e57aaa4448e1d04bb0b08ca755ff1c733855d251c7a76c7dad0f34b138f60c02", kill_on_drop: false }`
[INFO] [stdout] e57aaa4448e1d04bb0b08ca755ff1c733855d251c7a76c7dad0f34b138f60c02
