[INFO] fetching crate uptown_funk 0.1.1... [INFO] checking uptown_funk-0.1.1 against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] extracting crate uptown_funk 0.1.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate uptown_funk 0.1.1 on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate uptown_funk 0.1.1 [INFO] finished tweaking crates.io crate uptown_funk 0.1.1 [INFO] tweaked toml for crates.io crate uptown_funk 0.1.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:ce6408862c0f4858e6cd2b85b2cf085ff7d0d6323904d0a94b71664a228554ab" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 417ef06f266966223609e4ca8be3b3c075dc8657ebf22612c62e01517592ab27 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "417ef06f266966223609e4ca8be3b3c075dc8657ebf22612c62e01517592ab27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "417ef06f266966223609e4ca8be3b3c075dc8657ebf22612c62e01517592ab27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "417ef06f266966223609e4ca8be3b3c075dc8657ebf22612c62e01517592ab27", kill_on_drop: false }` [INFO] [stdout] 417ef06f266966223609e4ca8be3b3c075dc8657ebf22612c62e01517592ab27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:ce6408862c0f4858e6cd2b85b2cf085ff7d0d6323904d0a94b71664a228554ab" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1a714cc1897a20e3de134df139c7c5ba000c2a4a9ffd14457cc82ef3fce5526b [INFO] running `Command { std: "docker" "start" "-a" "1a714cc1897a20e3de134df139c7c5ba000c2a4a9ffd14457cc82ef3fce5526b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling uptown_funk_macro v0.1.1 [INFO] [stderr] Checking uptown_funk v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/memory.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/memory.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HostFunctions` [INFO] [stdout] --> tests/multivalue_test.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | use uptown_funk::{host_functions, memory::Memory, Executor, HostFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/multivalue_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HostFunctions` [INFO] [stdout] --> tests/pointer_test.rs:2:61 [INFO] [stdout] | [INFO] [stdout] 2 | use uptown_funk::{host_functions, memory::Memory, Executor, HostFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/pointer_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `leet` [INFO] [stdout] --> tests/multivalue_test.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn leet(&self) -> (i32, f32, i64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HostFunctions` [INFO] [stdout] --> tests/ioslice_test.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | use uptown_funk::{host_functions, memory::Memory, Executor, HostFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/ioslice_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HostFunctions` [INFO] [stdout] --> tests/ref_str_test.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | use uptown_funk::{host_functions, memory::Memory, Executor, HostFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/ref_str_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HostFunctions` [INFO] [stdout] --> tests/trap_test.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | use uptown_funk::{host_functions, memory::Memory, Executor, HostFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/trap_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HostFunctions` [INFO] [stdout] --> tests/add_test.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | use uptown_funk::{host_functions, memory::Memory, Executor, HostFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/add_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_a` [INFO] [stdout] --> tests/ref_str_test.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn count_a(&self, words: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> tests/ref_str_test.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn add(&self, a: &str, b: &str, c: &mut [u8]) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> tests/add_test.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn add(&self, a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vectored_read` [INFO] [stdout] --> tests/ioslice_test.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn vectored_read(&self, bufs: &mut [IoSliceMut<'_>]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vectored_write` [INFO] [stdout] --> tests/ioslice_test.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn vectored_write(&self, _bufs: &[std::io::IoSlice<'_>]) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HostFunctions` [INFO] [stdout] --> tests/custom_type_test.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | use uptown_funk::{host_functions, memory::Memory, Executor, HostFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/custom_type_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HostFunctions` [INFO] [stdout] --> tests/mutable_state_test.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | use uptown_funk::{host_functions, memory::Memory, Executor, HostFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/mutable_state_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HostFunctions` [INFO] [stdout] --> tests/custom_type_return_test.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | use uptown_funk::{host_functions, memory::Memory, Executor, HostFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> tests/custom_type_return_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this struct takes 1 type argument but 2 type arguments were supplied [INFO] [stdout] --> tests/pointer_test.rs:24:50 [INFO] [stdout] | [INFO] [stdout] 24 | fn write(&self, value: f64, mut destination: Pointer) { [INFO] [stdout] | ^^^^^^^ ----- help: remove this type argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `T` [INFO] [stdout] --> /opt/rustwide/workdir/src/types/pointers.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Pointer { [INFO] [stdout] | ^^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `uptown_funk` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `ArrayState: StateMarker` is not satisfied [INFO] [stdout] --> tests/mutable_state_test.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | type State = ArrayState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `StateMarker` is not implemented for `ArrayState` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:85:41 [INFO] [stdout] | [INFO] [stdout] 85 | type State : Convert + Convert<()>; [INFO] [stdout] | ----------- required by this bound in `uptown_funk::FromWasm::State` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Convert<()>` for `ArrayState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ArrayState: StateMarker` is not satisfied [INFO] [stdout] --> tests/mutable_state_test.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | type State = ArrayState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `StateMarker` is not implemented for `ArrayState` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:98:41 [INFO] [stdout] | [INFO] [stdout] 98 | type State : Convert + Convert<()>; [INFO] [stdout] | ----------- required by this bound in `uptown_funk::ToWasm::State` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Convert<()>` for `ArrayState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Empty: StateMarker` is not satisfied [INFO] [stdout] --> tests/custom_type_test.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | type State = Empty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `StateMarker` is not implemented for `Empty` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:85:41 [INFO] [stdout] | [INFO] [stdout] 85 | type State : Convert + Convert<()>; [INFO] [stdout] | ----------- required by this bound in `uptown_funk::FromWasm::State` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Convert<()>` for `Empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Empty: StateMarker` is not satisfied [INFO] [stdout] --> tests/trap_test.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | type State = Empty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `StateMarker` is not implemented for `Empty` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:98:41 [INFO] [stdout] | [INFO] [stdout] 98 | type State : Convert + Convert<()>; [INFO] [stdout] | ----------- required by this bound in `uptown_funk::ToWasm::State` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Convert<()>` for `Empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Empty: StateMarker` is not satisfied [INFO] [stdout] --> tests/custom_type_return_test.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | type State = Empty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `StateMarker` is not implemented for `Empty` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:98:41 [INFO] [stdout] | [INFO] [stdout] 98 | type State : Convert + Convert<()>; [INFO] [stdout] | ----------- required by this bound in `uptown_funk::ToWasm::State` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Convert<()>` for `Empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1a714cc1897a20e3de134df139c7c5ba000c2a4a9ffd14457cc82ef3fce5526b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a714cc1897a20e3de134df139c7c5ba000c2a4a9ffd14457cc82ef3fce5526b", kill_on_drop: false }` [INFO] [stdout] 1a714cc1897a20e3de134df139c7c5ba000c2a4a9ffd14457cc82ef3fce5526b