{"action":"opened","issue":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/4382","repository_url":"https://api.github.com/repos/realm/realm-cocoa","labels_url":"https://api.github.com/repos/realm/realm-cocoa/issues/4382/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-cocoa/issues/4382/comments","events_url":"https://api.github.com/repos/realm/realm-cocoa/issues/4382/events","html_url":"https://github.com/realm/realm-cocoa/issues/4382","id":192125993,"number":4382,"title":"CI occasionally fails with '*.pcm is out of date and needs to be rebuilt'","user":{"login":"jpsim","id":474794,"avatar_url":"https://avatars.githubusercontent.com/u/474794?v=3","gravatar_id":"","url":"https://api.github.com/users/jpsim","html_url":"https://github.com/jpsim","followers_url":"https://api.github.com/users/jpsim/followers","following_url":"https://api.github.com/users/jpsim/following{/other_user}","gists_url":"https://api.github.com/users/jpsim/gists{/gist_id}","starred_url":"https://api.github.com/users/jpsim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpsim/subscriptions","organizations_url":"https://api.github.com/users/jpsim/orgs","repos_url":"https://api.github.com/users/jpsim/repos","events_url":"https://api.github.com/users/jpsim/events{/privacy}","received_events_url":"https://api.github.com/users/jpsim/received_events","type":"User","site_admin":false},"labels":[{"id":154681002,"url":"https://api.github.com/repos/realm/realm-cocoa/labels/S:Idea%20Backlog","name":"S:Idea Backlog","color":"dedede","default":false},{"id":155495270,"url":"https://api.github.com/repos/realm/realm-cocoa/labels/T:Test","name":"T:Test","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-28T21:47:38Z","updated_at":"2016-11-28T21:47:38Z","closed_at":null,"body":"Example compiler output:\r\n\r\n```\r\nCompileC build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/Objects-normal/x86_64/DynamicTests.o Realm/Tests/DynamicTests.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n    cd /Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos\r\n    export LANG=en_US.US-ASCII\r\n    export PATH=\"/Applications/Xcode-7.3.1.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/usr/bin:/Applications/Xcode-7.3.1.app/Contents/Developer/usr/bin:/usr/libexec:/usr/libexec:/usr/libexec:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/realm/.gems/bin\"\r\n    /Applications/Xcode-7.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Werror-implicit-function-declaration -Wno-missing-field-initializers -Wmissing-prototypes -Werror=return-type -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wunused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wunknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wassign-enum -Wsign-compare -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DREALM_HAVE_CONFIG -DREALM_ENABLE_SYNC -D__ASSERTMACROS__ -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode-7.3.1.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator9.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mtvos-simulator-version-min=9.0 -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/Tests-generated-files.hmap -I/Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/Tests-own-target-headers.hmap -I/Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/Tests-all-non-framework-target-headers.hmap -ivfsoverlay /Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/all-product-headers.yaml -iquote /Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/Tests-project-headers.hmap -I/Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Products/Release-appletvsimulator/include -IRealm/ObjectStore/src -I/Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/DerivedSources/x86_64 -I/Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/DerivedSources -Wmismatched-tags -Wunused-private-field -F/Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Products/Release-appletvsimulator -F/Applications/Xcode-7.3.1.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/Library/Frameworks -fobjc-arc-exceptions -include /Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/PrecompiledHeaders/RLMPrefix-dikklptpkmwccafizihzrdsjzovu/RLMPrefix.h -MMD -MT dependencies -MF /Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/Objects-normal/x86_64/DynamicTests.d --serialize-diagnostics /Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/Objects-normal/x86_64/DynamicTests.dia -c /Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/Realm/Tests/DynamicTests.m -o /Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/Objects-normal/x86_64/DynamicTests.o\r\nfatal error: module file '/Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/ModuleCache/3GI7P3VBFYPML/Foundation-1HZ7QJ525HYYH.pcm' is out of date and needs to be rebuilt\r\nnote: imported by '/Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/PrecompiledHeaders/RLMPrefix-dikklptpkmwccafizihzrdsjzovu/RLMPrefix.h.pch'\r\n1 error generated.\r\n\r\nCompileC build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/Objects-normal/x86_64/EnumeratorTests.o Realm/Tests/EnumeratorTests.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n    cd /Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos\r\n    export LANG=en_US.US-ASCII\r\n    export PATH=\"/Applications/Xcode-7.3.1.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/usr/bin:/Applications/Xcode-7.3.1.app/Contents/Developer/usr/bin:/usr/libexec:/usr/libexec:/usr/libexec:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/realm/.gems/bin\"\r\n    /Applications/Xcode-7.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Werror-implicit-function-declaration -Wno-missing-field-initializers -Wmissing-prototypes -Werror=return-type -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wunused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wunknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wassign-enum -Wsign-compare -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DREALM_HAVE_CONFIG -DREALM_ENABLE_SYNC -D__ASSERTMACROS__ -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode-7.3.1.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator9.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mtvos-simulator-version-min=9.0 -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/Tests-generated-files.hmap -I/Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/Tests-own-target-headers.hmap -I/Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/Tests-all-non-framework-target-headers.hmap -ivfsoverlay /Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/all-product-headers.yaml -iquote /Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/Tests-project-headers.hmap -I/Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Products/Release-appletvsimulator/include -IRealm/ObjectStore/src -I/Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/DerivedSources/x86_64 -I/Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/DerivedSources -Wmismatched-tags -Wunused-private-field -F/Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Products/Release-appletvsimulator -F/Applications/Xcode-7.3.1.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/Library/Frameworks -fobjc-arc-exceptions -fobjc-arc-exceptions -include /Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/PrecompiledHeaders/RLMPrefix-bojxkeanjznvltboneripksbuxag/RLMPrefix.h -MMD -MT dependencies -MF /Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/Objects-normal/x86_64/EnumeratorTests.d --serialize-diagnostics /Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/Objects-normal/x86_64/EnumeratorTests.dia -c /Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/Realm/Tests/EnumeratorTests.m -o /Users/realm/workspace/objc_pr/configuration/Release/swift_version/2.2/target/tvos/build/DerivedData/Realm/Build/Intermediates/Realm.build/Release-appletvsimulator/Tests.build/Objects-normal/x86_64/EnumeratorTests.o\r\n```\r\n\r\nLink: https://ci.realm.io/job/objc_pr/4373/configuration=Release,swift_version=2.2,target=tvos/console\r\n\r\nIf I had to guess, I'd say this happens about once ever ~500 builds.\r\n\r\nMaybe something for @larkost to investigate in his spare time? Not super pressing."}}
{"actor":{"display_login":"jpsim"}}