[INFO] cloning repository https://github.com/qq994300880/hello_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qq994300880/hello_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqq994300880%2Fhello_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqq994300880%2Fhello_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bcc8a0e9d1cb508556dcc5863cd69a64aebbd1e1
[INFO] testing qq994300880/hello_rust against 1.91.0 for beta-1.92-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqq994300880%2Fhello_rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/qq994300880/hello_rust
[INFO] finished tweaking git repo https://github.com/qq994300880/hello_rust
[INFO] tweaked toml for git repo https://github.com/qq994300880/hello_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/qq994300880/hello_rust on toolchain 1.91.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/qq994300880/hello_rust 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9ac789a9a2dd9490825ccfa03ac07be96ef0d0c1f8eabf0accc2af56bba5b8cc
[INFO] running `Command { std: "docker" "start" "-a" "9ac789a9a2dd9490825ccfa03ac07be96ef0d0c1f8eabf0accc2af56bba5b8cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9ac789a9a2dd9490825ccfa03ac07be96ef0d0c1f8eabf0accc2af56bba5b8cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ac789a9a2dd9490825ccfa03ac07be96ef0d0c1f8eabf0accc2af56bba5b8cc", kill_on_drop: false }`
[INFO] [stdout] 9ac789a9a2dd9490825ccfa03ac07be96ef0d0c1f8eabf0accc2af56bba5b8cc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0a857c392b4557380189dce04c9081969c6519080c39d01e71354b17875f1364
[INFO] running `Command { std: "docker" "start" "-a" "0a857c392b4557380189dce04c9081969c6519080c39d01e71354b17875f1364", kill_on_drop: false }`
[INFO] [stderr]    Compiling hello_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/basics/data_types.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/basics/control_flow.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/basics/ownership.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ownership_basics` is never used
[INFO] [stdout]   --> src/basics/ownership.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn ownership_basics() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ownership_move` is never used
[INFO] [stdout]   --> src/basics/ownership.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn ownership_move() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ownership_clone` is never used
[INFO] [stdout]   --> src/basics/ownership.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn ownership_clone() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `references_and_borrowing` is never used
[INFO] [stdout]   --> src/basics/ownership.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn references_and_borrowing() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_length` is never used
[INFO] [stdout]   --> src/basics/ownership.rs:69:4
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn calculate_length(s: &String) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mutable_references` is never used
[INFO] [stdout]   --> src/basics/ownership.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn mutable_references() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change` is never used
[INFO] [stdout]    --> src/basics/ownership.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn change(s: &mut String) {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slices` is never used
[INFO] [stdout]    --> src/basics/ownership.rs:109:4
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn slices() {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/basics/structs.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `area`, `can_hold`, and `square` are never used
[INFO] [stdout]   --> src/basics/structs.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     impl Rectangle {
[INFO] [stdout]    |     -------------- associated items in this implementation
[INFO] [stdout] 58 |         // 方法，第一个参数是 self
[INFO] [stdout] 59 |         fn area(&self) -> u32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |         fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |         fn square(size: u32) -> Rectangle {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_user` is never used
[INFO] [stdout]   --> src/basics/structs.rs:94:4
[INFO] [stdout]    |
[INFO] [stdout] 94 | fn build_user(email: String, username: String) -> User {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]    --> src/basics/structs.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | struct User {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcci1fgV/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcci1fgV/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/hello_rust-e95c2fed10cc49ee" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped
[INFO] [stdout]           compilation terminated.
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello_rust` (bin "hello_rust") due to 1 previous error; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0a857c392b4557380189dce04c9081969c6519080c39d01e71354b17875f1364", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a857c392b4557380189dce04c9081969c6519080c39d01e71354b17875f1364", kill_on_drop: false }`
[INFO] [stdout] 0a857c392b4557380189dce04c9081969c6519080c39d01e71354b17875f1364
