[INFO] fetching crate drone-core 0.12.1... [INFO] checking drone-core-0.12.1 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate drone-core 0.12.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate drone-core 0.12.1 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate drone-core 0.12.1 [INFO] finished tweaking crates.io crate drone-core 0.12.1 [INFO] tweaked toml for crates.io crate drone-core 0.12.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5e701c9c68a9f3f2feac25f539fccbc15e0b2c8cf80606d12f8519a51a6eca3 [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" "b5e701c9c68a9f3f2feac25f539fccbc15e0b2c8cf80606d12f8519a51a6eca3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5e701c9c68a9f3f2feac25f539fccbc15e0b2c8cf80606d12f8519a51a6eca3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5e701c9c68a9f3f2feac25f539fccbc15e0b2c8cf80606d12f8519a51a6eca3", kill_on_drop: false }` [INFO] [stdout] b5e701c9c68a9f3f2feac25f539fccbc15e0b2c8cf80606d12f8519a51a6eca3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2482d129a9f6e2ed9031d4663148981bb89fe9c5c73e53bb1116e47afc1ea466 [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" "2482d129a9f6e2ed9031d4663148981bb89fe9c5c73e53bb1116e47afc1ea466", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking drone-core v0.12.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `core::alloc::AllocErr`, `core::alloc::AllocInit`, `core::alloc::MemoryBlock`, `core::alloc::ReallocPlacement` [INFO] [stdout] --> src/heap/allocator.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | alloc::{AllocErr, AllocInit, Layout, MemoryBlock, ReallocPlacement}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `ReallocPlacement` in `alloc` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `MemoryBlock` in `alloc` [INFO] [stdout] | | no `AllocInit` in `alloc` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> src/ffi/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use std::collections::hash_map::DefaultHasher; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> src/sync/mutex.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | use std::{ [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `core::alloc::AllocErr`, `core::alloc::AllocInit`, `core::alloc::MemoryBlock`, `core::alloc::ReallocPlacement` [INFO] [stdout] --> src/heap/allocator.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | alloc::{AllocErr, AllocInit, Layout, MemoryBlock, ReallocPlacement}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `ReallocPlacement` in `alloc` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `MemoryBlock` in `alloc` [INFO] [stdout] | | no `AllocInit` in `alloc` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> src/sync/rwlock.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | use std::sync::{ [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std` [INFO] [stdout] --> src/sync/mutex.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | use std::{ [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/ffi/mod.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | assert!(CString::new(vec![0]).is_err()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/ffi/mod.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | let s = CString::from_vec_unchecked(vec![0]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/ffi/mod.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!(format!("{:?}", s), r#""abc\x01\x02\n\xe2\x80\xa6\xff""#); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/ffi/mod.rs:94:76 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(CStr::from_ptr(ptr).to_string_lossy(), Owned::(format!("123\u{FFFD}"))); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefaultHasher` [INFO] [stdout] --> src/ffi/mod.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let mut s = DefaultHasher::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DefaultHasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefaultHasher` [INFO] [stdout] --> src/ffi/mod.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | let mut s = DefaultHasher::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DefaultHasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering` [INFO] [stdout] --> src/sync/mutex.rs:227:37 [INFO] [stdout] | [INFO] [stdout] 227 | self.0.fetch_add(1, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ordering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering` [INFO] [stdout] --> src/sync/mutex.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | assert_eq!(num_drops.load(Ordering::SeqCst), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ordering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering` [INFO] [stdout] --> src/sync/mutex.rs:235:39 [INFO] [stdout] | [INFO] [stdout] 235 | assert_eq!(num_drops.load(Ordering::SeqCst), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ordering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering` [INFO] [stdout] --> src/sync/mutex.rs:237:35 [INFO] [stdout] | [INFO] [stdout] 237 | assert_eq!(num_drops.load(Ordering::SeqCst), 1); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ordering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering` [INFO] [stdout] --> src/sync/rwlock.rs:327:37 [INFO] [stdout] | [INFO] [stdout] 327 | self.0.fetch_add(1, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ordering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering` [INFO] [stdout] --> src/sync/rwlock.rs:332:35 [INFO] [stdout] | [INFO] [stdout] 332 | assert_eq!(num_drops.load(Ordering::SeqCst), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ordering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering` [INFO] [stdout] --> src/sync/rwlock.rs:335:39 [INFO] [stdout] | [INFO] [stdout] 335 | assert_eq!(num_drops.load(Ordering::SeqCst), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ordering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering` [INFO] [stdout] --> src/sync/rwlock.rs:337:35 [INFO] [stdout] | [INFO] [stdout] 337 | assert_eq!(num_drops.load(Ordering::SeqCst), 1); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ordering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/sync/mutex.rs:224:20 [INFO] [stdout] | [INFO] [stdout] 224 | struct Foo(Arc); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 197 | use alloc::sync::Arc; [INFO] [stdout] | [INFO] [stdout] 197 | use crate::sync::spsc::ring::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AtomicUsize` in this scope [INFO] [stdout] --> src/sync/mutex.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | struct Foo(Arc); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 197 | use core::sync::atomic::AtomicUsize; [INFO] [stdout] | [INFO] [stdout] 197 | use crate::sync::rwlock::AtomicUsize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/sync/mutex.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | let num_drops = Arc::new(AtomicUsize::new(0)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 197 | use alloc::sync::Arc; [INFO] [stdout] | [INFO] [stdout] 197 | use crate::sync::spsc::ring::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AtomicUsize` [INFO] [stdout] --> src/sync/mutex.rs:230:34 [INFO] [stdout] | [INFO] [stdout] 230 | let num_drops = Arc::new(AtomicUsize::new(0)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 197 | use core::sync::atomic::AtomicUsize; [INFO] [stdout] | [INFO] [stdout] 197 | use crate::sync::rwlock::AtomicUsize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/sync/mutex.rs:249:19 [INFO] [stdout] | [INFO] [stdout] 249 | let arc = Arc::new(Mutex::new(1)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 197 | use alloc::sync::Arc; [INFO] [stdout] | [INFO] [stdout] 197 | use crate::sync::spsc::ring::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/sync/mutex.rs:250:20 [INFO] [stdout] | [INFO] [stdout] 250 | let arc2 = Arc::new(Mutex::new(arc)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 197 | use alloc::sync::Arc; [INFO] [stdout] | [INFO] [stdout] 197 | use crate::sync::spsc::ring::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `channel` in this scope [INFO] [stdout] --> src/sync/mutex.rs:251:24 [INFO] [stdout] | [INFO] [stdout] 251 | let (tx, rx) = channel(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 197 | use crate::sync::spsc::oneshot::channel; [INFO] [stdout] | [INFO] [stdout] 197 | use crate::sync::spsc::pulse::channel; [INFO] [stdout] | [INFO] [stdout] 197 | use crate::sync::spsc::ring::channel; [INFO] [stdout] | [INFO] [stdout] 197 | use futures::channel::oneshot::channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/sync/rwlock.rs:324:20 [INFO] [stdout] | [INFO] [stdout] 324 | struct Foo(Arc); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 281 | use alloc::sync::Arc; [INFO] [stdout] | [INFO] [stdout] 281 | use crate::sync::spsc::ring::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AtomicUsize` in this scope [INFO] [stdout] --> src/sync/rwlock.rs:324:24 [INFO] [stdout] | [INFO] [stdout] 324 | struct Foo(Arc); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 281 | use core::sync::atomic::AtomicUsize; [INFO] [stdout] | [INFO] [stdout] 281 | use crate::sync::rwlock::AtomicUsize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/sync/rwlock.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | let num_drops = Arc::new(AtomicUsize::new(0)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 281 | use alloc::sync::Arc; [INFO] [stdout] | [INFO] [stdout] 281 | use crate::sync::spsc::ring::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AtomicUsize` [INFO] [stdout] --> src/sync/rwlock.rs:330:34 [INFO] [stdout] | [INFO] [stdout] 330 | let num_drops = Arc::new(AtomicUsize::new(0)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 281 | use core::sync::atomic::AtomicUsize; [INFO] [stdout] | [INFO] [stdout] 281 | use crate::sync::rwlock::AtomicUsize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lang_items.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | fn begin_panic(pi: &PanicInfo<'_>) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e22d1f9053c0fc87629b3c6d5d9567856368e5d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7edd956e9d8d05ea.rlib [INFO] [stdout] = note: second definition in the local crate (`drone_core`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `oom` [INFO] [stdout] --> src/lang_items.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | fn oom(layout: Layout) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e22d1f9053c0fc87629b3c6d5d9567856368e5d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7edd956e9d8d05ea.rlib [INFO] [stdout] = note: second definition in the local crate (`drone_core`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant expression depends on a generic parameter [INFO] [stdout] --> src/inventory.rs:301:40 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn $share(self) -> (Inventory, $(Token<$share_token>),*) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | / define_methods! { [INFO] [stdout] 319 | | share1 1 => T; [INFO] [stdout] 320 | | share2 2 => T T; [INFO] [stdout] 321 | | share3 3 => T T T; [INFO] [stdout] ... | [INFO] [stdout] 335 | | merge8 8 => a b c d e f g h; [INFO] [stdout] 336 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this may fail depending on what value the parameter takes [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: constant expression depends on a generic parameter [INFO] [stdout] --> src/inventory.rs:309:69 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn $merge(self, $($merge_token: Token,)*) -> Inventory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | / define_methods! { [INFO] [stdout] 319 | | share1 1 => T; [INFO] [stdout] 320 | | share2 2 => T T; [INFO] [stdout] 321 | | share3 3 => T T T; [INFO] [stdout] ... | [INFO] [stdout] 335 | | merge8 8 => a b c d e f g h; [INFO] [stdout] 336 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this may fail depending on what value the parameter takes [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `drone-core` [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: constant expression depends on a generic parameter [INFO] [stdout] --> src/inventory.rs:301:40 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn $share(self) -> (Inventory, $(Token<$share_token>),*) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | / define_methods! { [INFO] [stdout] 319 | | share1 1 => T; [INFO] [stdout] 320 | | share2 2 => T T; [INFO] [stdout] 321 | | share3 3 => T T T; [INFO] [stdout] ... | [INFO] [stdout] 335 | | merge8 8 => a b c d e f g h; [INFO] [stdout] 336 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this may fail depending on what value the parameter takes [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: constant expression depends on a generic parameter [INFO] [stdout] --> src/inventory.rs:309:69 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn $merge(self, $($merge_token: Token,)*) -> Inventory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | / define_methods! { [INFO] [stdout] 319 | | share1 1 => T; [INFO] [stdout] 320 | | share2 2 => T T; [INFO] [stdout] 321 | | share3 3 => T T T; [INFO] [stdout] ... | [INFO] [stdout] 335 | | merge8 8 => a b c d e f g h; [INFO] [stdout] 336 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this may fail depending on what value the parameter takes [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 34 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2482d129a9f6e2ed9031d4663148981bb89fe9c5c73e53bb1116e47afc1ea466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2482d129a9f6e2ed9031d4663148981bb89fe9c5c73e53bb1116e47afc1ea466", kill_on_drop: false }` [INFO] [stdout] 2482d129a9f6e2ed9031d4663148981bb89fe9c5c73e53bb1116e47afc1ea466