[INFO] fetching crate mmime 0.1.2... [INFO] checking mmime-0.1.2 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate mmime 0.1.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate mmime 0.1.2 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/rust-toolchain [INFO] started tweaking crates.io crate mmime 0.1.2 [INFO] finished tweaking crates.io crate mmime 0.1.2 [INFO] tweaked toml for crates.io crate mmime 0.1.2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a056254eabc05ae05977fdca1df0bfe387bee480361484f9e54e42142d83a395 [INFO] running `Command { std: "docker" "start" "-a" "a056254eabc05ae05977fdca1df0bfe387bee480361484f9e54e42142d83a395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a056254eabc05ae05977fdca1df0bfe387bee480361484f9e54e42142d83a395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a056254eabc05ae05977fdca1df0bfe387bee480361484f9e54e42142d83a395", kill_on_drop: false }` [INFO] [stdout] a056254eabc05ae05977fdca1df0bfe387bee480361484f9e54e42142d83a395 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e02b1e9ac24a6b8d96e0d52f7a92531054a5866d7f9c86fbb7fc794b16da83da [INFO] running `Command { std: "docker" "start" "-a" "e02b1e9ac24a6b8d96e0d52f7a92531054a5866d7f9c86fbb7fc794b16da83da", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking charset v0.1.2 [INFO] [stderr] Checking mmime v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(const_raw_ptr_to_usize_cast)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: at compile-time, pointers do not have an integer value, so these casts cannot be properly supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(const_raw_ptr_to_usize_cast)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: at compile-time, pointers do not have an integer value, so these casts cannot be properly supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*const i8` in the current scope [INFO] [stdout] --> src/mailimf_write_generic.rs:426:26 [INFO] [stdout] | [INFO] [stdout] 426 | if p.wrapping_offset_from(word_begin) as libc::c_int [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*const i8` in the current scope [INFO] [stdout] --> src/mailimf_write_generic.rs:426:26 [INFO] [stdout] | [INFO] [stdout] 426 | if p.wrapping_offset_from(word_begin) as libc::c_int [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*const i8` in the current scope [INFO] [stdout] --> src/mailimf_write_generic.rs:454:27 [INFO] [stdout] | [INFO] [stdout] 454 | p.wrapping_offset_from(word_begin) as libc::c_int as size_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*const i8` in the current scope [INFO] [stdout] --> src/mailimf_write_generic.rs:454:27 [INFO] [stdout] | [INFO] [stdout] 454 | p.wrapping_offset_from(word_begin) as libc::c_int as size_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*const i8` in the current scope [INFO] [stdout] --> src/mailimf_write_generic.rs:459:26 [INFO] [stdout] | [INFO] [stdout] 459 | if p.wrapping_offset_from(word_begin) as libc::c_int + *col as libc::c_int [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*const i8` in the current scope [INFO] [stdout] --> src/mailimf_write_generic.rs:459:26 [INFO] [stdout] | [INFO] [stdout] 459 | if p.wrapping_offset_from(word_begin) as libc::c_int + *col as libc::c_int [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*const i8` in the current scope [INFO] [stdout] --> src/mailimf_write_generic.rs:467:31 [INFO] [stdout] | [INFO] [stdout] 467 | ... p.wrapping_offset_from(word_begin) as libc::c_int as size_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*const i8` in the current scope [INFO] [stdout] --> src/mailimf_write_generic.rs:467:31 [INFO] [stdout] | [INFO] [stdout] 467 | ... p.wrapping_offset_from(word_begin) as libc::c_int as size_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*const i8` in the current scope [INFO] [stdout] --> src/mailimf_write_generic.rs:487:14 [INFO] [stdout] | [INFO] [stdout] 487 | if p.wrapping_offset_from(word_begin) as libc::c_int + *col as libc::c_int [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*const i8` in the current scope [INFO] [stdout] --> src/mailimf_write_generic.rs:487:14 [INFO] [stdout] | [INFO] [stdout] 487 | if p.wrapping_offset_from(word_begin) as libc::c_int + *col as libc::c_int [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*const i8` in the current scope [INFO] [stdout] --> src/mailimf_write_generic.rs:513:15 [INFO] [stdout] | [INFO] [stdout] 513 | p.wrapping_offset_from(word_begin) as libc::c_int as size_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*const i8` in the current scope [INFO] [stdout] --> src/mailimf_write_generic.rs:513:15 [INFO] [stdout] | [INFO] [stdout] 513 | p.wrapping_offset_from(word_begin) as libc::c_int as size_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*const i8` in the current scope [INFO] [stdout] --> src/mailmime_content.rs:949:29 [INFO] [stdout] | [INFO] [stdout] 949 | *result_size = end_text.wrapping_offset_from(begin_text) as size_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*const i8` in the current scope [INFO] [stdout] --> src/mailmime_content.rs:949:29 [INFO] [stdout] | [INFO] [stdout] 949 | *result_size = end_text.wrapping_offset_from(begin_text) as size_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*const i8` in the current scope [INFO] [stdout] --> src/mailmime_content.rs:1184:29 [INFO] [stdout] | [INFO] [stdout] 1184 | *result_size = end_text.wrapping_offset_from(begin_text) as size_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*const i8` in the current scope [INFO] [stdout] --> src/mailmime_content.rs:1184:29 [INFO] [stdout] | [INFO] [stdout] 1184 | *result_size = end_text.wrapping_offset_from(begin_text) as size_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mmime` due to 10 previous errors [INFO] [stdout] Some errors have detailed explanations: E0557, E0599. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e02b1e9ac24a6b8d96e0d52f7a92531054a5866d7f9c86fbb7fc794b16da83da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e02b1e9ac24a6b8d96e0d52f7a92531054a5866d7f9c86fbb7fc794b16da83da", kill_on_drop: false }` [INFO] [stdout] e02b1e9ac24a6b8d96e0d52f7a92531054a5866d7f9c86fbb7fc794b16da83da