[INFO] cloning repository https://github.com/huangbqsky/study-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huangbqsky/study-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuangbqsky%2Fstudy-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuangbqsky%2Fstudy-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b1a69e147f8dad7037bba6b7176fb1111a1a661 [INFO] testing huangbqsky/study-rust against beta-2025-09-21 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuangbqsky%2Fstudy-rust" "/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/huangbqsky/study-rust [INFO] finished tweaking git repo https://github.com/huangbqsky/study-rust [INFO] tweaked toml for git repo https://github.com/huangbqsky/study-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/huangbqsky/study-rust on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/huangbqsky/study-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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e82db7143a3ffb7b882a9ab9952cf9ea761b3bb5f9cd53ae8016c506a7eee6af [INFO] running `Command { std: "docker" "start" "-a" "e82db7143a3ffb7b882a9ab9952cf9ea761b3bb5f9cd53ae8016c506a7eee6af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e82db7143a3ffb7b882a9ab9952cf9ea761b3bb5f9cd53ae8016c506a7eee6af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e82db7143a3ffb7b882a9ab9952cf9ea761b3bb5f9cd53ae8016c506a7eee6af", kill_on_drop: false }` [INFO] [stdout] e82db7143a3ffb7b882a9ab9952cf9ea761b3bb5f9cd53ae8016c506a7eee6af [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=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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c2f0c8c79faa737481360f14d4392ab980e606948e920c33184921dac186e76 [INFO] running `Command { std: "docker" "start" "-a" "1c2f0c8c79faa737481360f14d4392ab980e606948e920c33184921dac186e76", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling futures-core v0.3.27 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling futures-sink v0.3.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.27 [INFO] [stderr] Compiling futures-channel v0.3.27 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling futures-util v0.3.27 [INFO] [stderr] Compiling futures-io v0.3.27 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling gimli v0.27.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling object v0.30.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling openssl-src v300.2.3+3.2.1 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling num_cpus v1.14.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling ring v0.17.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libz-ng-sys v1.1.15 [INFO] [stderr] Compiling zstd-sys v1.6.2+zstd.1.5.1 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling sentry-contexts v0.26.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling tokio-openssl v0.6.4 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling uname v0.1.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling pingora-error v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling ipnet v2.7.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling pingora-http v0.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling futures-macro v0.3.27 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling trackable v1.3.0 [INFO] [stderr] Compiling trackable v0.2.24 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling data-encoding v2.3.3 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling sfv v0.9.4 [INFO] [stderr] Compiling html5ever v0.25.2 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling daemonize v0.5.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rayon v1.6.1 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling rustracing v0.5.1 [INFO] [stderr] Compiling thrift_codec v0.1.1 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling libsqlite3-sys v0.25.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling rustracing_jaeger v0.7.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling pingora-lru v0.1.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling futures-executor v0.3.27 [INFO] [stderr] Compiling sentry-types v0.26.0 [INFO] [stderr] Compiling futures v0.3.27 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling rmp-serde v1.2.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling arc-swap v1.6.0 [INFO] [stderr] Compiling half v2.2.0 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling exr v1.5.2 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling hashlink v0.8.1 [INFO] [stderr] Compiling xattr v0.2.3 [INFO] [stderr] Compiling xml5ever v0.16.2 [INFO] [stderr] Compiling filetime v0.2.19 [INFO] [stderr] Compiling thread-id v4.0.0 [INFO] [stderr] Compiling pingora-ketama v0.1.1 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling markup5ever_rcdom v0.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling bytemuck v1.12.3 [INFO] [stderr] Compiling unsafe-libyaml v0.2.7 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling html2md v0.2.13 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling sentry-core v0.26.0 [INFO] [stderr] Compiling rusqlite v0.28.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling sentry-backtrace v0.26.0 [INFO] [stderr] Compiling serde_yaml v0.9.19 [INFO] [stderr] Compiling log4rs v1.2.0 [INFO] [stderr] Compiling toml v0.5.10 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling sentry-panic v0.26.0 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling tokio-util v0.7.7 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling pingora-timeout v0.1.1 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling pingora-pool v0.1.1 [INFO] [stderr] Compiling pingora-runtime v0.1.1 [INFO] [stderr] Compiling tiff v0.8.1 [INFO] [stderr] Compiling png v0.17.7 [INFO] [stderr] Compiling image v0.24.5 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling zstd v0.9.2+zstd.1.5.1 [INFO] [stderr] Compiling pingora-header-serde v0.1.1 [INFO] [stderr] Compiling pingora-openssl v0.1.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.13 [INFO] [stderr] Compiling sentry v0.26.0 [INFO] [stderr] Compiling pingora-core v0.1.1 [INFO] [stderr] Compiling pingora-cache v0.1.1 [INFO] [stderr] Compiling pingora-load-balancing v0.1.1 [INFO] [stderr] Compiling pingora-proxy v0.1.1 [INFO] [stderr] Compiling hello_cargo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: xml5ever v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1c2f0c8c79faa737481360f14d4392ab980e606948e920c33184921dac186e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c2f0c8c79faa737481360f14d4392ab980e606948e920c33184921dac186e76", kill_on_drop: false }` [INFO] [stdout] 1c2f0c8c79faa737481360f14d4392ab980e606948e920c33184921dac186e76 [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=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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66fa5da43ca4a6b336ce2399f97a82da6c2ba3efc15d2e6c87520341a2b4eb6f [INFO] running `Command { std: "docker" "start" "-a" "66fa5da43ca4a6b336ce2399f97a82da6c2ba3efc15d2e6c87520341a2b4eb6f", kill_on_drop: false }` [INFO] [stderr] Compiling hello_cargo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/linked_list.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/linked_list.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> examples/fn.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let c = || { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> examples/fn.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | let mut c1 = move || x += 1; // 有move却是复制捕获,闭包更自由了,能多次调用还是随便Copy,Fn [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/fn.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut c = || println!("s is {:?}", s); // 除了编译器会提供一个多余的mut告警,c还是Fn [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> examples/git-log.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / error_chain!{ [INFO] [stdout] 7 | | foreign_links { [INFO] [stdout] 8 | | Io(std::io::Error); [INFO] [stdout] 9 | | Regex(regex::Error); [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> examples/du-cmd.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / error_chain! { [INFO] [stdout] 5 | | foreign_links { [INFO] [stdout] 6 | | Io(std::io::Error); [INFO] [stdout] 7 | | Utf8(std::string::FromUtf8Error); [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ffi.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SimpleFuture` is never used [INFO] [stdout] --> examples/futures.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | trait SimpleFuture { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Poll` is never used [INFO] [stdout] --> examples/futures.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Poll { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SimpleSocket` is never used [INFO] [stdout] --> examples/futures.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | trait SimpleSocket { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes` is never read [INFO] [stdout] --> examples/futures.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Socket { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 19 | bytes: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `socket` is never read [INFO] [stdout] --> examples/futures.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct SocketRead<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 43 | socket: &'a Socket, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> examples/futures.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Join { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | a: Option, [INFO] [stdout] | ^ [INFO] [stdout] 72 | b: Option, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first` and `second` are never read [INFO] [stdout] --> examples/futures.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct AndThenFut { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 112 | first: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 113 | second: FutureB, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> examples/py-cmd.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / error_chain!{ [INFO] [stdout] 8 | | errors { CmdError } [INFO] [stdout] 9 | | foreign_links { [INFO] [stdout] 10 | | Io(std::io::Error); [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.42s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: xml5ever v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "66fa5da43ca4a6b336ce2399f97a82da6c2ba3efc15d2e6c87520341a2b4eb6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66fa5da43ca4a6b336ce2399f97a82da6c2ba3efc15d2e6c87520341a2b4eb6f", kill_on_drop: false }` [INFO] [stdout] 66fa5da43ca4a6b336ce2399f97a82da6c2ba3efc15d2e6c87520341a2b4eb6f [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=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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fe2c8abd1b0c33b6d92ee8d1639f9b713c99d4d1e4608663207fd855ff558d9a [INFO] running `Command { std: "docker" "start" "-a" "fe2c8abd1b0c33b6d92ee8d1639f9b713c99d4d1e4608663207fd855ff558d9a", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stderr] --> examples/py-cmd.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / error_chain!{ [INFO] [stderr] 8 | | errors { CmdError } [INFO] [stderr] 9 | | foreign_links { [INFO] [stderr] 10 | | Io(std::io::Error); [INFO] [stderr] ... | [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `hello_cargo` (example "py-cmd") generated 1 warning [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> examples/linked_list.rs:54:17 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 54 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> examples/linked_list.rs:58:21 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 58 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `hello_cargo` (example "linked_list") generated 2 warnings (run `cargo fix --example "linked_list"` to apply 2 suggestions) [INFO] [stderr] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stderr] --> examples/git-log.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / error_chain!{ [INFO] [stderr] 7 | | foreign_links { [INFO] [stderr] 8 | | Io(std::io::Error); [INFO] [stderr] 9 | | Regex(regex::Error); [INFO] [stderr] ... | [INFO] [stderr] 12 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait `SimpleFuture` is never used [INFO] [stderr] --> examples/futures.rs:2:7 [INFO] [stderr] | [INFO] [stderr] 2 | trait SimpleFuture { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `Poll` is never used [INFO] [stderr] --> examples/futures.rs:7:6 [INFO] [stderr] | [INFO] [stderr] 7 | enum Poll { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `SimpleSocket` is never used [INFO] [stderr] --> examples/futures.rs:12:7 [INFO] [stderr] | [INFO] [stderr] 12 | trait SimpleSocket { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `bytes` is never read [INFO] [stderr] --> examples/futures.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Socket { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 19 | bytes: u8, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `socket` is never read [INFO] [stderr] --> examples/futures.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct SocketRead<'a> { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 43 | socket: &'a Socket, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `a` and `b` are never read [INFO] [stderr] --> examples/futures.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 68 | pub struct Join { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 71 | a: Option, [INFO] [stderr] | ^ [INFO] [stderr] 72 | b: Option, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: fields `first` and `second` are never read [INFO] [stderr] --> examples/futures.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 111 | pub struct AndThenFut { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 112 | first: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 113 | second: FutureB, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/ffi.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(missing_abi)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stderr] --> examples/du-cmd.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / error_chain! { [INFO] [stderr] 5 | | foreign_links { [INFO] [stderr] 6 | | Io(std::io::Error); [INFO] [stderr] 7 | | Utf8(std::string::FromUtf8Error); [INFO] [stderr] 8 | | } [INFO] [stderr] 9 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `hello_cargo` (example "git-log") generated 1 warning [INFO] [stderr] warning: `hello_cargo` (example "futures") generated 7 warnings [INFO] [stderr] warning: `hello_cargo` (bin "hello_cargo" test) generated 1 warning (run `cargo fix --bin "hello_cargo" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `hello_cargo` (example "du-cmd") generated 1 warning [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> examples/fn.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | let c = || { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> examples/fn.rs:14:26 [INFO] [stderr] | [INFO] [stderr] 14 | let mut c1 = move || x += 1; // 有move却是复制捕获,闭包更自由了,能多次调用还是随便Copy,Fn [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: did you mean to capture by reference instead? [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/fn.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | let mut c = || println!("s is {:?}", s); // 除了编译器会提供一个多余的mut告警,c还是Fn [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `hello_cargo` (example "fn") generated 3 warnings (run `cargo fix --example "fn"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: xml5ever v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hello_cargo-201e60869023461e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hello_cargo-968e495eff26c382) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test list::tests::test_list ... ok [INFO] [stdout] test stack::test::walk_aboot ... ok [INFO] [stdout] test parse::parse_should_work ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests hello_cargo [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fe2c8abd1b0c33b6d92ee8d1639f9b713c99d4d1e4608663207fd855ff558d9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe2c8abd1b0c33b6d92ee8d1639f9b713c99d4d1e4608663207fd855ff558d9a", kill_on_drop: false }` [INFO] [stdout] fe2c8abd1b0c33b6d92ee8d1639f9b713c99d4d1e4608663207fd855ff558d9a