Skip to content

Instantly share code, notes, and snippets.

View gist:479c460250ed9ead4e0e6631a2535071
2020-06-22T07:22:58.9930522Z error: auxiliary build of "tests/ui/auxiliary/proc_macro_attr.rs" failed to compile:
2020-06-22T07:22:58.9930946Z status: exit code: 1
2020-06-22T07:22:58.9942809Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/clippy-driver" "tests/ui/auxiliary/proc_macro_attr.rs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/clippy-0fb70441c4c18d97/out/test_build_base" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/clippy-0fb70441c4c18d97/out/test_build_base/empty_line_after_outer_attribute.stage-id.aux" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps" "-Dwarnings" "-Zui-testing" "--extern" "clippy_lints=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x8
View gist:94e97e3b5a7ba62f024ce4fda8211bdc
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'generic/sdk/generic:4.3.1/JB_MR2/3876170:eng/test-keys'
Revision: '0'
pid: 278, tid: 877, name: vec::test_try_r >>> /data/tmp/work/test1/collectionstests-8c9066a5b2aa9a17 <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
Abort message: '@@@ ABORTING: invalid address or address of corrupt block 0xb7301030 passed to dlfree'
r0 00000027 r1 b6bd9284 r2 00000000 r3 deadbaad
r4 00000000 r5 b556529c r6 34b84000 r7 b7301038
r8 b72d5c28 r9 b7270b38 sl b72d5c28 fp b5565780
ip b7301038 sp b5565298 lr b6bac4fb pc b6bac524 cpsr 60000030
@Aaron1011
Aaron1011 / bug.rs
Created Jan 10, 2020
Never-type fallback bug
View bug.rs
#![feature(never_type)]
//#![feature(never_type_fallback)]
fn get_type<T>(_: T) -> &'static str {
std::any::type_name::<T>()
}
fn unconstrained_return<T>() -> Result<T, String> {
Err("Hi".to_string())
}
View intrinsic_transmute
[DEBUG rustc::ty::print] default_print_def_path: key=DefKey { parent: Some(DefIndex(924)), disambiguated_data: DisambiguatedDefPathData { data: ValueNs("transmute"), disambiguator: 0 } }
[DEBUG rustc::ty::print::pretty] try_print_visible_def_path: def_id=DefId(2:965 ~ core[5cf2]::intrinsics[0]::[1]::transmute[0])
[DEBUG rustc::ty::print::pretty] try_print_visible_def_path: cur_def_key=DefKey { parent: Some(DefIndex(924)), disambiguated_data: DisambiguatedDefPathData { data: ValueNs("transmute"), disambiguator: 0 } }
[DEBUG rustc::ty::print::pretty] try_print_visible_def_path: def_id=DefId(2:1114 ~ core[5cf2]::mem[0])
[DEBUG rustc::ty::print::pretty] try_print_visible_def_path: cur_def_key=DefKey { parent: Some(DefIndex(0)), disambiguated_data: DisambiguatedDefPathData { data: TypeNs("mem"), disambiguator: 0 } }
[DEBUG rustc::ty::print::pretty] try_print_visible_def_path: def_id=DefId(1:0 ~ std[5758])
[DEBUG rustc::ty::print::pretty] try_print_visible_def_path: def_id=DefId(0:11 ~ bad_intrinsic[317d]::std[0])
View array.rs
#![feature(no_core)]
#![no_std]
#![no_core]
#![feature(fundamental)]
#![feature(lang_items)]
#![feature(optin_builtin_traits)]
trait MyTrait {
fn default() -> Self;
View gist:244ec6c1126e433767e117b7d22186fe
Attempting with retry: docker build --rm -t rust-ci -f /home/aaron/repos/rust/src/ci/docker/dist-x86_64-freebsd/Dockerfile /home/aaron/repos/rust/src/ci/docker
Sending build context to Docker daemon 526.3kB
Step 1/10 : FROM ubuntu:18.04
---> 3556258649b2
Step 2/10 : RUN apt-get update && apt-get install -y --no-install-recommends clang make file curl ca-certificates python2.7 git cmake sudo bzip2 xz-utils wget libssl-dev pkg-config
---> Running in 3a000a4e2cfb
Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:3 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [747 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
View gist:b7521fcd89578fe3e95856af0dc14c4f
2019-02-08 10:38:58
Full thread dump OpenJDK 64-Bit Server VM (25.202-b26 mixed mode):
"Attach Listener" #36 daemon prio=9 os_prio=0 tid=0x00007ffa30001000 nid=0x19df waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"Cache worker for Build Output Cleanup Cache (/home/aaron/repos/sponge/SpongeForge/.gradle/buildOutputCleanup)" #29 prio=5 os_prio=0 tid=0x00007ffa01d77800 nid=0x19b9 waiting on condition [0x00007ffa4c989000]
View gist:f41be09d1be8d5a9864ab5661483702a
2019-02-08 01:43:31
Full thread dump OpenJDK 64-Bit Server VM (25.202-b26 mixed mode):
"Attach Listener" #120 daemon prio=9 os_prio=0 tid=0x00007fe568001000 nid=0x788e waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Cache worker for Build Output Cleanup Cache (/home/aaron/repos/sponge/SpongeForge/.gradle/buildOutputCleanup)" #115 prio=5 os_prio=0 tid=0x00007fe541022800 nid=0x76fd waiting on condition [0x00007fe4ef3fc000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000079de949f0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
View gist:3840ad82ebd3e046887a61f59de0df5c
> Task :compileJava
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':_compileJava_1'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
at
View gist:5328492a0aaa0e036e88d575d8f00ee6
2019-02-05 16:04:28
Full thread dump OpenJDK 64-Bit Server VM (25.202-b26 mixed mode):
"Attach Listener" #151 daemon prio=9 os_prio=0 tid=0x00007fb8d4001000 nid=0x39ca waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Build operations Thread 12" #146 prio=5 os_prio=0 tid=0x00007fb84c03f800 nid=0x344c waiting on condition [0x00007fb89a434000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x0000000791e69cc0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)