[INFO] fetching crate eosio_bytes_derive 0.2.1... [INFO] testing eosio_bytes_derive-0.2.1 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate eosio_bytes_derive 0.2.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate eosio_bytes_derive 0.2.1 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate eosio_bytes_derive 0.2.1 [INFO] finished tweaking crates.io crate eosio_bytes_derive 0.2.1 [INFO] tweaked toml for crates.io crate eosio_bytes_derive 0.2.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", 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] e3b00cbec42525ffe488c9a4d390e35fb36436d71f821e87b3b3f542d1c5fc2e [INFO] running `Command { std: "docker" "start" "-a" "e3b00cbec42525ffe488c9a4d390e35fb36436d71f821e87b3b3f542d1c5fc2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3b00cbec42525ffe488c9a4d390e35fb36436d71f821e87b3b3f542d1c5fc2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3b00cbec42525ffe488c9a4d390e35fb36436d71f821e87b3b3f542d1c5fc2e", kill_on_drop: false }` [INFO] [stdout] e3b00cbec42525ffe488c9a4d390e35fb36436d71f821e87b3b3f542d1c5fc2e [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 387e599bb79b70ee0ec8d15c98302d90c7a41723c59a52a9a5a54925028737a9 [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" "387e599bb79b70ee0ec8d15c98302d90c7a41723c59a52a9a5a54925028737a9", kill_on_drop: false }` [INFO] [stderr] Compiling eosio_bytes_derive v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.71s [INFO] running `Command { std: "docker" "inspect" "387e599bb79b70ee0ec8d15c98302d90c7a41723c59a52a9a5a54925028737a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "387e599bb79b70ee0ec8d15c98302d90c7a41723c59a52a9a5a54925028737a9", kill_on_drop: false }` [INFO] [stdout] 387e599bb79b70ee0ec8d15c98302d90c7a41723c59a52a9a5a54925028737a9 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--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] 3e1f4b22d6f6a6601c5ca4f843a2e152439013e9ae3e253aba6add148cd909c3 [INFO] running `Command { std: "docker" "start" "-a" "3e1f4b22d6f6a6601c5ca4f843a2e152439013e9ae3e253aba6add148cd909c3", kill_on_drop: false }` [INFO] [stderr] Compiling eosio_bytes v0.2.1 [INFO] [stderr] Compiling eosio_bytes_derive v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.70s [INFO] running `Command { std: "docker" "inspect" "3e1f4b22d6f6a6601c5ca4f843a2e152439013e9ae3e253aba6add148cd909c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e1f4b22d6f6a6601c5ca4f843a2e152439013e9ae3e253aba6add148cd909c3", kill_on_drop: false }` [INFO] [stdout] 3e1f4b22d6f6a6601c5ca4f843a2e152439013e9ae3e253aba6add148cd909c3 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 022017578ed173831b666189d5925e65121356d69650e003e44426e18cf5c2f9 [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" "022017578ed173831b666189d5925e65121356d69650e003e44426e18cf5c2f9", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/eosio_bytes_derive-87b138337c80f393 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests eosio_bytes_derive [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] error: cannot find derive macro `Read` in this scope [INFO] [stdout] --> src/lib.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Read, Write, NumBytes, PartialEq, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Write` in this scope [INFO] [stdout] --> src/lib.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Read, Write, NumBytes, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `NumBytes` in this scope [INFO] [stdout] --> src/lib.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Read, Write, NumBytes, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `num_bytes` found for struct `main::Thing` in the current scope [INFO] [stdout] --> src/lib.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 6 | struct Thing(u8); [INFO] [stdout] | ----------------- method `num_bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 11 | assert_eq!(thing.num_bytes(), 1); [INFO] [stdout] | ^^^^^^^^^ method not found in `main::Thing` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `num_bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `eosio_bytes::NumBytes` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for struct `main::Thing` in the current scope [INFO] [stdout] --> src/lib.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 6 | struct Thing(u8); [INFO] [stdout] | ----------------- function or associated item `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 14 | assert_eq!(thing, Thing::read(&mut [30_u8], &mut 0).unwrap()); [INFO] [stdout] | ^^^^ function or associated item not found in `main::Thing` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] candidate #2: `eosio_bytes::Read` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `main::Thing` in the current scope [INFO] [stdout] --> src/lib.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 6 | struct Thing(u8); [INFO] [stdout] | ----------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 18 | thing.write(&mut bytes, &mut 0).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `main::Thing` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] candidate #2: `std::hash::Hasher` [INFO] [stdout] candidate #3: `eosio_bytes::Write` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "022017578ed173831b666189d5925e65121356d69650e003e44426e18cf5c2f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "022017578ed173831b666189d5925e65121356d69650e003e44426e18cf5c2f9", kill_on_drop: false }` [INFO] [stdout] 022017578ed173831b666189d5925e65121356d69650e003e44426e18cf5c2f9