[INFO] updating cached repository https://github.com/mgattozzi/oxidizing-the-technical-interview [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b536ec33119b316c2527476541def377c63b14b4 [INFO] checking mgattozzi/oxidizing-the-technical-interview against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgattozzi%2Foxidizing-the-technical-interview" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mgattozzi/oxidizing-the-technical-interview on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mgattozzi/oxidizing-the-technical-interview [INFO] finished tweaking git repo https://github.com/mgattozzi/oxidizing-the-technical-interview [INFO] tweaked toml for git repo https://github.com/mgattozzi/oxidizing-the-technical-interview written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/mgattozzi/oxidizing-the-technical-interview already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "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" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6160cee4682d57a041b4be0a460f61096a2d0bf2c4242acaa6b39f9ece050254 [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" "6160cee4682d57a041b4be0a460f61096a2d0bf2c4242acaa6b39f9ece050254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6160cee4682d57a041b4be0a460f61096a2d0bf2c4242acaa6b39f9ece050254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6160cee4682d57a041b4be0a460f61096a2d0bf2c4242acaa6b39f9ece050254", kill_on_drop: false }` [INFO] [stdout] 6160cee4682d57a041b4be0a460f61096a2d0bf2c4242acaa6b39f9ece050254 [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" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1c57cbe537d3e52f8cd9edd195594739a4d0f21fd883cfb3d0bdbe40bb3a397 [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" "e1c57cbe537d3e52f8cd9edd195594739a4d0f21fd883cfb3d0bdbe40bb3a397", kill_on_drop: false }` [INFO] [stderr] Checking oxidizing-the-interview v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0152]: found duplicate lang item `sized` [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait Sized {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `std` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `freeze` [INFO] [stdout] --> src/main.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | auto trait Freeze {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `std` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `receiver` [INFO] [stdout] --> src/main.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | trait Receiver {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `std` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `index` [INFO] [stdout] --> src/main.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / trait Index { [INFO] [stdout] 57 | | type Output: ?Sized; [INFO] [stdout] 58 | | fn index(&self, index: Idx) -> &Self::Output; [INFO] [stdout] 59 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `std` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `copy` [INFO] [stdout] --> src/main.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | trait Copy: Clone {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `std` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eq` [INFO] [stdout] --> src/main.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / trait PartialEq { [INFO] [stdout] 88 | | fn eq(&self, other: &Rhs) -> bool; [INFO] [stdout] 89 | | fn ne(&self, other: &Rhs) -> bool { [INFO] [stdout] 90 | | !self.eq(other) [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `std` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `partial_ord` [INFO] [stdout] --> src/main.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | / trait PartialOrd: PartialEq { [INFO] [stdout] 95 | | fn partial_cmp(&self, other: &Rhs) -> Option; [INFO] [stdout] 96 | | fn lt(&self, other: &Rhs) -> bool { [INFO] [stdout] 97 | | matches!(self.partial_cmp(other), Some(Less)) [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] 108 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `std` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `not` [INFO] [stdout] --> src/main.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / trait Not { [INFO] [stdout] 111 | | type Output; [INFO] [stdout] 112 | | [INFO] [stdout] 113 | | fn not(self) -> Self::Output; [INFO] [stdout] 114 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `std` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `neg` [INFO] [stdout] --> src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / trait Neg { [INFO] [stdout] 117 | | type Output; [INFO] [stdout] 118 | | fn neg(self) -> Self::Output; [INFO] [stdout] 119 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `std` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `sub` [INFO] [stdout] --> src/main.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | / trait Sub { [INFO] [stdout] 122 | | type Output; [INFO] [stdout] 123 | | fn sub(self, rhs: Rhs) -> Self::Output; [INFO] [stdout] 124 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `std` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `slice` [INFO] [stdout] --> src/main.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | / impl [T] { [INFO] [stdout] 130 | | #[allow(unused_attributes)] [INFO] [stdout] 131 | | #[allow_internal_unstable(const_fn_union)] [INFO] [stdout] 132 | | const fn len(&self) -> usize { [INFO] [stdout] ... | [INFO] [stdout] 142 | | } [INFO] [stdout] 143 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `std` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `const_ptr` [INFO] [stdout] --> src/main.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | / impl *const T { [INFO] [stdout] 147 | | unsafe fn add(self, count: usize) -> Self [INFO] [stdout] 148 | | where [INFO] [stdout] 149 | | T: Sized, [INFO] [stdout] ... | [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `std` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `mut_ptr` [INFO] [stdout] --> src/main.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / impl *mut T { [INFO] [stdout] 163 | | unsafe fn add(self, count: usize) -> *mut T [INFO] [stdout] 164 | | where [INFO] [stdout] 165 | | T: Sized, [INFO] [stdout] ... | [INFO] [stdout] 174 | | } [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `std` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `start` [INFO] [stdout] --> src/main.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | / fn start(main: fn() -> T, _: isize, _: *const *const u8) -> isize { [INFO] [stdout] 265 | | main().report() as isize [INFO] [stdout] 266 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxidizing-the-interview`. [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: internal compiler error: broken MIR in DefId(0:87 ~ oxidizing_the_interview[365e]::{{impl}}[7]::neg[0]) (NoSolution): could not prove Binder(TraitPredicate()) [INFO] [stdout] | [INFO] [stdout] = note: delayed at src/librustc_mir/borrow_check/type_check/mod.rs:258:27 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'no errors encountered even though `delay_span_bug` issued', src/librustc_errors/lib.rs:367:17 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7f7677f5d8d5 - backtrace::backtrace::libunwind::trace::h34afbfad7fd770fc [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stderr] 1: 0x7f7677f5d8d5 - backtrace::backtrace::trace_unsynchronized::h460d522b1619a600 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x7f7677f5d8d5 - std::sys_common::backtrace::_print_fmt::ha45fac10086813b4 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stderr] 3: 0x7f7677f5d8d5 - ::fmt::hde84f63fcfd0e6de [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stderr] 4: 0x7f7677f9ae7c - core::fmt::write::h540ac4a6a1232abc [INFO] [stderr] at src/libcore/fmt/mod.rs:1076 [INFO] [stderr] 5: 0x7f7677f4fd03 - std::io::Write::write_fmt::hc344eafd6e850b4d [INFO] [stderr] at src/libstd/io/mod.rs:1537 [INFO] [stderr] 6: 0x7f7677f628f0 - std::sys_common::backtrace::_print::h4db88ff15cb5d61d [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stderr] 7: 0x7f7677f628f0 - std::sys_common::backtrace::print::h5fc39e1b1f610bd3 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stderr] 8: 0x7f7677f628f0 - std::panicking::default_hook::{{closure}}::h59e55edacb1d974a [INFO] [stderr] at src/libstd/panicking.rs:198 [INFO] [stderr] 9: 0x7f7677f6263c - std::panicking::default_hook::heee4c8016dfbf328 [INFO] [stderr] at src/libstd/panicking.rs:217 [INFO] [stderr] 10: 0x7f7678687633 - rustc_driver::report_ice::h76049a6f226ee6c7 [INFO] [stderr] 11: 0x7f7677f62f9c - std::panicking::rust_panic_with_hook::h8405b6301c79fb5a [INFO] [stderr] at src/libstd/panicking.rs:477 [INFO] [stderr] 12: 0x7f767b18cb1e - std::panicking::begin_panic::he8f93de0053c1998 [INFO] [stderr] 13: 0x7f767b1c0862 - ::drop::h3711f7c2a10defd2 [INFO] [stderr] 14: 0x7f76786e2ac6 - core::ptr::drop_in_place::h2830e23adc655e7a [INFO] [stderr] 15: 0x7f76786eb316 - as core::ops::drop::Drop>::drop::h26114ed6c3ef0921 [INFO] [stderr] 16: 0x7f767870882d - core::ptr::drop_in_place::h8a990daf9d429b2d [INFO] [stderr] 17: 0x7f76786fcbe5 - rustc_span::with_source_map::hd51cdb00f1ade542 [INFO] [stderr] 18: 0x7f767868c238 - rustc_interface::interface::run_compiler_in_existing_thread_pool::h48e988b1c838f60a [INFO] [stderr] 19: 0x7f7678671fdd - scoped_tls::ScopedKey::set::h87c0e807a204a5a9 [INFO] [stderr] 20: 0x7f767868da1a - std::sys_common::backtrace::__rust_begin_short_backtrace::hfbb180f8198592d3 [INFO] [stderr] 21: 0x7f76786694fe - core::ops::function::FnOnce::call_once{{vtable.shim}}::h3e4003c89c3d9855 [INFO] [stderr] 22: 0x7f7677f7278a - as core::ops::function::FnOnce>::call_once::h13d34828db364579 [INFO] [stderr] at /rustc/1557fb031b272b4c5bfcc7de5df7eddc7b36a584/src/liballoc/boxed.rs:1076 [INFO] [stderr] 23: 0x7f7677f7278a - as core::ops::function::FnOnce>::call_once::hd51b619e0f884abf [INFO] [stderr] at /rustc/1557fb031b272b4c5bfcc7de5df7eddc7b36a584/src/liballoc/boxed.rs:1076 [INFO] [stderr] 24: 0x7f7677f7278a - std::sys::unix::thread::Thread::new::thread_start::h02c6e34c2c73f344 [INFO] [stderr] at src/libstd/sys/unix/thread.rs:87 [INFO] [stderr] 25: 0x7f7677eb4609 - start_thread [INFO] [stderr] 26: 0x7f7677dc8103 - __clone [INFO] [stderr] 27: 0x0 - [INFO] [stderr] [INFO] [stderr] error: internal compiler error: unexpected panic [INFO] [stderr] [INFO] [stderr] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports [INFO] [stderr] [INFO] [stderr] note: rustc 1.46.0-nightly (1557fb031 2020-06-23) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 --crate-type bin [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] end of query stack [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e1c57cbe537d3e52f8cd9edd195594739a4d0f21fd883cfb3d0bdbe40bb3a397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1c57cbe537d3e52f8cd9edd195594739a4d0f21fd883cfb3d0bdbe40bb3a397", kill_on_drop: false }` [INFO] [stdout] e1c57cbe537d3e52f8cd9edd195594739a4d0f21fd883cfb3d0bdbe40bb3a397