[INFO] cloning repository https://github.com/benx-guo/rust-compiler-lab
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benx-guo/rust-compiler-lab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenx-guo%2Frust-compiler-lab"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenx-guo%2Frust-compiler-lab'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] b524af10dfd74822b0832abc9204d9e37a5aa6fe
[INFO] testing benx-guo/rust-compiler-lab against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenx-guo%2Frust-compiler-lab" "/workspace/builds/worker-3-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/benx-guo/rust-compiler-lab
[INFO] finished tweaking git repo https://github.com/benx-guo/rust-compiler-lab
[INFO] tweaked toml for git repo https://github.com/benx-guo/rust-compiler-lab written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/benx-guo/rust-compiler-lab on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/benx-guo/rust-compiler-lab already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 728295e56c663c4eb518a07c1faab8498e1ad599ba88f8baa81c31d378bc86aa
[INFO] running `"docker" "start" "728295e56c663c4eb518a07c1faab8498e1ad599ba88f8baa81c31d378bc86aa"`
[INFO] running `"docker" "inspect" "728295e56c663c4eb518a07c1faab8498e1ad599ba88f8baa81c31d378bc86aa"`
[INFO] running `"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" "728295e56c663c4eb518a07c1faab8498e1ad599ba88f8baa81c31d378bc86aa" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "728295e56c663c4eb518a07c1faab8498e1ad599ba88f8baa81c31d378bc86aa"`
[INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "728295e56c663c4eb518a07c1faab8498e1ad599ba88f8baa81c31d378bc86aa" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling mylib v0.1.0 (/opt/rustwide/workdir/08-static-dynamic-lib/mylib)
[INFO] [stderr]    Compiling runtime-startup v0.1.0 (/opt/rustwide/workdir/11-runtime-startup)
[INFO] [stderr]    Compiling type-and-borrow v0.1.0 (/opt/rustwide/workdir/03-type-and-borrow)
[INFO] [stderr]    Compiling linking-basics v0.1.0 (/opt/rustwide/workdir/07-linking-basics)
[INFO] [stderr]    Compiling llvm-ir v0.1.0 (/opt/rustwide/workdir/06-llvm-ir)
[INFO] [stderr]    Compiling macro-expand v0.1.0 (/opt/rustwide/workdir/02-macro-expand)
[INFO] [stderr]    Compiling memory-layout v0.1.0 (/opt/rustwide/workdir/12-memory-layout)
[INFO] [stderr]    Compiling binary-anatomy v0.1.0 (/opt/rustwide/workdir/10-binary-anatomy)
[INFO] [stderr]    Compiling mir-playground v0.1.0 (/opt/rustwide/workdir/05-mir-playground)
[INFO] [stderr]    Compiling compile-stages v0.1.0 (/opt/rustwide/workdir/01-compile-stages)
[INFO] [stderr]    Compiling monomorphization v0.1.0 (/opt/rustwide/workdir/04-monomorphization)
[INFO] [stderr]    Compiling mylib-app v0.1.0 (/opt/rustwide/workdir/08-static-dynamic-lib/app)
[INFO] [stderr]    Compiling ffi-c-interop v0.1.0 (/opt/rustwide/workdir/09-ffi-c-interop)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 2.83s
[INFO] running `"docker" "inspect" "728295e56c663c4eb518a07c1faab8498e1ad599ba88f8baa81c31d378bc86aa"`
[INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "728295e56c663c4eb518a07c1faab8498e1ad599ba88f8baa81c31d378bc86aa" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling monomorphization v0.1.0 (/opt/rustwide/workdir/04-monomorphization)
[INFO] [stderr]    Compiling type-and-borrow v0.1.0 (/opt/rustwide/workdir/03-type-and-borrow)
[INFO] [stderr]    Compiling mylib v0.1.0 (/opt/rustwide/workdir/08-static-dynamic-lib/mylib)
[INFO] [stderr]    Compiling binary-anatomy v0.1.0 (/opt/rustwide/workdir/10-binary-anatomy)
[INFO] [stderr]    Compiling compile-stages v0.1.0 (/opt/rustwide/workdir/01-compile-stages)
[INFO] [stderr]    Compiling linking-basics v0.1.0 (/opt/rustwide/workdir/07-linking-basics)
[INFO] [stderr]    Compiling llvm-ir v0.1.0 (/opt/rustwide/workdir/06-llvm-ir)
[INFO] [stderr]    Compiling runtime-startup v0.1.0 (/opt/rustwide/workdir/11-runtime-startup)
[INFO] [stderr]    Compiling macro-expand v0.1.0 (/opt/rustwide/workdir/02-macro-expand)
[INFO] [stderr]    Compiling memory-layout v0.1.0 (/opt/rustwide/workdir/12-memory-layout)
[INFO] [stderr]    Compiling mylib-app v0.1.0 (/opt/rustwide/workdir/08-static-dynamic-lib/app)
[INFO] [stderr]    Compiling ffi-c-interop v0.1.0 (/opt/rustwide/workdir/09-ffi-c-interop)
[INFO] [stdout] error[E0597]: `s` does not live long enough
[INFO] [stdout]   --> 03-type-and-borrow/examples/lifetime_error.rs:9:13
[INFO] [stdout]    |
[INFO] [stdout]  8 |         let s = String::from("hello");
[INFO] [stdout]    |             - binding `s` declared here
[INFO] [stdout]  9 |         r = &s; // 错误! s 在这个代码块结束时被销毁
[INFO] [stdout]    |             ^^ borrowed value does not live long enough
[INFO] [stdout] 10 |     }
[INFO] [stdout]    |     - `s` dropped here while still borrowed
[INFO] [stdout] ...
[INFO] [stdout] 13 |     println!("r = {}", r);
[INFO] [stdout]    |                        - borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `type-and-borrow` (example "lifetime_error") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0382]: borrow of moved value: `s1`
[INFO] [stdout]   --> 03-type-and-borrow/examples/move_error.rs:12:25
[INFO] [stdout]    |
[INFO] [stdout]  7 |     let s1 = String::from("hello");
[INFO] [stdout]    |         -- move occurs because `s1` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout]  8 |     let _s2 = s1; // s1 的所有权移动给了 _s2
[INFO] [stdout]    |               -- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 12 |     println!("s1 = {}", s1);
[INFO] [stdout]    |                         ^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout]  8 |     let _s2 = s1.clone(); // s1 的所有权移动给了 _s2
[INFO] [stdout]    |                 ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `type-and-borrow` (example "move_error") due to 1 previous error
[INFO] running `"docker" "inspect" "728295e56c663c4eb518a07c1faab8498e1ad599ba88f8baa81c31d378bc86aa"`
[INFO] running `"docker" "rm" "-f" "728295e56c663c4eb518a07c1faab8498e1ad599ba88f8baa81c31d378bc86aa"`
[INFO] [stdout] 728295e56c663c4eb518a07c1faab8498e1ad599ba88f8baa81c31d378bc86aa
