[INFO] fetching crate orml-oracle 0.1.1... [INFO] checking orml-oracle-0.1.1 against try#d990716b6a1fdde1300748828a9c9e79dfd0b898 for pr-74846 [INFO] extracting crate orml-oracle 0.1.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate orml-oracle 0.1.1 on toolchain d990716b6a1fdde1300748828a9c9e79dfd0b898 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate orml-oracle 0.1.1 [INFO] finished tweaking crates.io crate orml-oracle 0.1.1 [INFO] tweaked toml for crates.io crate orml-oracle 0.1.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4deba97d1fb6a414da8e721a1ee7e6be5a6438e507c43008a7eff3bec8e1cbc7 [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" "4deba97d1fb6a414da8e721a1ee7e6be5a6438e507c43008a7eff3bec8e1cbc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4deba97d1fb6a414da8e721a1ee7e6be5a6438e507c43008a7eff3bec8e1cbc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4deba97d1fb6a414da8e721a1ee7e6be5a6438e507c43008a7eff3bec8e1cbc7", kill_on_drop: false }` [INFO] [stdout] 4deba97d1fb6a414da8e721a1ee7e6be5a6438e507c43008a7eff3bec8e1cbc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1217f567416cf2e4f8028a5794ee031e674f351cdc4478b2930122518f78a364 [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" "1217f567416cf2e4f8028a5794ee031e674f351cdc4478b2930122518f78a364", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking orml-traits v0.1.1 [INFO] [stderr] Checking orml-utilities v0.1.1 [INFO] [stderr] Checking orml-oracle v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self as system` [INFO] [stdout] --> src/lib.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | use frame_system::{self as system, ensure_none, ensure_root, ensure_signed}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'sp_api_hidden_includes_decl_storage::hidden_include::weights::FunctionOf': Function arguments are available directly inside the annotation now. [INFO] [stdout] --> src/lib.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | weights::{DispatchClass, FunctionOf, Pays}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'sp_api_hidden_includes_decl_storage::hidden_include::weights::FunctionOf': Function arguments are available directly inside the annotation now. [INFO] [stdout] --> src/lib.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | weights::{DispatchClass, FunctionOf, Pays}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'sp_api_hidden_includes_decl_storage::hidden_include::weights::FunctionOf': Function arguments are available directly inside the annotation now. [INFO] [stdout] --> src/lib.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | #[weight = FunctionOf(0, DispatchClass::Operational, Pays::No)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/mock.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sp_core::H256; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `sp_application_crypto::sp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self as system` [INFO] [stdout] --> src/lib.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | use frame_system::{self as system, ensure_none, ensure_root, ensure_signed}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'sp_api_hidden_includes_decl_storage::hidden_include::weights::FunctionOf': Function arguments are available directly inside the annotation now. [INFO] [stdout] --> src/lib.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | weights::{DispatchClass, FunctionOf, Pays}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'sp_api_hidden_includes_decl_storage::hidden_include::weights::FunctionOf': Function arguments are available directly inside the annotation now. [INFO] [stdout] --> src/lib.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | weights::{DispatchClass, FunctionOf, Pays}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'sp_api_hidden_includes_decl_storage::hidden_include::weights::FunctionOf': Function arguments are available directly inside the annotation now. [INFO] [stdout] --> src/lib.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | #[weight = FunctionOf(0, DispatchClass::Operational, Pays::No)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `BaseCallFilter`, `SystemWeightInfo` [INFO] [stdout] --> src/mock.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | impl frame_system::Trait for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `BaseCallFilter`, `SystemWeightInfo` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type BaseCallFilter = Type;` [INFO] [stdout] = help: implement the missing item: `type SystemWeightInfo = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `NONE` found for struct `mock::Origin` in the current scope [INFO] [stdout] --> src/tests.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | Ok(ModuleOracle::feed_values(Origin::NONE, values, index, sig)) [INFO] [stdout] | ^^^^ associated item not found in `mock::Origin` [INFO] [stdout] | [INFO] [stdout] ::: src/mock.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / impl_outer_origin! { [INFO] [stdout] 15 | | pub enum Origin for Test {} [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- associated item `NONE` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ROOT` found for struct `mock::Origin` in the current scope [INFO] [stdout] --> src/tests.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | Origin::ROOT, [INFO] [stdout] | ^^^^ associated item not found in `mock::Origin` [INFO] [stdout] | [INFO] [stdout] ::: src/mock.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / impl_outer_origin! { [INFO] [stdout] 15 | | pub enum Origin for Test {} [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- associated item `ROOT` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mock.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / impl_outer_dispatch! { [INFO] [stdout] 19 | | pub enum Call for Test where origin: Origin { [INFO] [stdout] 20 | | oracle::ModuleOracle, [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ expected `()`, found enum `mock::Call` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&()` [INFO] [stdout] found reference `&mock::Call` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `orml-oracle`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "1217f567416cf2e4f8028a5794ee031e674f351cdc4478b2930122518f78a364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1217f567416cf2e4f8028a5794ee031e674f351cdc4478b2930122518f78a364", kill_on_drop: false }` [INFO] [stdout] 1217f567416cf2e4f8028a5794ee031e674f351cdc4478b2930122518f78a364