[INFO] cloning repository https://github.com/zlx2019/rust-training [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zlx2019/rust-training" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzlx2019%2Frust-training", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzlx2019%2Frust-training'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9dcfc1cec38d82de064e0181dc2f2b4c45fe874 [INFO] testing zlx2019/rust-training against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzlx2019%2Frust-training" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zlx2019/rust-training [INFO] finished tweaking git repo https://github.com/zlx2019/rust-training [INFO] tweaked toml for git repo https://github.com/zlx2019/rust-training written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zlx2019/rust-training on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 231 packages to latest compatible versions [INFO] [stderr] Adding derive_more v1.0.0 (available: v2.0.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding toml v0.8.23 (available: v0.9.8) [INFO] [stderr] Adding webpki-roots v0.26.11 (available: v1.0.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded imap-proto v0.16.6 [INFO] [stderr] Downloaded imap v3.0.0-alpha.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a35f29e06b9327f862424d3d85185cafdbff0d37f4dd26a4461a8483089e1b8 [INFO] running `Command { std: "docker" "start" "-a" "7a35f29e06b9327f862424d3d85185cafdbff0d37f4dd26a4461a8483089e1b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a35f29e06b9327f862424d3d85185cafdbff0d37f4dd26a4461a8483089e1b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a35f29e06b9327f862424d3d85185cafdbff0d37f4dd26a4461a8483089e1b8", kill_on_drop: false }` [INFO] [stdout] 7a35f29e06b9327f862424d3d85185cafdbff0d37f4dd26a4461a8483089e1b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2dc8876cd6a2b920f24caabdb8fee9078d78a3b92a02fe53310ac77fdbdb410 [INFO] running `Command { std: "docker" "start" "-a" "d2dc8876cd6a2b920f24caabdb8fee9078d78a3b92a02fe53310ac77fdbdb410", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling app-lib v0.1.0 (/opt/rustwide/workdir/modules/app-lib) [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir/modules/app) [INFO] [stderr] Compiling loggers v0.1.0 (/opt/rustwide/workdir/loggers) [INFO] [stderr] Compiling rust-ffi v0.1.0 (/opt/rustwide/workdir/rust-ffi) [INFO] [stderr] Compiling traits v0.1.0 (/opt/rustwide/workdir/traits) [INFO] [stderr] Compiling web-server v0.1.0 (/opt/rustwide/workdir/web-server) [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling smart-pointers v0.1.0 (/opt/rustwide/workdir/smart-pointers) [INFO] [stderr] Compiling unsafes v0.1.0 (/opt/rustwide/workdir/unsafes) [INFO] [stderr] Compiling closure v0.1.0 (/opt/rustwide/workdir/closure) [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stdout] warning: unused import: `proc_macro::TokenStream` [INFO] [stdout] --> macros/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use proc_macro::TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quote::quote` [INFO] [stdout] --> macros/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use quote::quote; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling concurrent v0.1.0 (/opt/rustwide/workdir/concurrent) [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling errors-handle-example v0.1.0 (/opt/rustwide/workdir/errors-handle-example) [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling fancy-regex v0.13.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling error-handle v0.1.0 (/opt/rustwide/workdir/errors-handle) [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling zxcvbn v3.1.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling anys v0.1.0 (/opt/rustwide/workdir/anys) [INFO] [stderr] Compiling asyncs-tokio-network v0.1.0 (/opt/rustwide/workdir/asyncs-tokio-network) [INFO] [stderr] Compiling asyncs-tokio v0.1.0 (/opt/rustwide/workdir/asyncs-tokio) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.97s [INFO] running `Command { std: "docker" "inspect" "d2dc8876cd6a2b920f24caabdb8fee9078d78a3b92a02fe53310ac77fdbdb410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2dc8876cd6a2b920f24caabdb8fee9078d78a3b92a02fe53310ac77fdbdb410", kill_on_drop: false }` [INFO] [stdout] d2dc8876cd6a2b920f24caabdb8fee9078d78a3b92a02fe53310ac77fdbdb410 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a8a23979254e8a5ab878e270bb8706d5882f8c0b41c0a2a253507585d7aaabe [INFO] running `Command { std: "docker" "start" "-a" "1a8a23979254e8a5ab878e270bb8706d5882f8c0b41c0a2a253507585d7aaabe", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling aws-lc-rs v1.14.1 [INFO] [stderr] Compiling macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling errors-handle-example v0.1.0 (/opt/rustwide/workdir/errors-handle-example) [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir/modules/app) [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stdout] warning: unused import: `proc_macro::TokenStream` [INFO] [stdout] --> macros/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use proc_macro::TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quote::quote` [INFO] [stdout] --> macros/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use quote::quote; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling rust-ffi v0.1.0 (/opt/rustwide/workdir/rust-ffi) [INFO] [stderr] Compiling anys v0.1.0 (/opt/rustwide/workdir/anys) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcvlaRDB/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lgo_dyn" "-Wl,-Bstatic" "-lhello" "/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/rustcvlaRDB/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/rust-ffi-7b767d9d026a4e19/out" "-L" "/opt/rustwide/workdir/rust-ffi" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/call_go_dyn-9cab75602bbb0a2a" "-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: rust-lld: error: unable to find library -lgo_dyn [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-ffi` (example "call_go_dyn") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `arg` [INFO] [stdout] --> anys/examples/coding03.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{Parser, arg}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1a8a23979254e8a5ab878e270bb8706d5882f8c0b41c0a2a253507585d7aaabe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a8a23979254e8a5ab878e270bb8706d5882f8c0b41c0a2a253507585d7aaabe", kill_on_drop: false }` [INFO] [stdout] 1a8a23979254e8a5ab878e270bb8706d5882f8c0b41c0a2a253507585d7aaabe