[INFO] fetching crate rustmate 0.1.0... [INFO] checking rustmate-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate rustmate 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] started tweaking crates.io crate rustmate 0.1.0 [INFO] finished tweaking crates.io crate rustmate 0.1.0 [INFO] tweaked toml for crates.io crate rustmate 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rustmate 0.1.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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 93 packages to latest compatible versions [INFO] [stderr] Adding alloy-primitives v0.3.3 (available: v1.4.1) [INFO] [stderr] Adding alloy-sol-macro v0.3.1 (available: v0.3.2) [INFO] [stderr] Adding alloy-sol-types v0.3.1 (available: v0.3.2) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding stylus-sdk v0.4.3 (available: v0.9.2) [INFO] [stderr] Adding syn-solidity v0.3.1 (available: v0.3.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ea47cc7fbfa96a617118f5743a69207ee33fe0b4877879306b779bc29ad2b34 [INFO] running `Command { std: "docker" "start" "-a" "9ea47cc7fbfa96a617118f5743a69207ee33fe0b4877879306b779bc29ad2b34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ea47cc7fbfa96a617118f5743a69207ee33fe0b4877879306b779bc29ad2b34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ea47cc7fbfa96a617118f5743a69207ee33fe0b4877879306b779bc29ad2b34", kill_on_drop: false }` [INFO] [stdout] 9ea47cc7fbfa96a617118f5743a69207ee33fe0b4877879306b779bc29ad2b34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc15ece240e3e36ebb2098f3ac5433dacf65ce21cc102a2f07805bf3bd408883 [INFO] running `Command { std: "docker" "start" "-a" "dc15ece240e3e36ebb2098f3ac5433dacf65ce21cc102a2f07805bf3bd408883", kill_on_drop: false }` [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling const-hex v1.17.0 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking keccak-const v0.2.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ruint v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling syn-solidity v0.3.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling alloy-sol-macro v0.3.1 [INFO] [stderr] Compiling alloy-primitives v0.3.3 [INFO] [stderr] Checking alloy-sol-types v0.3.1 [INFO] [stderr] Compiling stylus-proc v0.4.3 [INFO] [stderr] Checking stylus-sdk v0.4.3 [INFO] [stderr] Checking rustmate v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:90:91 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn transfer(&mut self, receiver: Address, id: U256, amount: U256) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 91 | | let mut from_balance = self.balance_of.setter(msg::sender()); [INFO] [stdout] 92 | | let balance = from_balance.get(id) - amount; [INFO] [stdout] 93 | | from_balance.insert(id, balance); [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(true) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(true) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | ) -> Result { [INFO] [stdout] | _______________________^ [INFO] [stdout] 117 | | if msg::sender() != sender && !self.is_operator.getter(sender).get(msg::sender()) { [INFO] [stdout] 118 | | let allowed = self.allowance.getter(sender).getter(msg::sender()).get(id); [INFO] [stdout] 119 | | if allowed != U256::MAX { [INFO] [stdout] ... | [INFO] [stdout] 143 | | Ok(true) [INFO] [stdout] 144 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | Ok(true) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:146:89 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn approve(&mut self, spender: Address, id: U256, amount: U256) -> Result { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 147 | | self.allowance [INFO] [stdout] 148 | | .setter(msg::sender()) [INFO] [stdout] 149 | | .setter(spender) [INFO] [stdout] ... | [INFO] [stdout] 159 | | Ok(true) [INFO] [stdout] 160 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | Ok(true) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:162:87 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn set_operator(&mut self, operator: Address, approved: bool) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 163 | | self.is_operator [INFO] [stdout] 164 | | .setter(msg::sender()) [INFO] [stdout] 165 | | .insert(operator, approved); [INFO] [stdout] ... | [INFO] [stdout] 173 | | Ok(true) [INFO] [stdout] 174 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | Ok(true) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:176:67 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn supports_interface(interface: [u8; 4]) -> Result { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 177 | | let supported = interface == 0x01ffc9a7u32.to_be_bytes() // ERC165 Interface ID for ERC165 [INFO] [stdout] 178 | | || interface == 0xb2e69f8au32.to_be_bytes(); // ERC165 Interface ID for ERC6909 [INFO] [stdout] 179 | | Ok(supported) [INFO] [stdout] 180 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | Ok(supported) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | #[external] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `external` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustmate` (lib test) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:90:91 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn transfer(&mut self, receiver: Address, id: U256, amount: U256) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 91 | | let mut from_balance = self.balance_of.setter(msg::sender()); [INFO] [stdout] 92 | | let balance = from_balance.get(id) - amount; [INFO] [stdout] 93 | | from_balance.insert(id, balance); [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(true) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(true) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | ) -> Result { [INFO] [stdout] | _______________________^ [INFO] [stdout] 117 | | if msg::sender() != sender && !self.is_operator.getter(sender).get(msg::sender()) { [INFO] [stdout] 118 | | let allowed = self.allowance.getter(sender).getter(msg::sender()).get(id); [INFO] [stdout] 119 | | if allowed != U256::MAX { [INFO] [stdout] ... | [INFO] [stdout] 143 | | Ok(true) [INFO] [stdout] 144 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | Ok(true) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:146:89 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn approve(&mut self, spender: Address, id: U256, amount: U256) -> Result { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 147 | | self.allowance [INFO] [stdout] 148 | | .setter(msg::sender()) [INFO] [stdout] 149 | | .setter(spender) [INFO] [stdout] ... | [INFO] [stdout] 159 | | Ok(true) [INFO] [stdout] 160 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | Ok(true) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:162:87 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn set_operator(&mut self, operator: Address, approved: bool) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 163 | | self.is_operator [INFO] [stdout] 164 | | .setter(msg::sender()) [INFO] [stdout] 165 | | .insert(operator, approved); [INFO] [stdout] ... | [INFO] [stdout] 173 | | Ok(true) [INFO] [stdout] 174 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | Ok(true) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:176:67 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn supports_interface(interface: [u8; 4]) -> Result { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 177 | | let supported = interface == 0x01ffc9a7u32.to_be_bytes() // ERC165 Interface ID for ERC165 [INFO] [stdout] 178 | | || interface == 0xb2e69f8au32.to_be_bytes(); // ERC165 Interface ID for ERC6909 [INFO] [stdout] 179 | | Ok(supported) [INFO] [stdout] 180 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | Ok(supported) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/tokens/erc6909.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | #[external] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `external` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustmate` (lib) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "dc15ece240e3e36ebb2098f3ac5433dacf65ce21cc102a2f07805bf3bd408883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc15ece240e3e36ebb2098f3ac5433dacf65ce21cc102a2f07805bf3bd408883", kill_on_drop: false }` [INFO] [stdout] dc15ece240e3e36ebb2098f3ac5433dacf65ce21cc102a2f07805bf3bd408883