[INFO] cloning repository https://github.com/ActorLancer/rust_async_learning
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ActorLancer/rust_async_learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FActorLancer%2Frust_async_learning", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FActorLancer%2Frust_async_learning'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 94ed3b027a564320eb304976bd51079fa6da599d
[INFO] checking ActorLancer/rust_async_learning against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FActorLancer%2Frust_async_learning" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ActorLancer/rust_async_learning on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ActorLancer/rust_async_learning
[INFO] finished tweaking git repo https://github.com/ActorLancer/rust_async_learning
[INFO] tweaked toml for git repo https://github.com/ActorLancer/rust_async_learning written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/ActorLancer/rust_async_learning 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" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syn v2.0.95
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0a64166c4135b984fcdc610cdee823090db76cb031cb39f74052b4d7a1bf8e84
[INFO] running `Command { std: "docker" "start" "-a" "0a64166c4135b984fcdc610cdee823090db76cb031cb39f74052b4d7a1bf8e84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0a64166c4135b984fcdc610cdee823090db76cb031cb39f74052b4d7a1bf8e84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a64166c4135b984fcdc610cdee823090db76cb031cb39f74052b4d7a1bf8e84", kill_on_drop: false }`
[INFO] [stdout] 0a64166c4135b984fcdc610cdee823090db76cb031cb39f74052b4d7a1bf8e84
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1939aabe966bc8b7b51df994eda2c7ec46ec2d0389e8af4a9ec8389f26c96ad7
[INFO] running `Command { std: "docker" "start" "-a" "1939aabe966bc8b7b51df994eda2c7ec46ec2d0389e8af4a9ec8389f26c96ad7", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling syn v2.0.95
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]     Checking tokio v1.43.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking timer_future v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `thread` and `time::Duration`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 7 |     time::Duration,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread` and `time::Duration`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 7 |     time::Duration,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `s`
[INFO] [stdout]   --> src/main.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout] 4  |     let s = Arc::new(String::from("Hello, world!"));
[INFO] [stdout]    |         - move occurs because `s` has type `Arc<String>`, which does not implement the `Copy` trait
[INFO] [stdout] 5  |     // 使用引用而不是转移所有权
[INFO] [stdout] 6  |     let future = async move {
[INFO] [stdout]    |                  ---------- value moved here
[INFO] [stdout] 7  |         println!("{}", s);
[INFO] [stdout]    |                        - variable moved due to use in coroutine
[INFO] [stdout] ...
[INFO] [stdout] 10 |     println!("{}", s); // 可以继续访问 s，因为 Arc 允许共享所有权
[INFO] [stdout]    |                    ^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `s`
[INFO] [stdout]   --> src/main.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout] 4  |     let s = Arc::new(String::from("Hello, world!"));
[INFO] [stdout]    |         - move occurs because `s` has type `Arc<String>`, which does not implement the `Copy` trait
[INFO] [stdout] 5  |     // 使用引用而不是转移所有权
[INFO] [stdout] 6  |     let future = async move {
[INFO] [stdout]    |                  ---------- value moved here
[INFO] [stdout] 7  |         println!("{}", s);
[INFO] [stdout]    |                        - variable moved due to use in coroutine
[INFO] [stdout] ...
[INFO] [stdout] 10 |     println!("{}", s); // 可以继续访问 s，因为 Arc 允许共享所有权
[INFO] [stdout]    |                    ^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `timer_future` (bin "timer_future" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `timer_future` (bin "timer_future") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "1939aabe966bc8b7b51df994eda2c7ec46ec2d0389e8af4a9ec8389f26c96ad7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1939aabe966bc8b7b51df994eda2c7ec46ec2d0389e8af4a9ec8389f26c96ad7", kill_on_drop: false }`
[INFO] [stdout] 1939aabe966bc8b7b51df994eda2c7ec46ec2d0389e8af4a9ec8389f26c96ad7
