[INFO] fetching crate ngrams 1.0.1... [INFO] testing ngrams-1.0.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate ngrams 1.0.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ngrams 1.0.1 [INFO] finished tweaking crates.io crate ngrams 1.0.1 [INFO] tweaked toml for crates.io crate ngrams 1.0.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ngrams 1.0.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 38 packages to latest compatible versions [INFO] [stderr] Adding clippy v0.0.23 (available: v0.0.302) [INFO] [stderr] Adding curl v0.3.11 (available: v0.4.49) [INFO] [stderr] Adding flate2 v0.2.20 (available: v1.1.2) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded same-file v0.1.3 [INFO] [stderr] Downloaded pnacl-build-helper v1.4.11 [INFO] [stderr] Downloaded miniz-sys v0.1.12 [INFO] [stderr] Downloaded user32-sys v0.2.0 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded gdi32-sys v0.2.0 [INFO] [stderr] Downloaded curl v0.3.11 [INFO] [stderr] Downloaded flate2 v0.2.20 [INFO] [stderr] Downloaded openssl-sys v0.7.17 [INFO] [stderr] Downloaded walkdir v1.0.7 [INFO] [stderr] Downloaded libressl-pnacl-sys v2.1.6 [INFO] [stderr] Downloaded clippy v0.0.23 [INFO] [stderr] Downloaded curl-sys v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16d89a4ede99906ff3dac9976ab88235ce79f62853502d30de58c9f8726ba9a6 [INFO] running `Command { std: "docker" "start" "-a" "16d89a4ede99906ff3dac9976ab88235ce79f62853502d30de58c9f8726ba9a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16d89a4ede99906ff3dac9976ab88235ce79f62853502d30de58c9f8726ba9a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16d89a4ede99906ff3dac9976ab88235ce79f62853502d30de58c9f8726ba9a6", kill_on_drop: false }` [INFO] [stdout] 16d89a4ede99906ff3dac9976ab88235ce79f62853502d30de58c9f8726ba9a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38e93e6382bb57fa660e4786fc6cdedf190db5a3587c57396e9a5f5a95fe33e5 [INFO] running `Command { std: "docker" "start" "-a" "38e93e6382bb57fa660e4786fc6cdedf190db5a3587c57396e9a5f5a95fe33e5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling ngrams v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | fn ngrams(self, usize) -> Ngrams<'a, T>; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | source: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | source: Box + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | source: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 217 | source: Box + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "38e93e6382bb57fa660e4786fc6cdedf190db5a3587c57396e9a5f5a95fe33e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38e93e6382bb57fa660e4786fc6cdedf190db5a3587c57396e9a5f5a95fe33e5", kill_on_drop: false }` [INFO] [stdout] 38e93e6382bb57fa660e4786fc6cdedf190db5a3587c57396e9a5f5a95fe33e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8111a91876a858b6df86acfa460c3ead62c30e70906a3d296f912ac6af3e03c2 [INFO] running `Command { std: "docker" "start" "-a" "8111a91876a858b6df86acfa460c3ead62c30e70906a3d296f912ac6af3e03c2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | fn ngrams(self, usize) -> Ngrams<'a, T>; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling openssl-sys v0.7.17 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | source: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | source: Box + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | source: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 217 | source: Box + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling curl-sys v0.2.5 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling curl v0.3.11 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling ngrams v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | fn ngrams(self, usize) -> Ngrams<'a, T>; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | source: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | source: Box + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | source: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 217 | source: Box + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcvH3VQN/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libcurl-57219d3026290f2e,libopenssl_probe-cbab9b905ab83f66,libcurl_sys-29a8cbdfd44fac5e,libopenssl_sys-05369e4d5cc03a99,liblibz_sys-d7be1182a99346df,libflate2-575f9d39ffcb505a,libminiz_sys-65ccc18494fcc9e9,librand-a2fc04b0f16e35d2,librand-a30a68c7caf44fea,liblibc-f44516d981b27aa6,libngrams-8bf56d7edb490bb2}.rlib" "/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" "-lcurl" "-lssl" "-lcrypto" "-lz" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcvH3VQN/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/miniz-sys-9795d29299b7b9c0/out" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/markov-f6d4cecf4f168f15" "-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: undefined symbol: CRYPTO_set_id_callback [INFO] [stdout] >>> referenced by lib.rs:544 (src/lib.rs:544) [INFO] [stdout] >>> openssl_sys-05369e4d5cc03a99.openssl_sys.d49b434970a18cce-cgu.0.rcgu.o:(openssl_sys::set_id_callback::h47f2f00c7f89930e) in archive /opt/rustwide/target/debug/deps/libopenssl_sys-05369e4d5cc03a99.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SSL_library_init [INFO] [stdout] >>> referenced by lib.rs:517 (src/lib.rs:517) [INFO] [stdout] >>> openssl_sys-05369e4d5cc03a99.openssl_sys.d49b434970a18cce-cgu.0.rcgu.o:(openssl_sys::init::_$u7b$$u7b$closure$u7d$$u7d$::h8cce7a54d0daa301) in archive /opt/rustwide/target/debug/deps/libopenssl_sys-05369e4d5cc03a99.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SSL_load_error_strings [INFO] [stdout] >>> referenced by lib.rs:518 (src/lib.rs:518) [INFO] [stdout] >>> openssl_sys-05369e4d5cc03a99.openssl_sys.d49b434970a18cce-cgu.0.rcgu.o:(openssl_sys::init::_$u7b$$u7b$closure$u7d$$u7d$::h8cce7a54d0daa301) in archive /opt/rustwide/target/debug/deps/libopenssl_sys-05369e4d5cc03a99.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: OPENSSL_add_all_algorithms_noconf [INFO] [stdout] >>> referenced by lib.rs:519 (src/lib.rs:519) [INFO] [stdout] >>> openssl_sys-05369e4d5cc03a99.openssl_sys.d49b434970a18cce-cgu.0.rcgu.o:(openssl_sys::init::_$u7b$$u7b$closure$u7d$$u7d$::h8cce7a54d0daa301) in archive /opt/rustwide/target/debug/deps/libopenssl_sys-05369e4d5cc03a99.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CRYPTO_num_locks [INFO] [stdout] >>> referenced by lib.rs:521 (src/lib.rs:521) [INFO] [stdout] >>> openssl_sys-05369e4d5cc03a99.openssl_sys.d49b434970a18cce-cgu.0.rcgu.o:(openssl_sys::init::_$u7b$$u7b$closure$u7d$$u7d$::h8cce7a54d0daa301) in archive /opt/rustwide/target/debug/deps/libopenssl_sys-05369e4d5cc03a99.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CRYPTO_set_locking_callback [INFO] [stdout] >>> referenced by lib.rs:531 (src/lib.rs:531) [INFO] [stdout] >>> openssl_sys-05369e4d5cc03a99.openssl_sys.d49b434970a18cce-cgu.0.rcgu.o:(openssl_sys::init::_$u7b$$u7b$closure$u7d$$u7d$::h8cce7a54d0daa301) in archive /opt/rustwide/target/debug/deps/libopenssl_sys-05369e4d5cc03a99.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ngrams` (example "markov") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "8111a91876a858b6df86acfa460c3ead62c30e70906a3d296f912ac6af3e03c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8111a91876a858b6df86acfa460c3ead62c30e70906a3d296f912ac6af3e03c2", kill_on_drop: false }` [INFO] [stdout] 8111a91876a858b6df86acfa460c3ead62c30e70906a3d296f912ac6af3e03c2